Hi,<br><br>After upgrading to R14B03 I got these errors:<br><br>=ERROR REPORT==== 27-May-2011::13:48:25 ===<br>Error in process <0.10933.0> on node 'mynodename' with exit value: {undef,[{ssl_session_cache,delete,[{{"remotehost",995},<<32 bytes>>}]}]}<br>
<br><br><br>The problem seems to be this recently modified part of the ssl_manager:<br><br><span style="font-family: courier new,monospace;">handle_cast({invalidate_session, Host, Port, </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">           #session{session_id = ID} = Session},</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">           #state{session_cache = Cache,</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">                 session_cache_cb = CacheCb} = State) -></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    CacheCb:update(Cache, {{Host, Port}, ID}, Session#session{is_resumable = false}),</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">>>> timer:apply_after(?CLEAN_SESSION_DB, CacheCb, delete, [{{Host, Port}, ID}]), <<<</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    {noreply, State};</span><br>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">handle_cast({invalidate_session, Port, #session{session_id = ID} = Session},</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">          #state{session_cache = Cache,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">                   session_cache_cb = CacheCb} = State) -></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    CacheCb:update(Cache, {Port, ID}, Session#session{is_resumable = false}),</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">>>> timer:apply_after(?CLEAN_SESSION_DB, CacheCb, delete, [{Port, ID}]), <<<</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    {noreply, State};</span><br><br><br>One issue is a typo : missing the Cache from the arguments expected in ssl_session_cache:delete(Cache,Key)<br>Other one is the timer:appy which creates a new timer process and would fail to access the protected table from it<br>
<br>This fix works in my environment:<br><br><span style="font-family: courier new,monospace;">handle_cast({invalidate_session, Host, Port,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">         #session{session_id = ID} = Session},</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        #state{session_cache = Cache,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">           session_cache_cb = CacheCb} = State) -></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    CacheCb:update(Cache, {{Host, Port}, ID}, Session#session{is_resumable = false}),</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    timer:send_after(?CLEAN_SESSION_DB, self(), {delayed_clean_session, {{Host, Port}, ID}}),</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    {noreply, State};</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">handle_cast({invalidate_session, Port, #session{session_id = ID} = Session},</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        #state{session_cache = Cache,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">           session_cache_cb = CacheCb} = State) -></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    CacheCb:update(Cache, {Port, ID}, Session#session{is_resumable = false}),</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    timer:send_after(?CLEAN_SESSION_DB, self(), {delayed_clean_session, {Port, ID}}),</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    {noreply, State};</span><br style="font-family: courier new,monospace;"><br><br><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">%% additional handle_info for delayed session cleaning</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">handle_info({delayed_clean_session, Key}, #state{session_cache = Cache,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">                    session_cache_cb = CacheCb</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">                    } = State) -></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    CacheCb:delete(Cache, Key),</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    {noreply, State};</span><br><br><br>Kind Regards,<br>Ferenc<br>