Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle unexpected connection closure of the AIS Transmitter #2

Open
HowardvanRooijen opened this issue Aug 6, 2019 · 0 comments
Open
Assignees

Comments

@HowardvanRooijen
Copy link
Contributor

The AIS Transmitter sometimes hangs and needs a reboot, when this happens the AIS Receiver crashes with the following exception.

Unhandled Exception: System.Net.Internals.SocketExceptionFactory+ExtendedSocketException: No connection could be made because the target machine actively refused it 153.44.253.27:5631 at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.<>c.<ConnectAsync>b	28_l(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory'1.FromAsyncCoreLogic(IAsyncResult iar, Func'2 endFunction, Action'1 endAction, Task'1 promise. Boolean requiresSynchronization)End of stack trace from previous location where exception was thrown —
at Endjin.Ais.Receiver.NmeaReceiver.InitaliseAsync() in C:\Ais.Net.Receiver\NmeaReceiver.cs:line 48 at Endjin.Ais.Receiver.Program.Main(String[] args) in C:\Ais.Net.Receiver\Program.cs:line 33 at Endjin.Ais.Receiver.Program.<Main>(String[] args)
@HowardvanRooijen HowardvanRooijen self-assigned this Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant