NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
1 2 3 4 5 … 93 Next »
Invalid session?

 
  • 0 Vote(s) - 0 Average
Invalid session?
mandai
Offline

Junior Member

UK
Posts: 9
Threads: 1
Joined: Nov 2020
#1
2021-07-24, 10:14 PM
Hi I am trying to get the EPG data from this URL
http://127.0.0.1:8866/services/service?m...gs.current

but it gives this response
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
  <err code="8" msg="Invalid Session" />
</rsp>


This has only happened after I updated to version 5.1.3.210711. Is there any way to fix this?
I have ticked the options for Allow remote access/Allow unauthenticated access (this is only accessed locally).
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#2
2021-07-24, 10:21 PM
Generally you need to be logged in to call those urls, and supply a sid on the url.

You can probably set <AutoAuthLocalConnections>true</AutoAuthLocalConnections> in the <WebServer> section of config.xml.
mandai
Offline

Junior Member

UK
Posts: 9
Threads: 1
Joined: Nov 2020
#3
2021-07-24, 11:10 PM
Thanks it is working after editing the config.xml file  Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



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

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

Linear Mode
Threaded Mode