Hi I have a issue with my Code but i cant figure out why it wont work like intended
humanspy
HOBBYOP

a month 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

$10 Bounty

0 Replies

humanspy
HOBBYOP

a month ago

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


2,350 lines in one file is insanity.

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

1436387417245352000


humanspy
HOBBYOP

a month ago

it binds to port 8080


Yes, and does your domain point to 8080


humanspy
HOBBYOP

a month ago

yes


humanspy
HOBBYOP

a month ago

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


humanspy
HOBBYOP

a month ago

it just gives me not found error


So this is what's causing issues?

1436387912198656000


humanspy
HOBBYOP

a month ago

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


Can you share the deployment logs


humanspy
HOBBYOP

a month ago

once it deploys yes its still deploying


humanspy
HOBBYOP

a month ago

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

1436389005758435300


humanspy
HOBBYOP

a month ago

1436389054559293400


humanspy
HOBBYOP

a month ago

this is the corresponding error


Well that is lies because it does exist


<:hmm:1228339204048814080>


humanspy
HOBBYOP

a month ago

i just noticed


Do you have any root directory set


Probably not


<:hmm:1228339204048814080>


humanspy
HOBBYOP

a month ago

im uploading them


I see your code


humanspy
HOBBYOP

a month ago

its redeploying


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



humanspy
HOBBYOP

a month ago

wait is the login working aswell try human_spy with code 123456789



I don't have any database attached to it


humanspy
HOBBYOP

a month ago

yeah thats the next issue


humanspy
HOBBYOP

a month ago

i dont have one either


That issue has nothing to do with Railway


humanspy
HOBBYOP

a month ago

it has something to do with api/login(


Correct. Not Railway.


humanspy
HOBBYOP

a month ago

i cant figure out why it wont work tho


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


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.


We don't actually know that



youre the one who said it



That was just a guess



op says they dont have a db


humanspy
HOBBYOP

a month ago

there is a users.json file that stores the password


I have no idea if they even need a DB



humanspy
HOBBYOP

a month ago

and the user


humanspy
HOBBYOP

a month ago

but the login page wont acces it and thats the problem


humanspy
HOBBYOP

a month ago

i dont kknow where the issue lies


humanspy
HOBBYOP

a month ago

Any ideas on how to fix


Loading...