#2997 closed bug (WontFix)

Adding torrent through JSON API fails due to "Invalid JSON request content-type: text/plain;charset=UTF-8"

Reported by: krichter Owned by:
Priority: minor Milestone: needs verified
Component: Unknown Version: other (please specify)
Keywords: Cc:

Description

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

Change History (1)

comment:1 Changed 21 months ago by Cas

  • Resolution set to WontFix
  • Status changed from new to closed

Your issue is detailed in the error:

Invalid JSON request content-type: text/plain

Relevant forum discussion: http://forum.deluge-torrent.org/viewtopic.php?f=7&t=54428

Note: See TracTickets for help on using tickets.