Glitch project very unresponsive, gives sometimes errors

Heyya,

Im from Germany. At the moment my Glitch projects are really strange and unresponisve. Is there anything going on. I get a server error from time to time, maybe there is some maintenance or some thiings going on.

Online editor is ded, project is up though :frowning:

Can some of the admins go to the servers and turn them on and off to see if this will make them work again please? :joy:

Hi JaielSoft, we don’t have any maintenance going on right now, but I can check your projects and make sure they are ok. Let me know if you’d like to share them with me. Any error messages you could share would help me figure out what’s going on. Also what browser are you using?

server is unresponsive

Project should be fine its just the online interface

Ah, what errors are you seeing? Will the editor load? Does the bot still work?

Yes Bot status is ok

Online interface is taking a lot of time to load a source file, getting Server error if it takes too long…Started to behave like that several hours ago and is now really bad so I can’t work on it anymore.

I dont know what the error is its still laoding since I made this post here, but something along the lines of Server error and that table flip smiley plus the contact link to contact you if the error persists

Oh no, yeah I hope I can help fix it. So did you see the error message in a popup?

yes, it said Server error

Does it look like the screenshot on this question?

Thats it with the table flipping emote yes.

The strange thing is I can access some sources without a problem but I set in the “watch.json” to apply changes to 10000 or so and that file is one of those that take a long time to load up. I jsut wanted to change several files at once I usually have it on 1000 in the watch.json but can’t change it back now :frowning:

It jsut loads and loads and loads and eventually gives me a server error

Wanted to also say thank you for helping. Glitch is a free service that I use and I get help super fast although as mentioned its a free service you provide. Really cool and hope you will get that business plan for elevated usage of your services ASAP so I can support your services.

Glitch is awesome

1 Like

Thanks :slight_smile: I’m glad you’re enjoying it, I looked at watch.json and made a change, can you try accessing it now?

It seems to respond normally now, hope it stays like it thank you :):grin:

Yay! I wonder what it is, maybe it didn’t like the value in the json file? Json files can be picky. I hope it stays working but if not let us know!

It wasn’t about that file. The Editor started some hours ago already to be unresponsive at times but went really bad when I made that topic here…

Guess some Server problems here in Europe or so

Its still not so responsive as to call it normal behaviour but not to the point that I can’t do things.

Just started to get my attention as messages from twitch chat came in with a 10 second delay or so which never happened before…

Hmm, interesting, yeah if the bot messages are slow, whatever this is happening is also affecting the bot so maybe it’s not just the editor. I will talk to my team about it.

It must be the online interface/editor. Saying the messages came in with a delay, I meant the logs on Glitch , sorry for not being clear.

Bot is running smooth no delay there jsut the online interface is delayed… @mmcewen

1 Like

Oh thanks, that’s useful. I’m talking to the team now. I’ve gotten this error before myself so I’m interested to see what causes it.

@mmcewen

Hey any news on the issues from yesterday? Today I had on all my bots many spikes on my ping monitor, they were all code “504-Bad Gateway(timeout)”

Also my bot broke down while in use and some files got corrupted (thank god I have backups though). Was their any blackouts in service or so?

Hey @JaielSoft nothing that you and Melissa didn’t discuss - the “table-flipping” error is typical of problems between the browser and Glitch but not necessarily universally so. Network latency can be a cause. So can anti-virus or explicit network configuration issues. If you care to look at your network tab in your browser’s dev tools you might see a little more information about failed requests that we can explore.

As far as ping timeouts that sounds like a different issue. We haven’t seen reports of widespread issues and I’m not seeing anything in our monitors; can you share your monitor reports and basic configuration with us? Likewise with the project that you saw file corruption on - that’s an alarming thing to have happen and I’d like to get to them bottom of it. Is that on the project you previously mentioned?

no its this one: https://glitch.com/edit/#!/the-alpha-brian

I have the timeline for today. Its on Cula pinging every 2 minutes to my home page

Thats on all my project but they dont have those spikes at the same time though but on different times. It jsut got that bad the last few days.

There must have been a point where Glitch restarted my project because reading from the files only happens on startup and saving at finish. So it must have finished, corrupted the file and started up again reading from the backup file because the normal file was corrupted

I save the files as soon as a sigterm comes in (bot.js, commandmanager,js and filtermanager.js have a finish() command where they save the files, the invocation comes from init.js when a SIGTERM comes in), I guess something went wrong or maybe took too long to save the files but I doubt it 5 seconds should be enough for like 1mb max of data that needs to be written. But I have hourly backups so it wasnt that bad

EDIT: Upon further inspection, I believe there was no SIGTERM coming in but my bot’s process just got killed right away because the main file was not corrupted and the backup had the more uptodate data. The bot seems to never have had the chance to save the main file so either there was no SIGTERM or something else happened

@cori @mmcewen or someone else anything new on my topic. I dont know why my Bot just gets killed without the chance to save its state

@JaielSoft Can I be invited to the project, so I can take a look?
Send the project invite in a private message!

Hey so yeah. I got what was the error. My stupid mistake, was accessing an array element on a null/undefined reference without catching error. So I am very sorry to have wasted your time devs :sweat:

Ha well I’m glad you found it. I was composing a response indicating that I couldn’t find anything untoward happening (although there was one long stop time on 2019-03-04 (or it might be on 2019-03-05 - I’m trying to determine if the time I’m seeing is local or UTC).

Happy Glitching!

Aha, those times are local, so the long stop time was at around 0600 UTC on 2019-03-05.

stop time didnt see it though. gonna check on cula. nothing that I can see on Cula. Ive had some downtimes but those didnt exceed 2 minutes

sadsa