Hellowlol / HTPC-Manager

A fully responsive interface to manage all your favorite software on your Htpc.
MIT License
344 stars 48 forks source link

Deluge - No JSON object could be decoded #556

Closed ghultstrand closed 7 years ago

ghultstrand commented 7 years ago
2017-06-12 12:43:16 :: modules.deluge :: DEBUG :: Request deluge method: web.connected arguments []
2017-06-12 12:43:16 :: modules.deluge :: ERROR :: Failed to fetch method web.connected  arguments [] No JSON object could be decoded
2017-06-12 12:43:16 :: webui.console.errors :: ERROR :: {'message': u"Uncaught TypeError: Cannot read property 'result' of null", 'line': u'126', 'file': u'http://192.168.1.1/js/libs/jquery.min.js', 'page': u'http://192.168.1.1/deluge/'}

`

EirikHaughom commented 7 years ago

Having the exact same problem.

Hellowlol commented 7 years ago

@TheHaughom What deluge version are you using?

EirikHaughom commented 7 years ago

First was Deluge 1.3.12 running on Ubuntu Then I set up a Windows with version 1.3.15

Pastebin: https://pastebin.com/LAxsKJaX Line: 321

About About
Updater Source
BRANCH master2
Current commit c0ed30551f183437753773e317cacf7c00750f6c
Auto update False
RUNDIR C:\HTPCManager
DATADIR C:\HTPCManager\userdata
DB C:\HTPCManager\userdata\database.db
WEBDIR /
AUTH True
LOGLEVEL info
locale cp1252
ARGS --daemon
OS Windows-post2008Server-6.2.9200
Python version: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
vampywiz17 commented 7 years ago

Same error, i use deluge 1.3.15 and Ubuntu server.

Hellowlol commented 7 years ago

Ah, crap i forgot all about it. Ill install deluge and fix this asap

vampywiz17 commented 7 years ago

Ah, crap i forgot all about it. Ill install deluge and fix this asap

Thanks!

EirikHaughom commented 7 years ago

Could this be relevant? https://github.com/styxit/HTPC-Manager/commit/9cc88d9162f35cf0f8828ded5566f52f3bd506bd

Hellowlol commented 7 years ago

Yes

Hellowlol commented 7 years ago

Does it work now?

EirikHaughom commented 7 years ago

Downloaded latest version, but it doesn't seem to work. Getting the loading circle forever, and in the debug logs it says:

2017-08-22 13:24:21 | modules.deluge | ERROR | Failed to fetch method web.connected arguments [] ('Connection aborted.', BadStatusLine("''",))

Hellowlol commented 7 years ago

update and try again please

ghultstrand commented 7 years ago

Problem login in: [object Object]

2017-08-22 06:59:27 modules.deluge DEBUG Authenticating 2017-08-22 06:59:27 modules.deluge DEBUG Request deluge method: web.connect arguments ['undefined'] 2017-08-22 06:59:25 modules.deluge DEBUG Authenticating 2017-08-22 06:59:25 modules.deluge DEBUG Request deluge method: web.get_hosts arguments [] 2017-08-22 06:59:25 modules.deluge DEBUG Authenticating 2017-08-22 06:59:25 modules.deluge DEBUG Request deluge method: web.connected arguments []

ghultstrand commented 7 years ago

Just updated. During connect process shows as offline. However it does connect now and displays torrents.

ghultstrand commented 7 years ago

Thanks!

EirikHaughom commented 7 years ago

It is working here now.

Hellowlol commented 7 years ago

Thanks for the patience

ghultstrand commented 7 years ago

Thanks for the great software!

samcro1967 commented 6 years ago

I am seeing this error when in the logs and only getting a spinning hour glass in the Deluge tab. I am running Deluge 1.3.15.

2018-03-23 17:07:07 :: htpc.updater :: INFO :: Checking for updates from Source. 2018-03-23 17:07:08 :: htpc.updater :: INFO :: HTPC Manager is Up-To-Date. 2018-03-23 17:07:08 :: htpc.updater :: INFO :: Currently 0 commits behind. C:\Users\user\Documents\GitHub\HTPCManager\libs\requests\packages\urllib3\connectionpool.py:768: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html 2018-03-23 17:07:46 :: modules.deluge :: ERROR :: Failed to fetch method web.connected arguments [] No JSON object could be decoded