Arduino UNO R4 WiFi connects and disconnects continuously

Arduino UNO R4 WiFi continually connects and disconnects from thinger using IOTMP.
Device’s id, username and password are OK!
WiFi connection is ok.
Library thinger io 2.40.0

[_SOCKET] Connected!
[THINGER] Authenticating. User: cxxxfa Device: arduino
[THINGER] Writing bytes: 38 [OK]
[_SOCKET] Cannot read from socket!
[THINGER] Auth Failed! Check username, device id, or device credentials.
[_SOCKET] Is now closed!
[_SOCKET] Connecting to iot.thinger.io:25200
[_SOCKET] Using secure TLS/SSL connection: no
[_SOCKET] Connected!
[THINGER] Authenticating. User: cxxxfa Device: arduino
[THINGER] Writing bytes: 38 [OK]
[_SOCKET] Cannot read from socket!
[THINGER] Auth Failed! Check username, device id, or device credentials.
[_SOCKET] Is now closed!
[_SOCKET] Connecting to iot.thinger.io:25200
[_SOCKET] Using secure TLS/SSL connection: no
[_SOCKET] Connected!

Web inspector:

{
“device”: “arduino”,
“event”: “device_state_change”,
“product”: “”,
“state”: “connected”,
“ts”: 1753267433516,
“user”: “cxxxfa”
}

{
“device”: “arduino”,
“event”: “device_state_change”,
“product”: “”,
“state”: “disconnected”,
“ts”: 1753267443644,
“user”: “cxxxfa”
}

Sketck basic example:

#define THINGER_SERIAL_DEBUG
#define DISABLE_TLS
#include <ThingerR4WiFi.h>
#include “arduino_secrets.h”

ThingerR4WiFi thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);

void setup() {
// open serial for debugging
Serial.begin(115200);

// configure wifi network
thing.add_wifi(SSID, SSID_PASSWORD);

pinMode(LED_BUILTIN, OUTPUT);

// pin control example (i.e. turning on/off a light, a relay, etc)
thing["led"] << digitalPin(LED_BUILTIN);

// resource output example (i.e. reading a sensor value, a variable, etc)
thing["millis"] >> outputValue(millis());

// more details at http://docs.thinger.io/arduino/

}

void loop() {
thing.handle();
}

Can anyone help?