You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
W (13330) WEBSOCKET_CLIENT esp_websocket_client.c:416 esp_websocket_client_init(): `reconnect_timeout_ms` is not set, or it is less than or equal to zero, using default time out 10000 (milliseconds)
W (13340) WEBSOCKET_CLIENT esp_websocket_client.c:273 esp_websocket_client_set_config(): `network_timeout_ms` is not set, or it is less than or equal to zero, using default time out 10000 (milliseconds)
E (13490) esp-tls-mbedtls esp_tls_mbedtls.c:417 set_global_ca_store(): global_cacert is NULL
E (13490) esp-tls-mbedtls esp_tls_mbedtls.c:88 esp_create_mbedtls_handle(): Failed to set client configurations, returned [0x0103] (ESP_ERR_INVALID_STATE)
E (13500) esp-tls esp_tls.c:425 esp_tls_low_level_conn(): create_ssl_handle failed
E (13510) esp-tls esp_tls.c:467 esp_tls_conn_new_sync(): Failed to open new connection
E (13520) TRANSPORT_BASE transport_ssl.c:116 ssl_connect(): Failed to open a new connection
E (13530) TRANSPORT_WS transport_ws.c:144 ws_connect(): Error connecting to host ocpp.space.fronius.com:443
E (13530) WEBSOCKET_CLIENT esp_websocket_client.c:661 esp_websocket_client_task(): esp_transport_connect() failed with -1
E (13550) WEBSOCKET_CLIENT esp_websocket_client.c:190 esp_websocket_client_error(): esp_transport_connect() failed with -1
W (13560) ESPOCPP OcppSocket.cpp:111 websocketClientEventHandler(): WEBSOCKET_EVENTS event_id=WEBSOCKET_EVENT_ERROR esp_transport_connect() failed with -1
I'm suspecting the global_cacert is NULL message, I'm missing the crt_bundle_attach function pointer as seen in the http client and mqtt client.
Should I try to replicate the crt_bundle_attach functionality in the websocket client (and pull-request)?
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
esp_websocket_client is not able to use the global CA store
esp_websocket_client is not able to use the global CA store (IDFGH-7589)
Jun 13, 2022
I experience problems with using the websocket client with the global CA store.
The global CA store has been enabled in sdkconfig.
I generate my websocket client config like this:
And I get to see error messages like this:
I'm suspecting the
global_cacert is NULL
message, I'm missing thecrt_bundle_attach
function pointer as seen in the http client and mqtt client.Should I try to replicate the
crt_bundle_attach
functionality in the websocket client (and pull-request)?The text was updated successfully, but these errors were encountered: