Hello, I have a golang project that will terminate TLS and has support for h2c enabled.
This project is listening on :8080.
My fly.toml is:
[[services]] internal_port = 8080 protocol = "tcp" [services.concurrency] hard_limit = 25 soft_limit = 20 [[services.ports]] port = "80" [[services.ports]] port = "443" [[services.tcp_checks]] interval = 10000 timeout = 2000
Note that handlers = [“http”] and handlers = [“tls”, “http”] respectively are missing in this configuration. This is because in the fly documentation it is said that taking away the handlers implicitly passes through h2c traffic into your software. (https://fly.io/docs/reference/services/#tcp-pass-through)
Issue: Even though deploys go through successfully, my service never receives any traffic at all once deployed. I get: ERR_SSL_PROTOCOL_ERROR when making requests to my fly.dev URL which presumably is happening before any TCP traffic gets routed to my service.
Does anyone have advice for this scenario?