Closed yassine-amraue closed 4 years ago
I was not able to reproduce your problem locally. Everything works fine on my local machine, both using macOS and Linux.
I suspect that maybe you are using some kind of firewall on your system that prevents received packets from being properly forwarded to the application.
Also, what compilation options are you using? Could you also send the actual PCAP file with this communication attempt instead of just a screenshot?
Thanks for the quick reply. Here is the pcap:
In the meantime I'll check my firewall settings.
PS: I am not using any specific compile options. I am building everything with the included CMake config from the repo.
Everything in the PCAP looks fine as well. Unfortunately, I have no idea what is going on. My guess is still firewall settings, or some other problem on the operating system layer. If everything else fails, you may want to try on another machine, or perhaps using some kind of a VM.
I am going to try that later and keep you updated. Thanks for the support so far
It was a firewall/network configuration issue on my machine. It's working fine with another machine. Thanks for the help!
When I try to connect to the public Leshan server (https://leshan.eclipseprojects.io) with the example in examples/tutorial/read-only I can see the device registered in the Leshan Server successfully and the Server also acknowledges the registration with an ACK message but still the LOG outputs show "Failure while receiving Register Response: timeout":
I can see the messages arriving in Wireshark but still Anjay does not seem to handle the Register response. Am I doing something wrong?
Thanks for the help!