Hi I have a issue with my Code but i cant figure out why it wont work like intended
spy-group-dev
PROOP

a year ago

Link to the github is https://github.com/humanspy/dc-mod i cant figure out why my Website crashes or doesn't show login.html at all

Error receiving are 502 Bad Gateway and more like not found when i do get it working to login.html, if i get that far it wont log me in, this is paired with a discord bot that makes my moderation

Solved$10 Bounty

51 Replies

spy-group-dev
PROOP

a year ago

Please help me ill be happy to answer any questions in a vc


a year ago

2,350 lines in one file is insanity.

Does the port variable match the domain you have it set to?

1436387417245352037


spy-group-dev
PROOP

a year ago

it binds to port 8080


a year ago

Yes, and does your domain point to 8080


spy-group-dev
PROOP

a year ago

yes


spy-group-dev
PROOP

a year ago

it does show the website sometimes but then it doesnt when i try to load login.html


spy-group-dev
PROOP

a year ago

it just gives me not found error


a year ago

So this is what's causing issues?

1436387912198656000


spy-group-dev
PROOP

a year ago

i dont know when it does load the website it wont show the html


a year ago

Can you share the deployment logs


spy-group-dev
PROOP

a year ago

once it deploys yes its still deploying


spy-group-dev
PROOP

a year ago

this is what shows on https://case.spy-gaming.com

1436389005758435429


spy-group-dev
PROOP

a year ago

1436389054559293471


spy-group-dev
PROOP

a year ago

this is the corresponding error


a year ago

Well that is lies because it does exist


a year ago

<:hmm:1228339204048814080>


spy-group-dev
PROOP

a year ago

i just noticed


a year ago

Do you have any root directory set


a year ago

Probably not


a year ago

<:hmm:1228339204048814080>


spy-group-dev
PROOP

a year ago

im uploading them


a year ago

I see your code


spy-group-dev
PROOP

a year ago

its redeploying


a year ago

@h.spy It's working for me. What's your configuration? Variables? Start command?



spy-group-dev
PROOP

a year ago

wait is the login working aswell try human_spy with code 123456789


a year ago

1436390606133002351


a year ago

I don't have any database attached to it


spy-group-dev
PROOP

a year ago

yeah thats the next issue


spy-group-dev
PROOP

a year ago

i dont have one either


a year ago

That issue has nothing to do with Railway


spy-group-dev
PROOP

a year ago

it has something to do with api/login(


a year ago

Correct. Not Railway.


spy-group-dev
PROOP

a year ago

i cant figure out why it wont work tho


You need a database… You just said you didnt have one


a year ago

Someone else is welcome to step in here, but just judging by the fact this is completely AI generated I really don't want to deal with it.


a year ago

We don't actually know that



youre the one who said it



a year ago

That was just a guess


no here


op says they dont have a db


spy-group-dev
PROOP

a year ago

there is a users.json file that stores the password


a year ago

I have no idea if they even need a DB


a year ago

Exactly


spy-group-dev
PROOP

a year ago

and the user


spy-group-dev
PROOP

a year ago

but the login page wont acces it and thats the problem


spy-group-dev
PROOP

a year ago

i dont kknow where the issue lies


spy-group-dev
PROOP

a year ago

Any ideas on how to fix


spy-group-dev
PROOP

8 months ago

I have figured it out and login now works using OAuth, i rewrote the entire code


Status changed to Open ray-chen • 8 months ago


Status changed to Solved ray-chen • 8 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...