Not Found.

bluedragon7327
TRIAL

9 months ago

hey guys, I recently created my own API using Railway to deploy it. It's written in Python. I also connected my domain to it. I've waited like 1 hour and restarted it and redeployed it and it still shows up as not found. Help?

https://dragonapi.bluedragon.dev

0 Replies

bluedragon7327
TRIAL

9 months ago

Project id: 787c7793-8a1b-4119-90e8-05d5e48701f4


9 months ago

is it running on the right port?


9 months ago

app error rather than a railway error looks like

1294455444810633200


9 months ago

super common for APIs to not have routes at the root, what is the actual issue you are experiencing


bluedragon7327
TRIAL

9 months ago

I am quite new to railway so I have no idea I will attach a screenshot however thanks for your help


bluedragon7327
TRIAL

9 months ago

1294456549523329000


bluedragon7327
TRIAL

9 months ago

When I try to use it on my projects it responds with 404 not found


bluedragon7327
TRIAL

9 months ago

It's an API for AI models


bluedragon7327
TRIAL

9 months ago

Works fine on my local machine.


bluedragon7327
TRIAL

9 months ago

Maybe it is a code issue on my end. Will check that out thanks for these helpful responses <:neonheart:1275176338587783240>


9 months ago

what endpoint are you trying locally vs here?


9 months ago

please try your best to answer my question


bluedragon7327
TRIAL

9 months ago

Locally I am just using port 5000 or something


bluedragon7327
TRIAL

9 months ago

And then here I am using https://dragonapi.bluedragon.dev


9 months ago

which endpoint?

What are you putting after the domain?


bluedragon7327
TRIAL

9 months ago

What do you mean?


bluedragon7327
TRIAL

9 months ago

The 5000 domain?


bluedragon7327
TRIAL

9 months ago

Ohhh


bluedragon7327
TRIAL

9 months ago

https://dragonapi.bluedragon.dev

I am just using this plainly no /v1/response or anything


9 months ago

and you don't have like: dev/local vs prod profile that'd disable a landing page on a prod server?


bluedragon7327
TRIAL

9 months ago

Nope. I have no clue what you are talking about I am quite new to this I am very very sorry.


bluedragon7327
TRIAL

9 months ago

I can send you my code in DMs if you would like.


9 months ago

nono, that's fine.

Have you set to run on the PORT env var and created that env var?

https://docs.railway.app/guides/public-networking


9 months ago

their API is responding just fine, no need for this.


bluedragon7327
TRIAL

9 months ago

Wait you have sent requests to it and it was working??


9 months ago

your app is returning 404, not railway


9 months ago

https://dragonapi.bluedragon.dev/api
returns a 405, so I'm going to guess that's an endpoint and things are working fine if you hit it (or the other endpoints) via insomnia/postman


bluedragon7327
TRIAL

9 months ago

Amazing. Thank you so much. I will try this out!


bluedragon7327
TRIAL

9 months ago

I can use python to send requests to it right?


9 months ago

any tool that sends requests, yes


bluedragon7327
TRIAL

9 months ago

Awesome. Thank you again. Have a good rest of your day/night


bluedragon7327
TRIAL

9 months ago

@BillyDotWS just wanted to follow up, it is working, i appreciate your help so so much. <:neonheart:1275176338587783240>

1294486312761557000


Not Found. - Railway Help Station