Hi!
We have app which has two HTTP-services, listening on ports TCP/8000 and TCP/3000.
What we want would be that:
- https://our-service.example.com/ → TCP/8000
- https://our-service.example.com:8443/ → TCP/3000
This worked last week fine, but on Friday last week that https://our-service.example.com:8443/ began to say “Connection reset by peer” / “SSL connect error”.
Excerpt from our fly.toml:
[[services]]
http_checks = []
internal_port = 8000
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
[[services]]
http_checks = []
internal_port = 3000
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
handlers = ["http"]
port = 8080
[[services.ports]]
handlers = ["tls", "http"]
port = 8443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
Connection to 443 works, connection to 80 works, connection to 8080 works, but connection with https to 8443 does not work.
Is there something we have missed from the documentation?