linuxserver / docker-tvheadend

GNU General Public License v3.0
167 stars 90 forks source link

http error 400 on ios #81

Closed cpo81 closed 6 years ago

cpo81 commented 6 years ago

Hi,

docker container seems to work well, great work done.

However the ios clients do have a problem, I get bad request 400 on the client. With http Browser the access and watching is working

Here the logs, the ip in the logs is the client ip

2018-03-22 07:23:33.230 http: 10.33.0.110: HTTP/1.1 POST (3) /api/channeltag/grid -- 400 2018-03-22 07:23:33.230 http: 10.33.0.110: HTTP/1.1 GET (1) /api/serverinfo -- 400 2018-03-22 07:23:33.230 http: 10.33.0.110: HTTP/1.1 POST (3) /api/channel/grid -- 400 2018-03-22 07:23:33.231 http: 10.33.0.110: HTTP/1.1 GET (1) /api/status/subscriptions -- 400 2018-03-22 07:23:33.260 http: 10.33.0.110: HTTP/1.1 GET (1) /api/mpegts/network/grid?limit=99999999 -- 400 2018-03-22 07:23:33.261 http: 10.33.0.110: HTTP/1.1 GET (1) /api/status/inputs -- 400 2018-03-22 07:23:33.261 http: 10.33.0.110: HTTP/1.1 GET (1) /api/mpegts/mux/grid?limit=99999999 -- 400 2018-03-22 07:23:33.261 http: 10.33.0.110: HTTP/1.1 GET (1) /api/mpegts/service/grid?limit=99999999 -- 400 2018-03-22 07:23:33.295 http: 10.33.0.110: HTTP/1.1 GET (1) /api/profile/list -- 400 2018-03-22 07:23:33.306 http: 10.33.0.110: HTTP/1.1 GET (1) /config?op=loadSettings -- 400 2018-03-22 07:23:33.306 http: 10.33.0.110: HTTP/1.1 POST (3) /api/idnode/load -- 400 2018-03-22 07:23:33.306 http: 10.33.0.110: HTTP/1.1 POST (3) /api/channeltag/grid -- 400 2018-03-22 07:23:33.314 http: 10.33.0.110: HTTP/1.1 GET (1) /extjs.html -- 400 2018-03-22 07:23:34.267 http: 10.33.0.110: HTTP/1.1 POST (3) /comet/poll -- 400 2018-03-22 07:23:35.249 http: 10.33.0.110: HTTP/1.1 POST (3) /comet/poll -- 400 2018-03-22 07:23:36.231 http: 10.33.0.110: HTTP/1.1 POST (3) /comet/poll -- 400 2018-03-22 07:23:37.227 http: 10.33.0.110: HTTP/1.1 POST (3) /comet/poll -- 400 2018-03-22 07:23:38.233 http: 10.33.0.110: HTTP/1.1 POST (3) /comet/poll -- 400 2018-03-22 07:23:39.229 http: 10.33.0.110: HTTP/1.1 POST (3) /comet/poll -- 400

tobbenb commented 6 years ago

Which tag do you use for the container? Might be a problem with the client you use.

cpo81 commented 6 years ago

Thanks for the reply, I use "latest"

vistalba commented 6 years ago

Same issue here with TVHclient and also plexheadend. Both worked before.

It looks like the problem is user:pass in the URL. ( http://user:pass@server:9981)

vistalba commented 6 years ago

@cpo81 are you using kubernetes?

cpo81 commented 6 years ago

no, docker run on ubuntu

here’s my startup command

sudo docker run --detach \ --name tv.domain.nethttp://tv.domain.net \ --net=host \ --restart always \ --volume /srv/tvheadend/config:/config \ --volume /srv/tvheadend/recordings:/recordings \ --volume /srv/tvheadend/picons:/picons \ -e PGID=1001 -e PUID=1001 \ linuxserver/tvheadend:latest

On 22.03.2018, at 23:04, vistalba notifications@github.com<mailto:notifications@github.com> wrote:

@cpo81https://github.com/cpo81 are you using kubernetes?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/linuxserver/docker-tvheadend/issues/81#issuecomment-375472617, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXJuOcY54XBnRvwzjrcbJPhPJA8kW2ZZks5thB_agaJpZM4S2k41.

vistalba commented 6 years ago

Okay... I think I found a solution for my problems. (TVHClient and plexheadend).

Check your tvheadend server configuration:

General -> Base -> Authentication Type = Both plain and digest (Look at screenshot).

As I understood this is new in tvheadend 4.3

image

cpo81 commented 6 years ago

Yes!!! That did the trick Thank you very much Works perfectly now

On 23.03.2018, at 10:45, vistalba notifications@github.com<mailto:notifications@github.com> wrote:

Okay... I think I found a solution for my problems. (TVHClient and plexheadend).

Check your tvheadend server configuration:

General -> Base -> Authentication Type = Both plain and digest (Look at screenshot).

As I understood this is new in tvheadend 4.3

[image]https://user-images.githubusercontent.com/12324196/37822506-f54be9b8-2e86-11e8-9263-75dab31ca9ef.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/linuxserver/docker-tvheadend/issues/81#issuecomment-375597259, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXJuOaY2LnUCd4wfaFTrNjKU3iSx_RGWks5thMQ6gaJpZM4S2k41.

sparklyballs commented 6 years ago

can you close the issue @cpo81 if you're happy it's resolved