Hello,
I am using Mita as language for the XDK and everything is working fine, except that the HttpRestClient (which I know is experimental) randomly is not able anymore to send HTTP Requests, although it was working fine.
Even when only using the code, that is described in the Mita documentation it randomly stops working.
https://developer.bosch.com/web/xdk/http1
Normally the output is:
INFO | XDK DEVICE 1: [DEBUG, C:/Users/xxxx/XDK-Workspace/EclipseMitaApplication/src-gen/base/ConnectivityHttpRestClientServer.c:211] Send HTTP request OK
then, randomly it remains printing:
INFO | XDK DEVICE 1: [DEBUG, C:/Users/xxxx/XDK-Workspace/EclipseMitaApplication/src-gen/base/ConnectivityHttpRestClientServer.c:211] Send HTTP request FAILED
INFO | XDK DEVICE 1: [WARNING, C:/Users/xxxx/XDK-Workspace/EclipseMitaApplication/src-gen/base/ConnectivityHttpRestClientServer.c:171] HTTP request timed out
I am sure it is no wifi-connectivity problem, this also occurs when the XDK is right next to the wifi access point.
As I said, I know the HttpRestClient is experimental, but I would be very grateful if you could fix this bug (or if you could tell me what's wrong with the code).
Thank you!
Solved! Go to Solution.
Hello, does anyone have this same experience or have any input on this issue? thanks!
I have similar issue when I try to send high frequent HTTP request.
I built an use-case which send all sensor data implemented in Mita. Sending the data each 500ms works fine, frequently brings failed requests from time to time. (The repetition of the failure is regular)