lax [error] could not make HTTP request to instance: connection error: timed out

Hello, I am getting lax [error] could not make HTTP request to instance: connection error: timed out after 60 seconds and in swagger it is giving 502. API called with POST method and HTML string as payload. Anyone has faced the same? Application is built in asp.net core with framework .net 6.0.

Have you switched to another region and try again? sometimes the regions might down, just make sure to check the server status to take action if any region is downed

@mhp tried with different regions but still getting the same. proxy[b7430d36] yyz [error] could not make HTTP request to instance: connection error: timed out.

@mhp Here, is my fly.toml (just to check). please refer.

app = "my-api"
kill_signal = "SIGINT"
kill_timeout = 300
processes = []

[env]

[experimental]
  auto_rollback = true

[[services]]
  http_checks = []
  internal_port = 80
  processes = ["app"]
  protocol = "tcp"
  script_checks = []
  timeout = 2000
  [services.concurrency]
    hard_limit = 25
    soft_limit = 20
    type = "connections"

  [[services.ports]]
    force_https = true
    handlers = ["http"]
    port = 80

  [[services.ports]]
    handlers = ["tls", "http"]
    port = 443

  [[services.tcp_checks]]
    grace_period = "10s"
    interval = "150s"
    restart_limit = 0
    timeout = "200s"

Are you still having this error? Looks like that your server is handling on port 80, check your server if it pointing to the correct port or not, my config is pointing to port 8080 and using hkg region and everything works fine.
If the error still here, just wait for a moderator to come for the better assistance.

Is your service listening on port 80?
Are you correctly binding to 0.0.0.0?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.