-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Redirect TCP connection closes every 2 minutes #150
Comments
Updated original issue with more information. Could this be a TDS issue or Azure SQL closing the connection? |
Does TDS need to anything for Connectivity from within Azure?
|
When the Azure container is connected to the SQL server using the Redirect connection policy, it doesn't need the connection on port 1433. It uses the other port in range of 11000-11999 to communicate with the database. When the connection on port 1433 closes, a process gets terminated that also closes the connection on port 11000. TDS in
|
Found similar issue #109 (comment) |
@user20230119 any news on this one? |
My Dockerfile patches |
Does anyone know why I'm getting these tcp_closed errors on Azure? If I set the pool_size to 1, the connection closes about every 2 minutes.
I have the same Docker container running on my local and on Azure.
The local container only connects to 1433.
The Azure container connects to 1433 and another port (example 11061) on an Azure SQL IP.
On my local, traffic on both ports are constant every couple of seconds.
The packet length from 1433 to my local alternates between 103 and 81.
On the Azure container, traffic on the random port is constant every couple of seconds and the TCP traffic on port 1433 is every 30 seconds.
The packet length from 1433 to Azure container is always 1.
It's just a new Phoenix app with the Repo configured to a SQL Server on Azure SQL. It's running in a Docker container on Azure Web App or Web Service for Linux.
ELIXIR_VERSION=1.14.5
OTP_VERSION=25.3.2.5
DEBIAN_VERSION=bullseye-20230612-slim
I get this if I
:sys.trace
Logger.configure(level: :debug, truncate: :infinity)
in iexEnvironment
ssl_opts
,socket_options
, ...):ARG ELIXIR_VERSION=1.14.5
ARG OTP_VERSION=25.3.2.5
ARG DEBIAN_VERSION=bullseye-20230612-slim
ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}"
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: