ntoporcov / iQbit

GNU General Public License v3.0
575 stars 47 forks source link

qbt 5 compatibility #98

Open benfishbus opened 1 month ago

benfishbus commented 1 month ago

Is anyone else running this with qbt 5.0 as a separate server? When I login to iQbit, I see a flash of UI then total black screen. My qbt 5.0 is using the (new) default webui. Sorry if this is already addressed somewhere and I missed it...

espiox commented 1 month ago

Yeah, I have the same issue

benfishbus commented 1 month ago

I should add, my phone is on iOS 18, and I'm using Firefox. I just signed in from Firefox on Windows, and iQbit displays correctly.

benfishbus commented 1 month ago

Occurs in Safari and Chrome for iOS too. Switching off dark mode made no difference. And I confirmed my similarly set up qbt 4.x instance still displays properly through iQbit. Viewed directly on iPhone, qbt 5.0 webui displays as well as can be expected - not a black screen but still not mobile friendly. Anyway, seems like something going wrong between iQbit and webui 5.0.

ntoporcov commented 1 month ago

Im planning on taking a look today! Should be some api call that got updated

ntoporcov commented 1 month ago

I wasn't able to repro but a I did notice that the UI seems to be getting hung up at some point, and while that was happening the UI also fails to respond (API calls stay pending). If you're on the nox version, I imagine that would be hard to notice maybe :/

Best solution might be to downgrade :/

benfishbus commented 1 month ago

Bummer! Will you be reporting that as a qb issue? I don't think I've experienced that while using the 5.0 webui directly.

benfishbus commented 3 weeks ago

Not sure what changed, but I'm no longer experiencing this problem.

breadbyte commented 3 weeks ago

Currently having the same issue, and my console has spouted the following error:

TypeError: Cannot read properties of undefined (reading 'short')
    at II (TorrentBox.tsx:319:57)

which does seem to correlate with the following line: https://github.com/ntoporcov/iQbit/blob/9ae14637955bfa95889c6f767b97300382e43e0c/src/components/TorrentBox.tsx#L319

I can provide more information if required.

qBit version: v5.0.0 iQbit version: 9ae14637955bfa95889c6f767b97300382e43e0c

Lemagex commented 2 weeks ago

Same issue, can help with logs if required.

brandonjp commented 1 week ago

Well, I don't know the iQbit or qB api well enough to make a real fix, but if you wanna temp fix:

For me the iQbit ui works, although is a little sluggish and occasionally has additional JS errors that crash the page

If you're building from the source files you can...