#2997: Adding torrent through JSON API fails due to "Invalid JSON request
content-
type: text/plain;charset=UTF-8"
----------------------+------------------------------------
Reporter: krichter | Owner:
Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Unknown | Version: other (please specify)
Keywords: |
----------------------+------------------------------------
Adding torrents to the Web UI through the BitTorrent WebUI+
0.2.3.0.1-signed.1-signed in Firefox 52.0 add-on fails due to
{{{
23:58:29.437 [INFO ][twisted :154 ]
"192.168.179.4" - - [14/Mar/2017:22:58:29 +0000] "POST /json HTTP/1.1" 200
5987 "https://richtercloud.de:8112/" "Mozilla/5.0 (X11; Ubuntu; Linux
x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
23:58:30.688 [ERROR ][deluge.ui.web.json_api :212 ] Invalid JSON
request content-type: text/plain;charset=UTF-8
23:58:30.688 [INFO ][twisted :154 ]
"192.168.179.4" - - [14/Mar/2017:22:58:30 +0000] "POST /json HTTP/1.1" 200
140 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101
Firefox/52.0"
23:58:30.711 [ERROR ][deluge.ui.web.json_api :212 ] Invalid JSON
request content-type: text/plain
}}}
e.g. for magnet:?xt=urn:btih:QWGMQ5G32JBJPZAOSAFRDOG4SLXX46IZ from
http://linuxtracker.org/?page=torrents&search=voyager&category=0&active=0
I'm not sure whether this is a deluge bug, but I assume that it is because
the logger severity is `ERROR`.
experienced with 2.0.0.dev6970+5348465+201703142101~ubuntu16.10.1 on
Ubuntu 16.10
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2997>
Deluge <http://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.