2 years ago
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
41 Replies
2 years ago
this is just a repo with a dockerfile, please link to the repo that contains code
i'm not using the image directly because it doesn't set up the host to be 0.0.0.0
2 years ago
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

2 years ago
please send a clickable link
custom run command is pretty good, but i'm still confused on why the dockerfile was inconsistent
2 years ago
no problem
2 years ago
happy to answer any template related questions
Networking issues again, except this time it's chrome that refuses to work
2 years ago
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
/bin/sh -c "exec /victoria-logs-prod -httpListenAddr 0.0.0.0:8000 -httpAuth.username $V_USERNAME -httpAuth.password $V_PASSWORD"2 years ago
is that link supposed to not work?
2 years ago
(on chrome)
2 years ago
it works, i get a basic auth login
2 years ago
im on chrome 126
2 years ago
just regular google chrome
2 years ago
lol why was that even causing issues
2 years ago
these things happen
2 years ago
you should use ${PORT} instead of 8000
2 years ago
no problem!
2 years ago
ill likely have feedback for you once i see the template post 😉

