-
Notifications
You must be signed in to change notification settings - Fork 44
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
Error: Write after end #157
Comments
Not sure what the cause of the problem can be, but recently @versatildefuy and @dherykw has been working on this libreary. Maybe they can help. |
I think I solved this error using |
Hello @pasquy73 , Happy to see you arround. I guess the client you're developing is based on the examples that come with the repository. |
I would try with the release/1.3.0 |
Let me know with the 1.3.0, and please try to use my client to send multiple requests any |
I know that the examples in the v1.3.0 work fine with some minor bugs, but I am almost sure that you can use them to follow the tutorial. I can't help you beyond that because we don't use this library we just fix the server issues for the compatibility of our devices. I should do the tutorial also 😆 if you wanted the lwM2M client for functional testing I would suggest to you to use our LwM2M virtual device, it is dockerized and documented here feel free to use it 🚀 |
That means that the issue was introduced in the 1.0.0 to 1.1.0 step. Here are the difference between both it isn't very useful (too long and complex). Maybe more interesting in the changelog between both versions (https://github.com/telefonicaid/lwm2m-node-lib/releases/tag/1.1.0): Changes (since 1.0.0):
I hope this information can help to find the problem. |
I found an error when I tried to run my client lwm2m.
My client sends 200 request any 2 seconds and after 125 requests I have this error:
Tried to write to a closed stream.
and I print the error in the console: write after end
I'm using node 10.15.0 and npm 6.4.1.
I attached my test client and my provisioning for IoT Agent.
provisioning.zip
test.zip
The text was updated successfully, but these errors were encountered: