Comments (10)
Is this some thing related to the fixes checked in following dotnetty commit Azure/DotNetty@b2f10c2
from azure-iot-protocol-gateway.
@whizlingo, fixes in DotNetty are for extraneous errors that follow actual channel closure - that's only about cleaning up noise. If connection gets closed by the remote party as described in the error, you should check the remote party - simulator you've mentioned - for reasons to close the connection. If it's not possible at least checking the exchange on the wire with wireshark might shed some light on this.
from azure-iot-protocol-gateway.
@nayato , We are getting the calls to Exception Caught as soon as we run the service basically post the Channel active event is fired. There is no device trying to connect using device simulator.
from azure-iot-protocol-gateway.
Are you saying it is TcpServerSocketChannel that throws and not TcpSocketChannel?
from azure-iot-protocol-gateway.
Yeah It seems when the stack trace of the exception is
at DotNetty.Transport.Channels.Sockets.SocketChannelAsyncOperation.Validate() at DotNetty.Transport.Channels.Sockets.AbstractSocketByteChannel.SocketByteChannelUnsafe.FinishRead(SocketChannelAsyncOperation operation)
Socket Error code is "Connection Reset" if that helps.
from azure-iot-protocol-gateway.
I can still run the wire-shark to see anything but this is my vm hosting it in azure simulator. This only occurs though when hosting the 8883. if i remove the TLShandler , it runs fine. So i guess something getting raised from. So far i have not added dotnetty code to enable debugging.
from azure-iot-protocol-gateway.
stack does not tell anything here. Question is basically what is the type of channel where ExceptionCaught occurs. From error it seems it must be TcpSocketChannel but you're saying no one's trying to connect even at this point. If it is TcpSocketChannel, please find out what happens on the other side of connection because it must be initiated from outside and again, according to error, the other party closed the connection hence the error. If it is the other party then it should have more data as to what has triggered it to close the connection.
from azure-iot-protocol-gateway.
ok i see that it indeed is a TCP Socket channel and i see the remote ip as well in the context, will run wireshark now to debug it further. Thanks , will update shortly
from azure-iot-protocol-gateway.
The issue was with unknown TCP re-transmit packets arriving on MQTT ports on my Azure VM. I figured out that it was actually from Azure monitoring.
from azure-iot-protocol-gateway.
@whizlingo Were you able to find a solution to stop errors/re-transmits?
from azure-iot-protocol-gateway.
Related Issues (20)
- need guidance for enabling TLS session resumption...
- Fresh clone does not pass End2EndTests.BasicFunctionalityTest
- Old references to Device Drivers giving issues
- Build.cmd does not work HOT 1
- can someone tell me is that each device connect to the iothub by IMessagingBridge? HOT 1
- Error: "System.IO.FileLoadException : Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe"
- Issue: `Message: System.TimeoutException : ReceiveAsync timed out` HOT 1
- IothubClient ReceiveAsync() timed out HOT 1
- build.cmd not working with .NET framework 4.0.30319.42000
- OEM Server with TCP to IoT Hub HOT 3
- Gateway does not ACK my device connect messge
- Does azure IoT hub supports LwM2M protcol ? HOT 1
- Update Deploy Syntax
- Accept Limiter issue
- Solution fails to compile - "GetApplicationParametersFiles" task failed HOT 3
- ChannelRead in ChannelHandlerAdapter is not reading the entire message from the channel. Data packet is being chunked out to 2 packets
- Not able to compile this in VS 2022
- Device twin support
- This repo is missing important files
- Confluent Kafka
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-iot-protocol-gateway.