Yun Auth Credentials failure


#1

Hello,
I apologize if I had to ask basic information, but I could not find any suggestions regarding the problem I am encountering.
My goal is to use Thinger.io through an Arduino Yun.
I defined the device in Thinger.io and used a simple sketch to control the switching on and off of a led lamp.
However, the device is always disconnected.
I verified (and changed) the credentials of the device, but the device still does not authenticate, as on the other hand confirmed by the debug log:
image

I am sure of the correctness of the authentication data.
I only noticed that the username in the log is lowercase. Actually the value entered in the sketch is “GrowinoThinger”, because it is the user name related to my account.
What kind of test would you advise me to do?

Thank you so much for the support.


#2

Hi @GrowinoThinger, can you share your sketch? Without the user credentials… In the meanwhile, you can try to disable the SSL connection, as stated in the Arduino documentation. Is this the new Arduino Yun (released this year)?.


#3

Hi @alvarolb,
thank you very much for your quick reply.
I followed your directions and therefore excluded the TLS connection.
As you can see from the following log, the (disable TLS) setting is correctly applied, but an exception immediately follows. There is no reference to an authentication error: it is apparently more generic.

image

this is the link to the simple sketch of the test I wrote.

The device is an Arduino YUN of the first series produced (actually the one currently withdrawn from the sale in the arduino.cc store).
This is the link.

Thank you.


#4

@alvarolb,
I would like to update you on the fact that now (without TLS) the Yun device was perfectly able to connect with Thinger.io, as you can see from the following image:

image

Could it be necessary in some way to register a certificate within Arduino Os? Was it ever necessary to do it in other devices similar to mine?

Thanks