this post was submitted on 05 Jul 2023
95 points (98.0% liked)

sh.itjust.works Main Community

7734 readers
1 users here now

Home of the sh.itjust.works instance.

Matrix

founded 2 years ago
MODERATORS
 

I've been getting a lot of these messages lately:

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

So I decided to look at the network requests in the browser console. After all, what JSON data was it trying and failing to parse?

Well, turns out that it was pretty much always:

Timeout occurred while waiting for a slot to become available

I don't do a lot of backend work, but I suspect that the lack of slots might be referring to the server running out of resources to process all of the ongoing user activity concurrently. Could we be running into scaling issues?

you are viewing a single comment's thread
view the rest of the comments
[–] Barbarian 10 points 1 year ago

It's hard to get a bot onto this instance, but not impossible. Once they're on here, they can spam out nonsense as fast as the server can take it (hence the rate-limiting solution).