App Deployed, but not Working (Cannot Get /)

Hi,

I am relatively new to developing web apps. I successfully deployed my app to Fly.io.

It is an app that listens to the Spotify API and returns data, it worked succesfully locally listening to port 3000.

However, when opening the app (https://proyecto-spotify.fly.dev/), it throws a “cannot GET /”. Surely, there is a thing I am missing, so I hope you can help me.

If it helps, logs throw this warning: Error: expected 1 AAAA records for proyecto-spotify.fly.dev., got 0.

Sorry if it sounds like a beginner doubt, but in fact, it is. Hope you can help, and if you need any information about the project in order to make it work, please ask me.

Thank you in advance.

Hi there!

I believe this is an nodejs (maybe expressjs) app right? Cannot GET / seems to be an app router issue, specially since we don’t do 404 for apps on our proxy.

My advice is to take a look at your app router and check which routes are available with which http verbs.

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