Everything works fine locally - but not remotely... SOLVED

Forum for questions and support relating to the 1.24.x releases only.
Locked
timf
Posts: 132
Joined: Mon Mar 21, 2005 4:07 pm
Location: Lytham St.Annes Lancs.

Everything works fine locally - but not remotely... SOLVED

Post by timf »

I have v1.24.1 installed on Ubuntu 8.10 and when I log into the ZM box from another PC on my local network the console consistently freezes up when I try and watch a stream. Typically only getting a few frames before ZM becomes unresponsive.

So just for kicks I though I'd try the same test locally on the box actually running ZM (localhost/index.php) and everything worked 100% no problems at all - even when the remote box was stalled.
I also tried 192.168.1.11/index.php on the same local machine - again everything was great.

It only seems to stall when using a physically external machine to access ZM.

Both boxes are running Firebox, although the remote box is running vista and Cambozola - I thought it maybe a firewall / selinux / iptables issue. I've checked - none of them are enabled / blocking ports.

Nothing in the ZM logs indicate a problem - not surprising as ZM is clearly still running locally. Likewise nothing in apache log - bit stumped here (again).

Any suggestions ?
Last edited by timf on Mon Mar 16, 2009 2:35 am, edited 1 time in total.
User avatar
Blazer
Posts: 234
Joined: Sun Jun 05, 2005 12:57 pm

Post by Blazer »

are you sure the ports arent being blocked? If it works locally but not remotely that has to be the issue.

run "iptables -L" and see if it is running?

From remote can you telnet to your servers IP on port 80 and get a connection?
timf
Posts: 132
Joined: Mon Mar 21, 2005 4:07 pm
Location: Lytham St.Annes Lancs.

I agree...

Post by timf »

something is blocking the traffic/ I've run iptables -L and it's in its default state ie pass all both ways. Remotely I can get to the console page ok - but as soon as I try and stream I get a few frames of video then everything stalls on the remote PC. Of course zm continues to run locally just fine.

I going to try the same test on my win2k machine to see if I get the same result - it could be a vista thing.
User avatar
Blazer
Posts: 234
Joined: Sun Jun 05, 2005 12:57 pm

Post by Blazer »

This is a longshot but run /sbin/mii-tool and see if your interface is running in half-duplex mode. I have seen this cause the problems you describe. If it is indeed half-duplex you can force full duplex by either:

/sbin/mii-tool -F 100baseTx-FD
or
/sbin/ethtool -s eth0 speed 100 duplex full autoneg off

Also note that MJPEG streaming usually does not work in IE, only Firefox, so make sure you remote machine is using Firefox (you said it was).
timf
Posts: 132
Joined: Mon Mar 21, 2005 4:07 pm
Location: Lytham St.Annes Lancs.

Solved...

Post by timf »

Treid what you suggested but nothing wrong with the settings.

However I had set the ZM box network card to a fixed IP address and set MTU to 7000 (jumbo frame).

I have all my PC's on fixed IP address, gigabit network and jumbo frames enabled as it makes tremendous difference when transferring large files.

But in this case setting MTU to automatic on the ZM box fixed the problem - strange but true !
Locked