espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.59k stars 7.27k forks source link

coap client example does not connect to coap://californium.eclipse.org (IDFGH-5485) #7219

Closed tiborrr closed 3 years ago

tiborrr commented 3 years ago

Environment

Problem Description

DNS can be found but the response is not as displayed in the example.

Expected Behavior

as presented in the example:

I (2582) CoAP_client: DNS lookup succeeded. IP=104.196.15.150
Received:
************************************************************
CoAP RFC 7252                              Cf 2.0.0-SNAPSHOT
************************************************************
This server is using the Eclipse Californium (Cf) CoAP framework
published under EPL+EDL: http://www.eclipse.org/californium/

(c) 2014, 2015, 2016 Institute for Pervasive Computing, ETH Zurich and others
************************************************************
...

Actual Behavior

I (184085) CoAP_client: DNS lookup succeeded. IP=198.41.30.194
E (189095) CoAP_client: select timeout

Steps to reproduce

Flash coap client example

mrdeep1 commented 3 years ago

The URL has changed as of 9th. December 2020. It should becoaps://californium.eclipseprojects.io . There is a PR waiting to be merged that updates the libcoap version - see #7106 which includes this change.