logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
ber142  
#1 Posted : Wednesday, February 19, 2014 7:59:14 AM(UTC)
ber142

Rank: Advanced Member

Groups: Registered
Joined: 12/2/2011(UTC)
Posts: 77
Location: Europe / The Netherlands

Was thanked: 4 time(s) in 4 post(s)
Hi Martin,

I've got some issues with the web API. We're using it frequently (both for tally as via our own control software) and sometimes it's doesn't respond after a while.

I'll try to investigate (probably I do something wrong with the API commands) however I didn't succeed. There is no pattern I can discover. Not in time, not in the data (read: kind of requests).

I digged into the log files and see two patterns:

pattern 1:
========================================
11.0.0.66 - CONNECTION ERROR - 16-1-2014 14:07:41
========================================
System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamReader.ReadBuffer()
at System.IO.StreamReader.ReadLine()
at szzzzy.n()
at szzzzy.h()
at fi.g(Object a)
========================================
11.0.0.66 - CONNECTION ERROR - 16-1-2014 14:08:41
========================================
System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.50:554
at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
at szzzzy..ctor(Uri a)
at fi.e(StreamType a, String a)
at fi.g(Object a)
========================================
11.0.0.66 - CONNECTION ERROR - 16-1-2014 14:11:41
========================================
System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.50:554
at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
at szzzzy..ctor(Uri a)
at fi.e(StreamType a, String a)
at fi.g(Object a)


pattern 2:
========================================
11.0.0.63 - ERROR - 30-12-2013 22:21:04
========================================
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)
at System.Net.Sockets.Socket.Send(Byte[] buffer)
at vMix.SimpleProtocol.h(String a)
at vMix.SimpleProtocol.e(SimpleProtocolArgs a)
at ev.h()
========================================
11.0.0.63 - ERROR - 30-12-2013 22:24:06
========================================
System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.6:20555
at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
at vMix.SimpleProtocol..ctor(String hostName, Int32 port)
at ev.e()
at ev.f()
at ev.h()
========================================
11.0.0.63 - ERROR - 30-12-2013 22:25:24
========================================
System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.6:20555
at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
at vMix.SimpleProtocol..ctor(String hostName, Int32 port)
at ev.e()
at ev.f()
at ev.h()

As you can see the version numbers differ. Do you have any ideas? Is it a bug in vMix or do I something wrong?

For your information, our own control software runs on a different machine (connected via gigabit LAN).

When I change the port number in vMix and uncheck/check 'Enabled', it works fine on the new port number (since I can't restart vMix during a session).

Regards,
Hanno.

admin  
#2 Posted : Wednesday, February 19, 2014 9:12:34 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,208
Man
Location: Gold Coast, Australia

Was thanked: 4288 time(s) in 1520 post(s)
Hi,

Can you find out what kind of error occurs on the control software or browser end?
The errors in the log occur if a browser closes a connection so they can usually be ignored,
but not being able to connect at all after a while is certainly a strange bug I would like to get to the bottom of.

Regards,

Martin
vMix
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.