MediaSignage support forum

community support => Report bugs and errors => Topic started by: blackfox123 on November 26, 2015, 12:23:10 PM

Title: LAN Server interrupts - Port open server not responding after update.
Post by: blackfox123 on November 26, 2015, 12:23:10 PM
I'm trying to send an interrupt to the signage player, but having mixed results. 75% of the time it seems to work, however after a signageplayer update (by this i mean re-sync content, or upload new resources etc) it seems the LAN server on the player doesn't respond..

The only way i can get this to work again, is to either reboot the player or wait a decent amount of time (around 30mins).

I've troubleshooted this to the max, even with network sniffing portscanning etc.

My port 8888
    Open TCP Port:    8888         ddi-tcp-1

I'm sending my command as - curl "http://192.168.1.19:8888/sendLocalEvent?eventName=Event1"
and receiving curl: (52) Empty reply from server
It seems the port is open, just that the LAN server doesn't respond..


Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: admin on November 29, 2015, 03:07:40 PM
please work with Lawrence on live chat to see if we can reproduce the issue... as we have not seen any open bugs in regards to this, and this feature is heavily used throughout the system.
regards
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: admin on November 30, 2015, 08:18:04 AM
Ran tests in our lab and we couldn't reproduce your issue.  Everything worked from curl commands thru lan server to javascript commands thru the server.

Ran curl commands, worked. Updated player with different screen division assigned to it. And tested again, worked. Made another update still worked.

See video: http://screencast.com/t/ry8WwfSApD2k


What version are you running? We tested on latest version 4.34.35 running on our MediaBOX300.  Maybe something in your network causing the glitch?

Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: blackfox123 on February 05, 2016, 02:13:59 AM
I've been testing this a lot in the past month or so and am still having problems.

It seems that when the system first starts, the LAN serer doesnt startup, even when i start/stop the player from the control panel.

If however, i close down the signage player, start it up again.. it then starts.

if i reboot, i have to do the above to get the LAN Server to fully start.

Here is a screenshot of my replicating the error: http://cl.ly/0Q2h3h370V0v
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: blackfox123 on February 05, 2016, 05:59:22 AM
Ran tests in our lab and we couldn't reproduce your issue.  Everything worked from curl commands thru lan server to javascript commands thru the server.

Ran curl commands, worked. Updated player with different screen division assigned to it. And tested again, worked. Made another update still worked.

See video: http://screencast.com/t/ry8WwfSApD2k


What version are you running? We tested on latest version 4.34.35 running on our MediaBOX300.  Maybe something in your network causing the glitch?

Version 4.34.35
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: admin on February 07, 2016, 08:13:34 PM
for support please contact live chat as the forum is mostly user to user support.
for support from MediaSignage live chat will yield immediate help...
regards
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: blackfox123 on February 08, 2016, 11:23:33 AM
I already did this, and was told to wait it out on the forum for a developer to reply.
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: admin on February 12, 2016, 10:32:18 AM
Yeah,

We cant replicate your issue, here is another test we did with a station being rebooted, and we have no issues,  worked perfectly in all our tests.

http://screencast.com/t/h6iZmttMXWm (http://screencast.com/t/h6iZmttMXWm)
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: blackfox123 on February 13, 2016, 08:47:38 AM
OK is there something i'm missing with my setup then?

Do i need to run the SignagePlayer.exe as administrator? You're using windows 10.. however i'm using Win7POSReady.
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: admin on February 15, 2016, 05:46:56 AM
Not sure what is wrong with your setup, looks like something in your network could possibly filtering or blocking ports.  The windows 10 test bed was for the last test, initial tests were all run on windows 7 embedded on our mediaboxes. Same results, everything worked fine.
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: blackfox123 on February 15, 2016, 06:25:01 AM
OK, but i have tried on three different networks, three different players.. I'm getting the same results.

What is the best way to debug this?

Code: [Select]
Ryan:~ ryan$ nc -zv 10.140.160.142 9999
found 0 associations
found 1 connections:
     1: flags=82<CONNECTED,PREFERRED>
outif en4
src 10.140.160.106 port 54432
dst 10.140.160.142 port 9999
rank info not available
TCP aux info available

Connection to 10.140.160.142 port 9999 [tcp/distinct] succeeded!
Ryan:~ ryan$ curl http://10.140.160.142:9999/sendLocalEvent?eventName=Event1
curl: (52) Empty reply from server

However if i quit the SignagePlayer.exe and start it up again.. it works..

Code: [Select]
Ryan:~ ryan$ nc -zv 10.140.160.142 9999
found 0 associations
found 1 connections:
     1: flags=82<CONNECTED,PREFERRED>
outif en4
src 10.140.160.106 port 54449
dst 10.140.160.142 port 9999
rank info not available
TCP aux info available

Connection to 10.140.160.142 port 9999 [tcp/distinct] succeeded!
Ryan:~ ryan$ curl http://10.140.160.142:9999/sendLocalEvent?eventName=Event1
nullRyan:~ ryan$

Yet i can see the port is still open on both attempts.

Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: blackfox123 on February 15, 2016, 06:42:28 AM
Wow, it seems i may have found something.

I have a customized shell for windows, in which i have just placed the signageplayer startup.bat file as a replacement.. this has just booted straight into the signageplayer without the explorer.exe starting up.. a good solution so i thought.

However this interferes with the networking or server of the player so it would seem.

I have now defaulted to the explorer.exe and it works.

Any reasons why this is acting this way?

That is:
Code: [Select]
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: admin on February 15, 2016, 07:41:26 AM
it may cut down on the windows services available and that could be the reason
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: blackfox123 on February 16, 2016, 07:07:08 AM
it may cut down on the windows services available and that could be the reason

After a while day of testing, this still isn't solved. I've tried many things.. and it seems STILL, when updating the player, syncing the port remains open but doesnt respond to any HTTP requests.

This is back on the default explorer.exe shell, a default vanilla installation of POSReady7, Updated fresh installation of SignagePlayer.exe
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: blackfox123 on February 21, 2016, 08:25:47 AM
it may cut down on the windows services available and that could be the reason

After a while day of testing, this still isn't solved. I've tried many things.. and it seems STILL, when updating the player, syncing the port remains open but doesnt respond to any HTTP requests.

This is back on the default explorer.exe shell, a default vanilla installation of POSReady7, Updated fresh installation of SignagePlayer.exe

I've tried this on a fresh install of windows 10, fresh install of signage player..

I have the same problem! this must be a bug?

How i'm testing:

Start the Player (Computer) and send a curl command.. this works..
add a resource, or change somehting on the timeline, then push an update, send a command via curl over the lan - this doesn't work.. results in the curl command timing out.

Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: admin on February 22, 2016, 08:50:14 AM
Unfortunately,  we cannot fix what we cannot replicate. All our test points towards everything working fine.  If this was a valid bug, it will affect more people and so far  we have not had any complaints over it.

Make sure you are not editing how the signage player is supposed to be started up.  Via the AutoStartSignage.bat shortcut to see if that helps.

Video of another test done on windows 7 this time.
http://screencast.com/t/lmZlnX4bRH25
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: blackfox123 on February 23, 2016, 01:23:51 AM
Unfortunately,  we cannot fix what we cannot replicate. All our test points towards everything working fine.  If this was a valid bug, it will affect more people and so far  we have not had any complaints over it.

Make sure you are not editing how the signage player is supposed to be started up.  Via the AutoStartSignage.bat shortcut to see if that helps.

Video of another test done on windows 7 this time.
http://screencast.com/t/lmZlnX4bRH25


OK after reviewing your video - i can see you're not exactly re-producing the steps that I take to cause the problem.. Here is another video of the steps I go through.


http://cl.ly/1d3H3X1W0Q3X

I don't understand that installing on a brand new machine, new OS, different network, different hardware - i can still re-produce the problem.

There must be something wrong with the socket connection not timing out or restarting correctly ?


I can provide you with a VNC connection to the node if you wish to test..

Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: admin on February 23, 2016, 12:41:25 PM
Everything is pointing towards something in your installation or network that could be blocking ports.
So in your tests, you basically update the campaign and tell the player to check for updates, here is our test using the same steps you have done.

http://screencast.com/t/jfYn52oH55X

Also, please try to remove the campaign from using the scheduler or build the campaign from scratch maybe there is a hidden conflict or glitch somewhere in the system that we cannot replicate.
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: blackfox123 on February 24, 2016, 01:27:08 AM
Everything is pointing towards something in your installation or network that could be blocking ports.
So in your tests, you basically update the campaign and tell the player to check for updates, here is our test using the same steps you have done.

http://screencast.com/t/jfYn52oH55X

Also, please try to remove the campaign from using the scheduler or build the campaign from scratch maybe there is a hidden conflict or glitch somewhere in the system that we cannot replicate.

OK, so we've ruled out that - I have tried switching back to the standard schedule. im having the problem when i sync and update players.. however if i sync.. then update the player manually (click stations, then click start/stop) the interrupts seem to work.

Maybe you could try and hookup my campaign to your test environment and have a look at the problem ?



I have also noticed this:

On sending the http request from my client, i can see that the netstat reveals that the local address 192.168.1.96:9999 is in state ESTABLISHED... so the port is open up, and excepting connections.. it seems the media signage player isn't responding to that request. So we can rule out the network connections, as i'm successfully connecting OK to the players port.
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: Ron P on February 25, 2016, 04:08:02 AM
blackfox123

i tried to work with your test campaign "New Campaign" I copied from you.  to simulate, i used my win 10 tablet running intel atom w/ 2gb memory to act as my player.  with that, i was able to successfully send curl to my player.  i did try doing a Save/Upload the player - i even did try changing a campaign, but still curl responded.

can you try to set the timeout on your curl command? ex. curl --max-time 3000

Ron P
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: blackfox123 on February 25, 2016, 11:06:32 AM
Tried with the timeout, tried in windows 10 fresh install, tried windows 7. I've tried with windows curl.exe, ive tried curl from debian, macosx all latest versions.
I have three NUC units sitting on my desk one of them is from a sealed box, never been used.. a fresh installation of the signageplayer.exe all i have done is disabled the firewall... i get the same problem :(


I've tried updating the content, saving it through the studio, then restarting signageplayer.exe it doesnt work..

When updating the content through the studio, and issuing a save and system reboot.. curl then sends the request ok.

Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: blackfox123 on March 01, 2016, 03:09:48 AM
Any update on this? I still have major problems with the LAN server interrupts.. and i dont seem to be getting anywhere with the support..
Title: Re: LAN Server interrupts - Port open server not responding after update.
Post by: neil.sherman on July 21, 2017, 09:29:10 AM
I realise this is an old thread, but I had this exact same issue.

Having spent some time with Ron (from support) looking into it, it turns out simply changing the port the LAN server was using fixed it for me.

I was previously using port 9999 and switching to 8080 fixed the issue.