Can't write data to channel via REST API on Arduino

1 visualización (últimos 30 días)
Benjamin Cortez
Benjamin Cortez el 28 de En. de 2020
Respondida: Vinod el 28 de En. de 2020
I explain, under an alternative internet, I can send information without any problem from the Arduino to ThingSpeak, but when I connect to the network of my work (Ministry of Housing and Urbanization of Chile), it fails to send the applications, or I think it sends them but it is not able to receive answers .. In some occasions it does not solve the DNS, or in others, it resolves them, but it throws error 401 Unauthorized.
So, I need to know what exactly the problem is, in order to send a ticket to those who are responsible for modifying the network here.
To be more exact, I use an ENC28J60 module
I would appreciate any help, if more information is missing just ask me, thank you and have a good day.

Respuestas (1)

Vinod
Vinod el 28 de En. de 2020
If the same code works to send data to ThingSpeak from an embedded device on one network but not on another, it almost certainly is a network configuration issue.
You will need to contact your network administrator and ask if they have any DNS blocking enabled (this will prevent DNS resolution of api.thingspeak.com), or a captive portal that any device joining the network needs to "sign in" to, or some such configuration that makes the Internet unreachable. Unfortunately, there is not much we can say from the ThingSpeak end as your requests are probably not making it outside your network.

Comunidades de usuarios

Más respuestas en  ThingSpeak Community

Categorías

Más información sobre Write Data to Channel en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by