anthonyraymond / joal-desktop

A desktop application for JOAL. Plug and play, no additional download or configuration needed.
https://github.com/anthonyraymond/joal
MIT License
197 stars 27 forks source link

Configuration tab modification results in : Connection lost with Joal, retry in 8 seconds [Windows 11][Version 2.0.17] #110

Open butts136 opened 3 months ago

butts136 commented 3 months ago

Hi,

I've encountered a new issue that I can't seem to resolve.

Whenever Joal is restarted, it won't start again afterwards, and I face the error "Connection lost with Joal, retry in 8 seconds".

I found that the problem seems to come from the file "\user\AppData\Roaming\JoalDesktop\joal-core\config.json". I just have to delete it and restart the application, and the connection works afterwards.

If I modify in the "Configuration" tab and then restart the application, I encounter the same problem, it's not connecting.

I then perform the same manipulation by deleting de config.json file and open Joal, and now it works. Therefore, Joal no longer accepts the modified configuration even though I only request 1000 simultaneous seeds and a maximum of 300kb/s.

I must not touch the configuration; otherwise, the application no longer connects to Joal.

I have to up-to-date version image

I'm on windows 11.

Thank you.

butts136 commented 2 months ago

Everytime I change the number of simultaneous torrent in the configuration tab and restard. The problem shown in developper tab is:

error message from websocket CloseEvent {isTrusted: true, wasClean: false, code: 1006, reason: "", type: "close", …} 2.430fe565.chunk.js:1 WebSocket connection to 'ws://127.0.0.1:5081/0d0ce630-2b08-4ab9-b507-24105ad43d2e' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

butts136 commented 2 months ago

I did some test, and i can now put like 10 000 torrents if i want in the configuration tab, the problem seems to be when there's too much torrent in the torrent folder. I just put 150 torrents files and it stats perfectly, and I can now put over 500 torrents in the configutation tab.

I think it's taking to much ressources to connect and load torrents at the same time, Can you try to put like a 5 - 10 secondes, and make sure it's connected before torrent files are loaded ?

I think it will resolve this problem. I'm not a programmer so I know you know what to do. :)

If you don't want to do it, can you tell me how i can do it on my side maybe like change a value in a file somewhere.

Thanks