get_iplayer forums

Web PVR: Can't connect to http://127.0.0.1:1935 - Printable Version

+- get_iplayer forums (https://forums.squarepenguin.co.uk)
+-- Forum: macOS Forums (https://forums.squarepenguin.co.uk/forum-9.html)
+--- Forum: macOS Troubleshooting (https://forums.squarepenguin.co.uk/forum-12.html)
+---- Thread: Web PVR: Can't connect to http://127.0.0.1:1935 (https://forums.squarepenguin.co.uk/thread-1877.html)



Web PVR: Can't connect to http://127.0.0.1:1935 - tomcoady - 07-09-2018

get_iplayer_web_pvr    
shows                                                                                              1 ↵
Code:
Starting Web PVR Manager server...
Opening Web PVR Manager client...
There is no screen to be resumed.

Then Safari opens with a message saying it can't connect to localhost.
I've searched for similar issues here and elsewhere, but none specific to OS X
Is there some debug mode that would offer a few more clues?
I tried disabling the firewall, no difference.


RE: Can't connect to http://127.0.0.1:1935 - dinky - 07-09-2018

The web pvr server component died on launch. Likely an installation or system configuration problem. Save the code below in a file named "get_iplayer_cgi" in your working directory. Run it with /bin/bash get_iplayer_cgi. Ctrl-C to stop. Post the output.

Code:
#!/bin/bash
GIPDIR=/usr/local/get_iplayer
GIPCLI=$GIPDIR/bin/get_iplayer
GIPWPM=$GIPDIR/bin/get_iplayer.cgi
export PATH="$GIPDIR/bin${PATH:+:${PATH}}"
export PERL5LIB="$GIPDIR/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"
LISTEN=${LISTEN:-127.0.0.1}
PORT=${PORT:-1935}
BASEURL=${BASEURL:+-b ${BASEURL}}
sw_vers
echo PERL5LIB=$PERL5LIB
[[ -x $GIPWPM ]] && echo found $GIPWPM
[[ -x $GIPCLI ]] && echo found $GIPCLI
echo "Starting Web PVR Manager server..."
$GIPWPM -g $GIPCLI -l $LISTEN -p $PORT $BASEURL



RE: Web PVR: Can't connect to http://127.0.0.1:1935 - tomcoady - 04-12-2018

Thanks Dinky, that works perfectly :)

Actually it started working spontaneously beforehand, but most likely because I think I had a few broken paths in my shell if you know what I mean ;)