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

4 months 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

4 months ago

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


4 months ago

2,350 lines in one file is insanity.

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

1436387417245352000


spy-group-dev
PROOP

4 months ago

it binds to port 8080


4 months ago

Yes, and does your domain point to 8080


spy-group-dev
PROOP

4 months ago

yes


spy-group-dev
PROOP

4 months ago

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


spy-group-dev
PROOP

4 months ago

it just gives me not found error


4 months ago

So this is what's causing issues?

1436387912198656000


spy-group-dev
PROOP

4 months ago

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


4 months ago

Can you share the deployment logs


spy-group-dev
PROOP

4 months ago

once it deploys yes its still deploying


spy-group-dev
PROOP

4 months ago

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

1436389005758435300


spy-group-dev
PROOP

4 months ago

1436389054559293400


spy-group-dev
PROOP

4 months ago

this is the corresponding error


4 months ago

Well that is lies because it does exist


4 months ago

<:hmm:1228339204048814080>


spy-group-dev
PROOP

4 months ago

i just noticed


4 months ago

Do you have any root directory set


4 months ago

Probably not


4 months ago

<:hmm:1228339204048814080>


spy-group-dev
PROOP

4 months ago

im uploading them


4 months ago

I see your code


spy-group-dev
PROOP

4 months ago

its redeploying


4 months ago

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



spy-group-dev
PROOP

4 months ago

wait is the login working aswell try human_spy with code 123456789


4 months ago

1436390606133002200


4 months ago

I don't have any database attached to it


spy-group-dev
PROOP

4 months ago

yeah thats the next issue


spy-group-dev
PROOP

4 months ago

i dont have one either


4 months ago

That issue has nothing to do with Railway


spy-group-dev
PROOP

4 months ago

it has something to do with api/login(


4 months ago

Correct. Not Railway.


spy-group-dev
PROOP

4 months ago

i cant figure out why it wont work tho


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


4 months 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.


4 months ago

We don't actually know that



youre the one who said it



4 months ago

That was just a guess



op says they dont have a db


spy-group-dev
PROOP

4 months ago

there is a users.json file that stores the password


4 months ago

I have no idea if they even need a DB


4 months ago

Exactly


spy-group-dev
PROOP

4 months ago

and the user


spy-group-dev
PROOP

4 months ago

but the login page wont acces it and thats the problem


spy-group-dev
PROOP

4 months ago

i dont kknow where the issue lies


spy-group-dev
PROOP

4 months ago

Any ideas on how to fix


spy-group-dev
PROOP

a month ago

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


Status changed to Open brody about 1 month ago


Status changed to Solved brody about 1 month ago


Status changed to Open ray-chen 29 days ago


Status changed to Solved ray-chen 29 days ago


Loading...