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

1 visualizzazione (ultimi 30 giorni)
Benjamin Cortez
Benjamin Cortez il 28 Gen 2020
Risposto: Vinod il 28 Gen 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.

Risposte (1)

Vinod
Vinod il 28 Gen 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.

Community

Più risposte nel  ThingSpeak Community

Categorie

Scopri di più su Write Data to Channel in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by