nitter icon indicating copy to clipboard operation
nitter copied to clipboard

Crash - ERROR jsony.nim(98) parseHook

Open TheFrenchGhosty opened this issue 2 years ago • 4 comments

My instance has been crashing for no reason for more than a day now, the only thing remotely relevant before it happens is:

InternalError: https://api.twitter.com/2/timeline/profile/[REDACTED]
ERROR jsony.nim(98)            parseHook
asyncfutures.nim(389)    read
redpool.nim(68)          getUserIdIter
asyncfutures.nim(389)    read
asyncfutures.nim(389)    read
asyncfutures.nim(389)    read
asyncfutures.nim(389)    read
asyncfutures.nim(389)    read
Number expected. At offset: 583
InternalError: upstream connect error or disconnect/reset before headers. reset reason: connection termination
InternalError: upstream connect error or disconnect/reset before headers. reset reason: remote reset
InternalError: �VJ-*�/*V���V�M-.NLOU�R�/K-RHN,HL�,�T�QJ�O
▒�����^c�3
InternalError: �VJ-*�/*V���V�M-.NLOU�R�/K-RHN,HL�,�T�QJ�O
▒�����^c�3
InternalError: https://api.twitter.com/2/timeline/profile/[REDACTED]

After that, it seems to just hang. No idea why.

Running the docker image.

Edit: After discussing it in the matrix room, it seems to be a Twitter change.

TheFrenchGhosty avatar Mar 30 '22 23:03 TheFrenchGhosty

https://github.com/zedeus/nitter/commit/da4d6eabddc322306b152b7d856b13c530f58e95 has a hook for the enum parser to gracefully catch and log errors. Please post any relevant logs in case it happens again.

zedeus avatar Nov 27 '22 16:11 zedeus

Just realized it says "Number expected", so it's unrelated. I'd need at least the profile ID to troubleshoot this.

zedeus avatar Nov 27 '22 18:11 zedeus

@zedeus Sorry I didn't keep the log :(

TheFrenchGhosty avatar Nov 27 '22 18:11 TheFrenchGhosty

No worries, didn't expect that since this happened a while ago. Let me know if you see another error like this again.

zedeus avatar Nov 28 '22 04:11 zedeus