pelle
Explore posts from serversRailway dashboard unusable on all my projects due to random 404 errors
Recently I'm having a problem where every time I open a project its a pain to do anything because at any random time/action I get thrown into the 404 screen or don't get to the dashboard at all. My internet is stable and this problem only started happening from 2 weeks ago to now.
In fact it's so random that even if I don't do anything (just let the project page open) I get thrown in and out of the 404 screen by itself from time to time.
For completeness sake the project ID of the project shown on video is
2618dea9-bf34-4645-8e04-87a0c9ac02ca
but it happens with any project in my dashboard.5 replies
OAuth2 problems on production
Hey, so I was trying to setup OAuth2 in my webapp so I can login via Discord on it. I used the Auth.js node package and while testing locally it worked fine. I then proceeded to deploy it in railway and added the railway generated domain to the "Redirects URI" in discord app management.
But when I try to login I get a warning message from my browser saying that "The data I'm about to send is not secure" and if I click to ignore it and send it anyway I just get sent back to the login page again. This is shown in the attached video (sorry, its in portuguese, but the warning is translated to the quoted text above).
I then tried setting up a custom domain for the website to see if something changed. I then added the new domain to the discord app management page and initially the error was different, it was a discord error saying that the
redirect_uri
was wrong (which it wasn't). I thought it could be discord taking a while to update but no luck still. I then turned off the Cloudflare Proxy in my DNS record and the "The data I'm about to send are not secure" problem came back.
I've spent far too long on this and was wondering if anyone had this kind of problem before and managed to solve it.
Thank you in advance for reading this (:15 replies