<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="131532" data-post-id="131532">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="antoniobg" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/antoniobg/120/8017_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  antoniobg
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Getting the same issue using ExAWS and SQS. We just migrated our app from Heroku (Elixir 1.7.4 OTP 20.3) to AWS, upgrading at the same time the OTP version to 21.3 keeping the same Elixir version.  We never saw this issue on Heroku.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="131532" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/genstage-unexpected-ssl-closed-message/9688/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-131532" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="131532"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="131533" data-post-id="131533">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="outlog" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  outlog
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>21.3 also had a ssl bug.. please try with latest patch release.. eg 21.3.8.3</p>
<p>you didn’t see it on heroku as you were using OTP 20.3</p>
<aside class="quote quote-modified" data-post="1" data-topic="20965">
  <div class="title">
    <div class="quote-controls"></div>
    <img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/48.png" class="avatar">
    <div class="quote-title__text-content">
      <a href="https://forum.elixirforum.com/t/why-am-i-getting-bad-action-from-state-function-error/20965" rel="nofollow">Why am I getting ‘:bad_action_from_state_function’ error?</a> <a class="badge-category__wrapper " href="/c/questions-help/questions/53" rel="nofollow"><span data-category-id="53" style="--category-badge-color: #C14BFB; --category-badge-text-color: #000000; --parent-category-badge-color: #C14BFB;" data-parent-category-id="171" data-drop-close="true" class="badge-category --style-square --has-parent" title="Elixir Questions / Help"><span class="badge-category__name">Questions</span></span></a>
    </div>
  </div>
  <blockquote>
    Erlang error: {:bad_action_from_state_function, {:reply, :undefined, {:error, :timeout}}}

I’m seeing this sporadic error lately in our error reporting, but not in stdout. Here’s the backtrace (and all I know about it): 
(stdlib) gen_statem.erl:1290: :gen_statem.parse_actions_reply/7 
(stdlib) gen_statem.erl:1206: :gen_statem.loop_event_actions_list/10 
(ssl) tls_connection.erl:133: :tls_connection.init/1 
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3 
Has anyone seen this, too? 
On a s…
  </blockquote>
</aside>
 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="131533" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/genstage-unexpected-ssl-closed-message/9688/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-131533" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="131533"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="132549" data-post-id="132549">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="antoniobg" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/antoniobg/120/8017_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  antoniobg
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thank you for the answer <a class="mention" href="/u/outlog" rel="nofollow">@outlog</a>. We have upgraded OTP to 21.3.8.3 but we’re still seeing the issue.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="132549" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/genstage-unexpected-ssl-closed-message/9688/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-132549" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="132549"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="132554" data-post-id="132554">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="outlog" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  outlog
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/antoniobg" rel="nofollow">@antoniobg</a> seems like it’s tracked here: <a href="https://github.com/benoitc/hackney/issues/464" class="inline-onebox" rel="noopener nofollow ugc">unhandled `{ssl_closed, _}` message when using `async` · Issue #464 · benoitc/hackney · GitHub</a> - and that there is a current workaround of implementing<br>
<code>def handle_info({:ssl_closed, _msg}, state), do: {:noreply, state}</code></p>
<p>you could also consider using a different http client say HTTPotion:</p>
<aside class="onebox allowlistedgeneric" data-onebox-src="https://ex-aws.hexdocs.pm/ExAws.Request.HttpClient.html">
  <header class="source">

      <a href="https://ex-aws.hexdocs.pm/ExAws.Request.HttpClient.html" target="_blank" rel="noopener nofollow ugc">ex-aws.hexdocs.pm</a>
  </header>

  <article class="onebox-body">
    

<h3><a href="https://ex-aws.hexdocs.pm/ExAws.Request.HttpClient.html" target="_blank" rel="noopener nofollow ugc">ExAws.Request.HttpClient — ExAws v2.7.0</a></h3>



  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>
 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="132554" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/genstage-unexpected-ssl-closed-message/9688/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-132554" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="132554"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="173974" data-post-id="173974">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="amarandon" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/amarandon/120/37133_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  amarandon
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/adamkittelson" rel="nofollow">@adamkittelson</a> <a class="mention" href="/u/chulkilee" rel="nofollow">@chulkilee</a></p>
<p>I’ve added a catch-all handle_info to my GenServer which calls HTTPoison functions, as suggested in the previous message, but I’m still getting the error. Did you put this in your GenServer or somewhere else?</p>
<p>I’m not sure if I did it properly though because I don’t really understand what’s going on.  What is a “message leak”?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="173974" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/genstage-unexpected-ssl-closed-message/9688/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-173974" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="173974"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #15"></div>
  </section>
</div>
    <div class="postbit" id="174800" data-post-id="174800">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="chulkilee" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/chulkilee/120/6207_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  chulkilee
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/amarandon" rel="nofollow">@amarandon</a> could you make sure you added  <code>handle_info</code> callback where you call those libraries (and thus start a process from it)?</p>
<ul>
<li>Process A calls HTTP lib func (e.g. HTTPoison or Tesla) synchronously</li>
<li>HTTP lib func behind the scene starts a process B to handle HTTP connection</li>
<li>When HTTP request is completed… HTTP lib func returns the result (in process A)</li>
</ul>
<p>The problem is, for some reason process B (which should be hidden from process A point of view) sends those messages to process A - so it’s “leaking”.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="174800" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/genstage-unexpected-ssl-closed-message/9688/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-174800" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="174800"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>