(Mysterious) periodic connections to the server

Hi,

In one of my deployed apps, there are mysterious connections on the exposed ports.

Our server is disconnecting every second because they are not MQTT connections. I’m not sure how to debug this. This happens even if I change ports. I’m suspecting some health checks on exposed ports or something qovery (proxy) is doing internally

02 Sep, 17:00:54.987
app-z702f7324-6dc58b884b-mkp8t
498499
[INFO ] (14) broker::server::broker : v4-1 [I] accept addr = 10.0.80.179:42378 count 35822


02 Sep, 17:00:54.987
app-z702f7324-6dc58b884b-mkp8t
498499
[ERROR] (14) broker::server::broker : [E] Remote link error = Io(Custom { kind: ConnectionAborted, error: "connection closed by peer" })
02 Sep, 17:00:54.989
app-z702f7324-6dc58b884b-mkp8t
498499
[INFO ] (14) broker::server::broker : v4-1 [I] accept addr = 10.0.80.179:42376 count 35823
02 Sep, 17:00:54.989
app-z702f7324-6dc58b884b-mkp8t
498499
[ERROR] (14) broker::server::broker : [E] Remote link error = Io(Custom { kind: ConnectionAborted, error: "connection closed by peer" })
02 Sep, 17:01:04.988
app-z702f7324-6dc58b884b-mkp8t
498499
[ERROR] (14) broker::server::broker : [E] Remote link error = Io(Custom { kind: ConnectionAborted, error: "connection closed by peer" })
02 Sep, 17:01:04.988
app-z702f7324-6dc58b884b-mkp8t
498499
[INFO ] (14) broker::server::broker : v4-1 [I] accept addr = 10.0.80.179:50564 count 35824
02 Sep, 17:01:04.990
app-z702f7324-6dc58b884b-mkp8t
498499
[ERROR] (14) broker::server::broker : [E] Remote link error = Io(Custom { kind: ConnectionAborted, error: "connection closed by peer" })
02 Sep, 17:01:04.990
app-z702f7324-6dc58b884b-mkp8t
498499
[INFO ] (14) broker::server::broker : v4-1 [I] accept addr = 10.0.80.179:50566 count 35825
02 Sep, 17:01:14.988
app-z702f7324-6dc58b884b-mkp8t
498499
[INFO ] (14) broker::server::broker : v4-1 [I] accept addr = 10.0.80.179:41452 count 35826
02 Sep, 17:01:14.988
app-z702f7324-6dc58b884b-mkp8t
498499
[ERROR] (14) broker::server::broker : [E] Remote link error = Io(Custom { kind: ConnectionAborted, error: "connection closed by peer" })
02 Sep, 17:01:14.990
app-z702f7324-6dc58b884b-mkp8t
498499
[INFO ] (14) broker::server::broker : v4-1 [I] accept addr = 10.0.80.179:41454 count 35827
02 Sep, 17:01:14.990
app-z702f7324-6dc58b884b-mkp8t
498499
[ERROR] (14) broker::server::broker : [E] Remote link error = Io(Custom { kind: ConnectionAborted, error: "connection closed by peer" })

These connections seems to be coming from proxies (ofcourse) but I’m not sure how to root cause the problem after this

How can I fix these bad connections?

Hello,
can you share the link of the Qovery env ?

Hello,
your suspicion was good. The connection is interrupted by health checks. Since only one port is declared for the broker app, both app and health checker use the same port.

Sadly, you can’t fix it for the moment since only one public is allowed Qovery side unless you don’t need your broker to be public.

We talked about it with the team few minutes ago and we’ll implement the multi public ports feature as soon as possible. We hope to deliver it in the next two weeks.

Thanks! I’ll wait for this feature

Hi @RaviTeja_K, I am looking with the team when this issue will be fixed.