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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>not really, just that if the app is not in the list of apps that is started, the config is pruned. so it needs to be a name of an app that is started, not a random atom that you pass in the <code>use Snowflex</code> macro.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="316045" 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/connection-to-snowflake-from-phoenix-app/61287/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-316045" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="316045"
                     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="316046" data-post-id="316046">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="killerkiara" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/killerkiara/120/29753_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  killerkiara
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/cevado" rel="nofollow">@cevado</a>, no I am using the real name of the app that it is started in the real config. Those are just placeholder values.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="316046" 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/connection-to-snowflake-from-phoenix-app/61287/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-316046" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="316046"
                     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="316085" data-post-id="316085">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi! I’m afraid this won’t be too helpful, but let’s see:</p>
<blockquote>
<p>I have looked extensively, but did not find any similar error</p>
</blockquote>
<p>Yes, the errors are difficult to read/reason about (we had some connection errors that would not allow re-connecting, so eventually the machine would just die). We were only able to prove that it happened by attaching a connection listener to the connection and cross referencing the logs in the odbc driver. Once a connection died it would not come back up.</p>
<p>As far as your issue:</p>
<blockquote>
<p>Unixodbc 2.3.12 (installed through Homebrew following the Snowflex readme).</p>
</blockquote>
<p>I’d check the snowflake docs (not the library’s) to make sure you have the correct ODBC driver installed: <a href="https://docs.snowflake.com/en/developer-guide/odbc/odbc" class="inline-onebox" rel="noopener nofollow ugc">ODBC Driver | Snowflake Documentation</a></p>
<p>This is the best hunch I have at the moment <img src="https://forum.elixirforum.com/images/emoji/apple/frowning.png?v=15" title=":frowning:" class="emoji" alt=":frowning:" loading="lazy" width="20" height="20"> I say this because a lot has changed with the M1 and maybe that’s the issue? Maybe the version is not the right one? I’d check that first.</p>
<p>I’d open an issue on the Snowflex repo as well, as I bet the folks using it maybe have seen this issue before and know exactly how to handle it. The M1 has been around for a while now, I’m sure some folks that are using this have seen it before.</p>
<h3><a name="p-316085-general-thoughts-on-odbc-1" class="anchor" href="#p-316085-general-thoughts-on-odbc-1" aria-label="Heading link" rel="nofollow"></a>General thoughts on odbc</h3>
<p>The ODBC route was difficult to use after a while. I’m not a fan of “here is a suggestion that changes all of your current workflow”. BUT, I was part of a project that dealt with this problem before and the result was moving away from odbc (last code commit in the erlang file was in 2010) and started using Snowflake’s api.</p>
<p>We have <a href="https://github.com/HGInsights/avalanche" class="inline-onebox" rel="noopener nofollow ugc">GitHub - HGInsights/avalanche: Avalanche is an Elixir Snowflake Connector built on top of the Snowflake SQL API v2. · GitHub</a> and even telemetry for it: <a href="https://github.com/HGInsights/opentelemetry_avalanche" class="inline-onebox" rel="noopener nofollow ugc">GitHub - HGInsights/opentelemetry_avalanche: Telemetry handler that creates OpenTelemetry spans from Avalanche (Snowflake) query events. · GitHub</a>. Ever since the switch, it became a non-issue, we don’t talk about this anymore <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="316085" 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/connection-to-snowflake-from-phoenix-app/61287/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-316085" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="316085"
                     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="316149" data-post-id="316149">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="killerkiara" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/killerkiara/120/29753_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  killerkiara
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hey <a class="mention" href="/u/pdgonzalez872" rel="nofollow">@pdgonzalez872</a>,<br>
thanks a lot for your reply, I think it is helping more than you could imagine.<br>
There is a lot of insights, especially your thoughts and considerations on ODBC.</p>
<p>As this is not a requirement, I will gladly follow your suggestion and try out a setup using Avalanche.</p>
<p>I had planned to open an issue on the Snowflex repo, it might still be useful for others who cannot choose the non-ODBC route.</p>
<p>Thanks a lot!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="316149" 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/connection-to-snowflake-from-phoenix-app/61287/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-316149" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="316149"
                     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>