instanceofMA/arduino-fetch

Nothing after wifi connected

Opened this issue · 8 comments

t1mqa commented

image

Hello! Every time trying to request smth, i got this endless "...." after "Wi-Fi connected"
How to fix it?

Im having the same issue, were you able to find any solutions?

t1mqa commented

Hi there. Just gave you access to my repo, check that out.
For real, i`m not entirely sure what was the problem, but it was something with HASH keys, which are allegedly needed to work with HTTPS (Thruthly not).

hey, thanks a lot for sharing! I was able to run your code and it made the post request successfully, but for the life of me I can't get it to work with my url. does it only work with https? im trying to send a post request to my local computer via http but having no luck

lybce commented

Hi, same like @t1mqa , after wifi connection, only dots............
The example for esp8266 GET, do that !!

@lybce This library seems to only work with HTTPS and not HTTP requests. You can try using my fork which fixed the endless "......" on HTTP requests (however HTTPS may no longer work)

https://github.com/onusai/arduino-fetch

Same issue here; cannot figure out why.
ESP8266

lybce commented

used with HTTPS works fine !!!

@t1mqa

I apologize I've been offline for a while.

I understand the recurring dots indefinitely is depressing and doesn't inform you if there's been an error. I'll replace it with the exact error code for better debugging.

Are you trying to connect to your local computer via IP address or is a host name? Can you share your piece of code where you are using fetch to make the request?