• We are using .NETMF 4.1
• GHIElectronics.NETMF 4.17
• DPWS_V_4_1_7706_0
• WsHttp configured web services
Calls over SSL generate the following exceptions. Normally, this is innocuous but sometimes causes hard faults which freezes the application:
The thread ‘’ (0x12) has exited with code 0 (0x0).
#### Exception System.Net.Sockets.SocketException - CLR_E_FAIL (17) ####
#### Message:
#### Microsoft.SPOT.Net.SocketNative::poll [IP: 0000] ####
#### System.Net.Sockets.Socket::Poll [IP: 0011] ####
#### System.Net.Sockets.Socket::Accept [IP: 0017] ####
#### System.Net.HttpListener::AcceptThreadFunc [IP: 0020] ####
#### SocketException ErrorCode = -1728053248
#### SocketException ErrorCode = -1728053248
#### SocketException ErrorCode = -1728053248
The thread ‘’ (0x11) has exited with code 0 (0x0).
Not enough information to give you any useful answer. Please provide a simple test app demonstrating this problem.
Hi Gus,
Okay, I now have a hosted web service that you can safely exercise the code. Where can I upload the source code or should I send it directly to you?
I have removed the using (idiomatic construct) around the client proxy instantiation to reduce the number of exceptions.
Either way, in a short period of time the system will start failing and will no longer be able to communicate with the network
I have verified the behavior of this code both on our custom board and on the GHI Development Board.
Let me know if you need anything additional from me…
Thanks,
Glenn
Okay, it is now up there…
The title of it is TestDPWSandSSL
Thanks,
Glenn
Any updates Gus? I noticed you have not responded since I added more detail around the issue.