today I have migrated a program initially written for the ESP8266 to an ESP32.
I cannot connect to thinger.io.
Here is the log:
17:22:01.973 -> [_SOCKET] Connecting to iot.thinger.io:25202... 17:22:01.973 -> [_SOCKET] Using secure TLS/SSL connection: yes 17:22:02.821 -> [_SOCKET] Connected! 17:22:02.821 -> [THINGER] Authenticating. User: RIN67631 Device: JuntekNT 17:22:02.868 -> [THINGER] Writing bytes: 43 [OK] 17:22:02.868 -> [THINGER] Auth Failed! Check username, device id, or device credentials. 17:22:02.868 -> [_SOCKET] Is now closed!
The device JuntekNT exists for the user RIN67631 and the credentials are correct.
Any idea where to search, why it does not connect?
The code is straight forward:
ThingerESP32 thing(THINGER_USERNAME, THINGER_DEVICE, THINGER_DEVICE_CREDENTIALS);
If in setup(), I connect with thing.addWiFi or with my own WiFi connection method does not change anything.
I still get the same error.
I suppose the THINGER_DEVICE is still the name of the device in the device list and not the new device names, OK?