Lemmy
Lemmy


Lemmy
Lemmy is written in rust, that's a java error so the issue lies with the app you're using not Lemmy itself (maybe)
The cause is a 502 from lemmy.
Jerboa's handling of that error is also terrible but that's another issue.
Memmy doesn’t do well with it either.
Of course it doesn’t bode well for the instance itself that it’s throwing so many…but it’s unclear if that’s an operator problem or a code base problem.
Is there a good Lenny app because so far wefwef hasn’t been great for me.
Liftoff is the best I've found so far. Waiting for Sync to come though
Jerboa or just in the browser. Honestly though most people's issues are likely to be because they joined a huge instance which is falling over due to load. Consider making a new account on a smaller instance.
Wefwef has been the best for me so far. I'm a previous Boost for Reddit user, so I'm still waiting for their official Lemmy release and then I'll switch.
I am quite liking liftoff. It has a slightly different layout to wefwef and you can customize it a bit if you don't like the default colours.
What’s so bad with wefwef? I’m using it righty now and enjoying it.
(Also, Memmy is another great Apollo-based app.)
Can you explain why? Are you using wefwef on Android?
@Binderfullofpizza In my opinion, Memmy is the best native app at the moment (for iOS).
Thunder but features aren't all there
I am using Memmy at the moment and it’s well decent
I've seen this more times than my own family
You know at least it printed an error. I hate when things silently swallow errors.
I'm looking at you, Python programmers:
undefined
try: <100 lines of nonsense> except: pass
We are not savages now we use
python
with suppress(Exception): > 100 lines nonsense
Value
<html>
of type java.lang.String cannot be converted to JSONObjectAfaik this is not an error from Lemmy but from nginx, which is not able to relay the request to Lemmy and therefore returns a 502 bad gateway response. Imo this just means the servers are over capacity, so most likely a scaling/infrastructure issue.
I had a quick read of the code and it looks pretty solid to me. Not the most "enterprise" code imaginable, but definitely no code smell or quick hacking job.
I read a couple PRs and it seems like the are rejecting the more hacky stuff.
that's Jerboa issue but probably because It received something from the server that it shouldn't
No, the server gave a 502 instead of a JSON and Jerboa doesn't handle that gracefully.
Seems like the 4 apps I use all have the same issue though which makes me wonder if it's something in Lemmy causing the issue (not the apps).
Is it a lemmy issue or a jerboa issue?
Serious Answer: This is a Jerboa issue. Lemmy is written in Rust. The error message is a Java error which is what native Android apps use.
I think it's both, actually. Lemmy is often giving html where json is expected, and Jerboa isn't handling the error well.
If it's Jerboa/Android app issue, why do I get JSON errors using Lemmy on my desktop PC with Firefox? Forgive me if this is a dumb question, I have very little programming knowledge.
No, this is a lemmy issue. The API specification specifies a JSON response, and the server randomly provides HTML, this is a bug in the server. I agree that Jebora should retry in the case of a network failure (timeout, 4xx staus codes...) but it should not have to retry in a case of a server that is not folowing the standard.
I would say Lemmy issue. This is probably a default 502 internal sever error response (which I've been getting repeatedly from lemmy.world). Jerboa (I don't use it btw) is only trying to parse the expected json response. Yes the app could handle the error more gracefully but if Lemmy didn't respond with an error jerboa wouldn't need to.
Lemmy realy should not randomly emit errors for no reason, there should be no need for retries in this case. If the specification specifies a JSON response, and the server randomly provides HTML, that is a bug in the server.
personally I'd say it's a Jerboa thing. the app should retry loading because sometimes I refresh after this happening and it immediately loads the proper content.
with all the different instances this sort of thing has to be kept in mind
I've seen this on both Jerboa and Connect. And even just now