Hello,
My Ruby on Rails app http://railsapp.glitch.me/ is not working. It says that this is most likely a code error (why does it say that instead of bug?) in my project but I do not think so as there is another app (http://rails-5-1-examle.glitch.me) with almost the same code (which is my project’s parent) and runs fine. I got this error once and error 504 twice. Could anyone please help me?
Thank you.
did you remix this project and set it up correctly?
Yes, I think so. I only changed “private: true” to “private: false” in package.json.
Bump
Does it say anything in the logs?
You mean in the console log? No, it does not show anything special.
This happened to me in the past… I suppose you could contact [email protected]
Let me just ping them. @glitch_support
They don’t answer on the forum, email is your best bet.
Huh? But they said that I could also ping them here.
Staff don’t respond much on the forums anymore.
Okay. Let me wait.
For the staff on the forum or on the email?
For the staff on the forum.
Look, you should just send an email because in the last month the staff responded to a user post once. You should really just contact them by email, you will get a response there.
But if you want to wait thats fine.
Okay but I am still not changing my plan.
someone emails for him
Um, thank you, I guess?
just let the thread die and by revived by a staff member 2 months later
Just looking out for you
It won’t get revived by staff. It will be revived by another forum user who has the same issue 2 years later. Staff will never touch it
Glitch Support: who the heck pinged me…
2 months later
ah just like @anon43649539 said lets go revive this topic
Bump //cc @glitch_support
@glitch_support, please help me!
Hi @R4356th,
Sorry you’re having trouble with this and that it took us a while to get to it. I’m not sure exactly what is wrong but there are two things to try that will at least narrow the problem down:
-
Turn off the Spring development preloader if it’s on. It makes a lot of assumptions about the development environment it’s running in that might not be compatible with Glitch (where to store temporary files, what filesystem watch utilities are available).
-
Switch from Puma to WEBrick as the underlying HTTP server for Rails. WEBrick is simpler and Puma is sort of overkill for a Glitch app anyway. Puma also relies on a compiled extension that might not be building correctly.
Thank you! That fixed the issue. But I did not need to turn off Spring though. It was not even in use.
I am getting an Error 502 again even though I did not change anything in the project!
you said that wrong alright