-
Notifications
You must be signed in to change notification settings - Fork 52
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
Modbus ERROR: GatewayPathUnavailable #75
Comments
Maybe. How are you closing the connection? |
Can you tell me where did you disable the error so you can improve the code? |
I disabled line 93 in lib/transport/transport.js |
That is strange because that's when it gives up trying to send a message. If you open and close connection every time this shouldn't happen. Will have to test it out. |
Any updates on this yet? |
Hello, I am having an issue. I am retrieving a value from modbus, with an interval set to a few seconds, but after a few times it randomly returns the error: write EPIPE and after that it returns read: ECONNRESET or: GatewayPathUnavailable. Is there a way to reset the Node server once this happens, because after a restart the function inmediately runs fine again. I don't really know what I am doing wrong, since I am new to Node servers. Here is the code:
Here is the error I am getting, this is over 3 requests:
Any help would be appreciated, thanks in advance! :)
The text was updated successfully, but these errors were encountered: