Unable to access service through HTTP
I'm trying to set up a service with the following repo: https://github.com/Battlesquid/railway-victorialogs
When I try to expose the service and access it. I get a 404. Service is listening on 0.0.0.0 and the port is correct, so I'm at a loss for what the issue could be. I experienced a lot of weird behavior trying to fix it:
- Doesn't work at all (404 across the board)
- Works, but only on chrome (couldn't get it working on Edge or Firefox)
- Eventually worked when I was somehow able to disable the edge proxy...but I can't consistently disable it
25 Replies
Project ID:
75e3b346-93c5-4759-b0c7-991c535ad323
75e3b346-93c5-4759-b0c7-991c535ad323
this is just a repo with a dockerfile, please link to the repo that contains code
...there is no code, i'm just trying to deploy this service
i'm not using the image directly because it doesn't set up the host to be 0.0.0.0
use the image directly and set the needed start command in the service settings
Getting "Application failed to respond", it seems like it properly detected the port this time around, which is something I wasn't getting before
please send a clickable link
https://victorialogs-image-production.up.railway.app/
oop its working now
custom run command is pretty good, but i'm still confused on why the dockerfile was inconsistent
wanted to make a template for this
in any case it seems to be fine now, thank you
no problem
happy to answer any template related questions
Networking issues again, except this time it's chrome that refuses to work
Edge works, arc browser works if you count that
same link as you posted above?
The link is now https://battlesquid-victorialogs.up.railway.app/
The only additional difference is I changed the start command to set the username and password for the service
is that link supposed to not work?
(on chrome)
well no i'm expecting it to work
but it's not, at least on chrome
it works, i get a basic auth login
im on chrome 126
i'm losing it
just regular google chrome
oh dear
updated and it works now
i feel silly
thank you ._.
lol why was that even causing issues
i wish i knew, i really don't think it should have been
these things happen
you should use
${PORT}
instead of 8000
i should, will update that
thanks again for your help, i appreciate it
no problem!
ill likely have feedback for you once i see the template post 😉