Can't write data to channel via REST API on Arduino
1 回表示 (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (1 件)
Vinod
2020 年 1 月 28 日
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.
0 件のコメント
コミュニティ
その他の回答 ThingSpeak コミュニティ
参考
カテゴリ
Help Center および File Exchange で Write Data to Channel についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!