NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR iOS and AppleTV Clients v
« Previous 1 2 3 4 5 6 Next »
iOS/ATV Auto adding port number

 
  • 0 Vote(s) - 0 Average
iOS/ATV Auto adding port number
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#11
2023-08-24, 09:14 PM
If you want to PM me the hostname and pin, I'll check it from here.
Mark-McG
Offline

Member

Posts: 75
Threads: 8
Joined: Dec 2019
#12
2023-08-24, 09:36 PM
(2023-08-24, 09:14 PM)sub Wrote: If you want to PM me the hostname and pin, I'll check it from here.

PM Sent Smile thanks
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#13
2023-08-24, 10:03 PM
Have you ever tried logging into the web app via this proxy? Looks like it has the same issue. I couldn't grab the logs due to this issue.

Basically every request is being rejected due to bad session.
Mark-McG
Offline

Member

Posts: 75
Threads: 8
Joined: Dec 2019
#14
2023-08-24, 10:10 PM
(2023-08-24, 10:03 PM)sub Wrote: Have you ever tried logging into the web app via this proxy? Looks like it has the same issue.  I couldn't grab the logs due to this issue.

Basically every request is being rejected due to bad session.

yes I get the exact same behaviour. I am using the docker image with built in com skip etc, could the issue be with the container?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#15
2023-08-24, 10:25 PM
No, I think it's just to do with the way your reverse proxy is passing the requests to the NextPVR server. NextPVR thinks some other ip address is trying to hijack your session, so is disallowing it).

Unfortunately I can't see it very clearly in the logs you provided. Maybe try restarting the container (to force new log files), then try remotely connecting using the web app (ideally from a incognito/private browser session), then collect the logs and post them.
Mark-McG
Offline

Member

Posts: 75
Threads: 8
Joined: Dec 2019
#16
2023-08-24, 10:35 PM
(2023-08-24, 10:25 PM)sub Wrote: No, I think it's just to do with the way your reverse proxy is passing the requests to the NextPVR server. NextPVR thinks some other ip address is trying to hijack your session, so is disallowing it).

Unfortunately I can't see it very clearly in the logs you provided. Maybe try restarting the container (to force new log files), then try remotely connecting using the web app (ideally from a incognito/private browser session), then collect the logs and post them.

okay will do. its late here in the UK so will re-visit tomorrow
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#17
2023-08-25, 01:48 AM
Is your website behind a VPN? The confusing thing is that all your requests seem to be coming from different ip addresses, and NextPVR thinks someone is trying to hijack your session.
Mark-McG
Offline

Member

Posts: 75
Threads: 8
Joined: Dec 2019
#18
2023-08-25, 12:31 PM
(2023-08-25, 01:48 AM)sub Wrote: Is your website behind a VPN? The confusing thing is that all your requests seem to be coming from different ip addresses, and NextPVR thinks someone is trying to hijack your session.


No its not, its all done via cloudflare and nginx proxy manager... so strange!

I run a number of other docker containers through this method and it works fine, no idea whats going on
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,170
Threads: 958
Joined: May 2006
#19
2023-08-25, 12:43 PM (This post was last modified: 2023-08-25, 12:46 PM by mvallevand.)
I figured it was a Cloudflare issue. I think you need to research nginx and Cloudflare, but one simple suggestion that might work would be to add this to nginx.conf so NextPVR doesn't see the proxy IP.

real_ip_header CF-Connecting-IP;

Martin
Mark-McG
Offline

Member

Posts: 75
Threads: 8
Joined: Dec 2019
#20
2023-08-25, 07:30 PM (This post was last modified: 2023-08-25, 07:30 PM by Mark-McG.)
(2023-08-25, 12:43 PM)mvallevand Wrote: I figured it was a Cloudflare issue.  I think you need to research nginx and Cloudflare,  but one simple suggestion that might work would be  to add this to nginx.conf so NextPVR doesn't see the proxy IP.

real_ip_header    CF-Connecting-IP;

Martin

That's done it! thank you very much Martin. 

I am really at the limit of my knowledge with these things and you, together with Sub have navigated me through. thanks again!

Next adventure is com skip!
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (3): « Previous 1 2 3 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode