cancel
Showing results for 
Search instead for 
Did you mean: 

ST67W611M1 - Socket connection failed

JSK03
Visitor

Hello ST Community,
I am trying to run the ST67W6X_HTTPS_Client example project for the STM32-U575ZITX-Q Board, but with a U5A5ZJ-Q board instead (The .ioc file was changed to suit the board difference). I am getting a successfull initialization as well as a good scan and connection to the Wi-Fi network, however when trying to fetch data from the Openweather API i am getting a Socket connection error. I had suspicions that the failure was due to the GPDMA being configured differently if between the board im using and the one made for the project, however when in debug mode in never seems to go into a fault. Below is the serial output of the logs i am getting as well as the ioc file i have changed to suit the different board. Any help would be much appreciated!

#### Welcome to ST67W6X Wi-Fi HTTPS Client Application #####
# build: 12:57:02 Nov 25 2025
--------------- Host info ---------------
Host FW Version:          1.1.0
--------------- ST67W6X info ------------
ST67W6X MW Version:       1.1.1
AT Version:               1.0.0
SDK Version:              2.0.89
Wi-Fi MAC Version:        1.6.44
BT Controller Version:    1.6.112
BT Stack Version:         1.9.56
Build Date:               Sep  4 2025 11:32:47
Module ID:                REDACTED
BOM ID:                   2
Manufacturing Year:       2025
Manufacturing Week:       16
Battery Voltage:          3.276 V
Trim Wi-Fi hp:            2,2,2,2,2,2,1,1,2,2,2,3,3,3
Trim Wi-Fi lp:            2,3,3,4,4,5,5,5,6,6,6,7,7,7
Trim BLE:                 0,0,0,1,2
Trim XTAL:                40
MAC Address:              REDACTED
Anti-rollback Bootloader: 0
Anti-rollback App:        0
-----------------------------------------
Wi-Fi init is done
Net init is done
SCAN DONE
 Cb informed APP that WIFI SCAN DONE.
MAC : [REDACTED] | Channel:  4 |      WPA-WPA2 |    N | RSSI:  -48 | SSID:  REDACTED
MAC : [REDACTED] | Channel:  6 |          WPA2 |   AX | RSSI:  -52 | SSID:  REDACTED
MAC : [REDACTED] | Channel:  6 |          WPA2 |   AX | RSSI:  -52 | SSID:  REDACTED
MAC : [REDACTED] | Channel: 11 |          WPA2 |   AX | RSSI:  -57 | SSID:  REDACTED
MAC : [REDACTED] | Channel: 11 |          WPA2 |   AX | RSSI:  -58 | SSID:  REDACTED
MAC : [REDACTED] | Channel:  9 |      WPA-WPA2 |    N | RSSI:  -63 | SSID:  REDACTED
MAC : [REDACTED] | Channel:  6 |          WPA2 |    N | RSSI:  -67 | SSID:  REDACTED
MAC : [REDACTED] | Channel:  1 |          OPEN |    N | RSSI:  -69 | SSID:  REDACTED
MAC : [REDACTED] | Channel:  6 |          WPA2 |    N | RSSI:  -74 | SSID:  REDACTED
MAC : [REDACTED] | Channel:  1 |          WPA2 |    N | RSSI:  -75 | SSID:  REDACTED
MAC : [REDACTED] | Channel:  1 |          WPA2 |    N | RSSI:  -77 | SSID:  REDACTED
MAC : [REDACTED] | Channel: 11 |          OPEN |    N | RSSI:  -77 | SSID:  REDACTED
MAC : [REDACTED] | Channel:  2 |          OPEN |    N | RSSI:  -79 | SSID:  REDACTED
MAC : [REDACTED] | Channel:  3 |          WPA2 |    N | RSSI:  -83 | SSID:  REDACTED
MAC : [REDACTED] | Channel:  8 |          WPA2 |    N | RSSI:  -85 | SSID:  REDACTED
MAC : [REDACTED] | Channel:  6 |          WPA2 |    N | RSSI:  -89 | SSID:  REDACTED
MAC : [REDACTED] | Channel: 11 |      WPA-WPA2 |    N | RSSI:  -91 | SSID: REDACTED

Connecting to Local Access Point
App connected
Connected to following Access Point :
[REDACTED] Channel: 6 | RSSI: -50 | SSID: REDACTED
[ERROR] [12748] [ST67W6XTask] (w6x_net.c:1086) Could not connect
[ERROR] [12748] [ST67W6XTask] (w6x_http.c:419) Socket connection failed
##### Application end​

 

1 ACCEPTED SOLUTION

Accepted Solutions
JSK03
Visitor

The issue was solved by changing the certificate, as the one available in the software package on github is outdated. 

View solution in original post

1 REPLY 1
JSK03
Visitor

The issue was solved by changing the certificate, as the one available in the software package on github is outdated.