Closed talkjoey closed 8 years ago
ARM Internal Ref: IOTCLT-521
Hi, this looks like your request is failing during DTLS handshake phase. Which server are you trying to connect against ? Also, have you updated your Server and client certificates as mentioned in the README instructions ?
I have updated security.h file with the contents from security credentials from https://connector.mbed.com/#credentials I am trying to connect to server here : https://connector.mbed.com/.
Thanks
Hi, I just tried the latest example now with my Ubuntu machine and it works fine. Can you please try again . My coap address in main.cpp is "coap://api.connector.mbed.com:5684"
Hi, I have a Ubuntu 14.04 VM on VMware player. I tried it and I am getting : Error occured : M2MInterface::NetworkError Could it be that this example does not run on a VM ?
Hi, This should not be an issue as we are also running the example over VMWare. Are you using TCP mode for connection ?
Wireshark shows that protocol is TCP and TLSv1. How can that be ensured? If that is to be updated, where should the change be made ? It is using Bridged connection.
Replacing server name with ip worked. Replaced "coap://api.connector.mbed.com:5684" with "coap://169.45.82.18:5684". Anyway this can be avaoided ?
If that's working for you, then most probably there is some DNS resolving issue on your machine, because DNS resolving support is there in mbed-client.
I do believe that we should give better errors here. Why is there no error about DNS resolving failed?
We have now introduced re-connection logic and published couple of more error codes in M2MInterface. I'll close this ticket now.
Hi, I have been trying to run this example but I am running in to " M2MInterface::NetworkError". I have a 64 bit Ubuntu VM on windows 7. I have opened ports 5684 and 5683 on VM as well windows m/c.
This is the output I see
This is from wireshark:
What am I missing ?