Hi, I'm still learning so please bear with me.
I'm using the example provided and get the following error trying to connect to arduino.cc:
Initialize Ethernet with DHCP:
DHCP assigned IP 192.168.0.78
connecting to 172.64.154.188...
(SSLClient)(SSL_WARN)(connect): Using a raw IP Address for an SSL connection bypasses some important verification steps. You should use a domain name (www.google.com) whenever possible.
(SSLClient)(SSL_INFO)(connect): Base client connected!
(SSLClient)(SSL_INFO)(m_print_br_state): (SSLClient)(SSL_INFO)(m_print_br_state): State:
SENDREC
(SSLClient)(SSL_INFO)(m_print_br_state): (SSLClient)(SSL_INFO)(m_print_br_state): State:
RECVREC
(SSLClient)(SSL_INFO)(m_run_until): m_run changed state:
(SSLClient)(SSL_INFO)(m_print_br_state): (SSLClient)(SSL_INFO)(m_print_br_state): State:
RECVREC
(SSLClient)(SSL_INFO)(m_run_until): Expected bytes count:
(SSLClient)(SSL_INFO)(m_run_until): 5
(SSLClient)(SSL_INFO)(m_print_br_state): (SSLClient)(SSL_INFO)(m_print_br_state): State:
Connection closed
(SSLClient)(SSL_WARN)(m_run_until): Terminating because the ssl engine closed
(SSLClient)(SSL_ERROR)(m_start_ssl): Failed to initlalize the SSL layer
(SSLClient)(SSL_ERROR)(m_print_br_error): Server denied access (did you setup mTLS correctly?)
connection failed
(SSLClient)(SSL_ERROR)(available): Cannot operate on a closed SSL connection.
(SSLClient)(SSL_ERROR)(m_print_br_error): Server denied access (did you setup mTLS correctly?)
disconnecting.
Received 0 bytes in 0.0000, rate = 0.00 kbytes/second
I had to use the IP address instead of www.arduino.cc otherwise I get the following:
Initialize Ethernet with DHCP:
DHCP assigned IP 192.168.0.78
connecting to www.arduino.cc...
(SSLClient)(SSL_ERROR)(connect): Failed to connect using m_client. Are you connected to the internet?
connection failed
(SSLClient)(SSL_ERROR)(available): Cannot operate if the write error is not reset:
(SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_CONNECT_FAIL
(SSLClient)(SSL_ERROR)(connected): Not connected because write error is set
(SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_CONNECT_FAIL
disconnecting.
(SSLClient)(SSL_ERROR)(connected): Not connected because write error is set
(SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_CONNECT_FAIL
Received 0 bytes in 0.0000, rate = 0.00 kbytes/second
Hi, I'm still learning so please bear with me. I'm using the example provided and get the following error trying to connect to arduino.cc:
Initialize Ethernet with DHCP: DHCP assigned IP 192.168.0.78 connecting to 172.64.154.188... (SSLClient)(SSL_WARN)(connect): Using a raw IP Address for an SSL connection bypasses some important verification steps. You should use a domain name (www.google.com) whenever possible. (SSLClient)(SSL_INFO)(connect): Base client connected! (SSLClient)(SSL_INFO)(m_print_br_state): (SSLClient)(SSL_INFO)(m_print_br_state): State: SENDREC (SSLClient)(SSL_INFO)(m_print_br_state): (SSLClient)(SSL_INFO)(m_print_br_state): State: RECVREC (SSLClient)(SSL_INFO)(m_run_until): m_run changed state: (SSLClient)(SSL_INFO)(m_print_br_state): (SSLClient)(SSL_INFO)(m_print_br_state): State: RECVREC (SSLClient)(SSL_INFO)(m_run_until): Expected bytes count: (SSLClient)(SSL_INFO)(m_run_until): 5 (SSLClient)(SSL_INFO)(m_print_br_state): (SSLClient)(SSL_INFO)(m_print_br_state): State: Connection closed (SSLClient)(SSL_WARN)(m_run_until): Terminating because the ssl engine closed (SSLClient)(SSL_ERROR)(m_start_ssl): Failed to initlalize the SSL layer (SSLClient)(SSL_ERROR)(m_print_br_error): Server denied access (did you setup mTLS correctly?) connection failed (SSLClient)(SSL_ERROR)(available): Cannot operate on a closed SSL connection. (SSLClient)(SSL_ERROR)(m_print_br_error): Server denied access (did you setup mTLS correctly?)
disconnecting. Received 0 bytes in 0.0000, rate = 0.00 kbytes/second
I had to use the IP address instead of www.arduino.cc otherwise I get the following:
Initialize Ethernet with DHCP: DHCP assigned IP 192.168.0.78 connecting to www.arduino.cc... (SSLClient)(SSL_ERROR)(connect): Failed to connect using m_client. Are you connected to the internet? connection failed (SSLClient)(SSL_ERROR)(available): Cannot operate if the write error is not reset: (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_CONNECT_FAIL (SSLClient)(SSL_ERROR)(connected): Not connected because write error is set (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_CONNECT_FAIL
disconnecting. (SSLClient)(SSL_ERROR)(connected): Not connected because write error is set (SSLClient)(SSL_ERROR)(m_print_ssl_error): SSL_CLIENT_CONNECT_FAIL Received 0 bytes in 0.0000, rate = 0.00 kbytes/second
Your help would be much appreciated.
-Graham