ChatGPT Plugin Error When Deployed to Fly.io

Hello :wave:t4:
I’m trying to deploy a ChatGPT plugin. I have tested the plugin /upsert-file endpoint locally and it works fine then I deploy app to fly.io, deployment finished successfully the I go to the fastpai doc and tried the /upsert-file endpoint now it shows below error.
fyi - I’m using piniecone
image
and when I checked the app monitoring section it’s loggin this
iad [error] could not make HTTP request to instance: connection error: timed out

The same app is running successfully in Local as you can see here

Thanks

Hey could you share the output of fly status?

It might help to run fly logs too while you’re trying some requests to see if those logs indicate anything.

thanks man
here is the flyctl status output

Could you share some of your fly.toml as well?

here is my fly.toml file

# fly.toml file generated for throbbing-morning-3705 on 2023-04-03T09:42:38-04:00

app = "throbbing-morning-3705"
kill_signal = "SIGINT"
kill_timeout = 5
mounts = []
primary_region = "iad"
processes = []

[[services]]
  internal_port = 8080
  processes = ["app"]
  protocol = "tcp"
  [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

The main thing that sticks out to me is that in your screenshot I saw localhost:8000 in your working, local example, but your internal port is set to 8080 on your fly.toml:

If you set that to 8000 and redeploy, do you see it working or any different results?

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