NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 81 82 83 84 85 … 101 Next »
Server hangs on script

 
  • 0 Vote(s) - 0 Average
Server hangs on script
markn62
Offline

Member

Posts: 214
Threads: 36
Joined: Oct 2019
#1
2020-06-13, 10:25 PM
Any idea what causes the server to go into a non-stop script execute?  Think it does it when I rescan devices.  Maybe this is why rescan doesn't appear to do anything. Have to stop and restart the server to abate it.

...snip...
[4] Got request [::ffff:127.0.0.1]: /services/service (setting.scan.status)
[4] method=setting.scan.status
[4] parameters:
[4]    method: setting.scan.status
[4]    format: json
[4]    sid: cd9e1660-9c4a-4354-8ba7-5d8041121dab
[4]    client_ip: ::ffff:127.0.0.1
[4]    user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363
[4]    host_callback: 127.0.0.1:8866
[4] setting.scan.status
2020-06-13 14:53:26    Renewing session: cd9e1660-9c4a-4354-8ba7-5d8041121dab
[4] {"stat":"Failed","code":11,"msg":"Scanner not active"}
...snip...
[24] Got request [::ffff:127.0.0.1]: /services/service (setting.scan.status)
[24] method=setting.scan.status
[24] parameters:
[24]    method: setting.scan.status
[24]    format: json
[24]    sid: cd9e1660-9c4a-4354-8ba7-5d8041121dab
[24]    client_ip: ::ffff:127.0.0.1
[24]    user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363
[24]    host_callback: 127.0.0.1:8866
[24] setting.scan.status
2020-06-13 14:53:26    Renewing session: cd9e1660-9c4a-4354-8ba7-5d8041121dab
[24] {"stat":"Failed","code":11,"msg":"Scanner not active"}
...snip...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#2
2020-06-13, 10:29 PM
That's not a hang, and is fairly harmless.

You can get messages like that if you have the web page open doing a scan, and restart the server, and the page is still in the background asking 'hows that scan going'?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#3
2020-06-13, 10:31 PM
Do you remember what type of scan type was? Most device types now stop after getting this error, but I suspect I still need to change the logic on some another scan type or two.
markn62
Offline

Member

Posts: 214
Threads: 36
Joined: Oct 2019
#4
2020-06-13, 10:37 PM
(2020-06-13, 10:31 PM)sub Wrote: Do you remember what type of scan type was? Most device types now stop after getting this error, but I suspect I still need to change the logic on some another scan type or two.
As I mentioned in the prior post, I think it happens when I rescan, presumably all sources, both iptv and HdHomerun Duo box. Did it before I installed the HDHR tho. I hope I'm understanding your question.  If you would like me to attempt to replicate it, I can.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#5
2020-06-13, 10:42 PM
(2020-06-13, 10:37 PM)markn62 Wrote: ...presumably all sources, both iptv and HdHomerun Duo box. Did it before I installed the HDHR tho. I hope I'm understanding your question.  If you would like me to attempt to replicate it, I can.
It's not all sources types, because I've fixed it on some...but I cant remember which Big Grin

If you can reproduce it, let me know and I'll take a close look at that specific type of source.
markn62
Offline

Member

Posts: 214
Threads: 36
Joined: Oct 2019
#6
2020-06-13, 10:52 PM
(2020-06-13, 10:42 PM)sub Wrote:
(2020-06-13, 10:37 PM)markn62 Wrote: ...presumably all sources, both iptv and HdHomerun Duo box. Did it before I installed the HDHR tho. I hope I'm understanding your question.  If you would like me to attempt to replicate it, I can.
It's not all sources types, because I've fixed it on some...but I cant remember which Big Grin

If you can reproduce it, let me know and I'll take a close look at that specific type of source.
Just tried a renew and that alone didn't do it. It may have been because I had a browser session open when I stopped the server, on another device. When I encounter it again I'll take copious notes and reply here.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,837
Threads: 954
Joined: May 2006
#7
2020-06-13, 10:55 PM
Rescan isn't perfect. I often have to ctrl-f5 wait etc, but I find it just as easy to restart the server.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#8
2020-06-13, 10:58 PM
(2020-06-13, 10:55 PM)mvallevand Wrote: Rescan isn't perfect.  I often have to ctrl-f5 wait etc, but I find it just as easy to restart the server.
The worst case is if you're an HDHomeRun owner, and have at least 1 device unplugged, since there is some significant delays added because of this, otherwise If you've just got regular DVB/ATSC tuners, or IPTV etc, then it's pretty much instant and reliable.
markn62
Offline

Member

Posts: 214
Threads: 36
Joined: Oct 2019
#9
2020-06-13, 10:58 PM
(2020-06-13, 10:55 PM)mvallevand Wrote: Rescan isn't perfect.  I often have to ctrl-f5 wait etc, but I find it just as easy to restart the server.

Martin
Ya, that's what I've always done, a restart, without any appearance of screwing things up. Just didn't want to be making scrambled eggs of the db or something.  Helpful to know it's likely something trying to communicate and isn't getting a response. Thanks.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  reinstall and configuration buttons do not work to configure the server. kindeshaun@gmail.com 6 343 2025-02-21, 05:17 AM
Last Post: kindeshaun@gmail.com
  EPG Script Error? RedDevilJoe 4 328 2025-02-01, 01:16 AM
Last Post: RedDevilJoe
  FritzBox 6490 - No Server found Rickman74 17 2,433 2024-11-30, 01:15 PM
Last Post: Bobins
  Script to Run "Update Channels"? AWR2375 4 602 2024-09-23, 01:21 PM
Last Post: AWR2375
  nlite client -server option has stopped working meccano 4 508 2024-08-31, 08:23 PM
Last Post: mvallevand
  Unable to connect to remote server Brucek2839 18 1,950 2024-04-05, 02:33 PM
Last Post: mvallevand
  Some recordings fail with server not running nikkilocke 12 1,222 2024-02-29, 01:15 AM
Last Post: mvallevand
  Server hibernates while playing recording with kodi fla 4 674 2024-02-18, 10:53 PM
Last Post: fla
  no server tm003 5 845 2024-01-20, 04:11 PM
Last Post: mvallevand
  Server IP showing in client… Colincam 6 822 2024-01-07, 04:48 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode