Hello. I’m attempting to send a request to a private ipv6 app (http://[fdaa:9:7823:0:1::d0]:65432/scanDirectory) from my main app , but I get “connection reset by peer” when I try to do so. This used to work until today.
As a note, today I switched the location of my MAIN app’s machines from otp (Bucharest) to fra (Frankfurt) - but I also get the same problems when attempting to connect to the private apps via the fly wireguard proxy, so I doubt that’s causing the issue.
Here are some commands I’ve ran regarding the private ipv6 app:
fly services list -a ab76dbfc-70af-49b6-80c7-f1dfa76f0389
Services
PROTOCOL PORTS HANDLERS FORCE HTTPS PROCESS GROUP REGIONS MACHINES
65432 => 65432 [] False fra 1
fly ssh console -a ab76dbfc-70af-49b6-80c7-f1dfa76f0389 --machine 28659e1c41ee98 -C "netstat -an"
Connecting to fdaa:f:857a:a7b:1c1:eb43:29a0:2... complete
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp6 0 0 fdaa:f:857a:a7b:1c1::22 :::* LISTEN
tcp6 0 0 :::65432 :::* LISTEN
tcp6 0 36 fdaa:f:857a:a7b:1c1::22 fdaa:f:857a:a7b:1:60648 ESTABLISHED
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 1165 /.fly/api
unix 2 [ ACC ] STREAM LISTENING 1178 /tmp/dotnet-diagnostic-626-116-socket
unix 3 [ ] STREAM CONNECTED 1141
unix 3 [ ] STREAM CONNECTED 1140
The IP is correct:
I am creating the machine using the following JSON:
{
"name" : "ab76dbfc-70af-49b6-80c7-f1dfa76f0389",
"skip_launch" : false,
"config" : {
"image" : redacted,
"env" : {
"APP_ENV" : "production"
},
"services" : [ {
"internal_port" : 65432,
"autostop" : "off",
"autostart" : true,
"ports" : [ {
"port" : 65432
} ]
} ],
"auto_destroy" : false,
"guest" : {
"cpu_kind" : "shared",
"cpus" : 1,
"memory_mb" : 512
}
}
}