nukeop
1
I was trying to deploy my program from CI, and got this error at the very end:
Checking DNS configuration for (my domain):9999
Error: expected 1 A records for (my domain):9999., got 0
Any ideas why this happens? I’m not using a custom domain, it’s got the fly.dev address. The program was deployed successfully and it works as usual.
1 Like
My guess is that you’ve tickled a corner case in the (relatively new) checkDNS
routine.
The fly.toml
details might help…
(Particularly nonstandard service definitions.)
roadmr
4
hi,
This is a known bug in flyctl when you’re using a service with http or tls handlers, and a custom external port. You can get around it by changing:
[[services.ports]]
handlers = ["http"]
port = 9999
to:
[[services.ports]]
handlers = ["http"]
start_port = 9999
end_port = 9999
This should be temporary while we squash the bug.
Regards,
3 Likes
nukeop
5
Awesome, thank you for the help!
Happening for a couple of my apps on flyctl v0.2.0
Still happening with flyctl v0.3.119. However, this solution seems to work.