arduino-fetch icon indicating copy to clipboard operation
arduino-fetch copied to clipboard

Nothing after wifi connected

Open t1mqa opened this issue 2 years ago • 8 comments

image

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

t1mqa avatar Sep 23 '22 12:09 t1mqa

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

onusai avatar Oct 21 '22 14:10 onusai

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).

t1mqa avatar Oct 21 '22 14:10 t1mqa

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

onusai avatar Oct 21 '22 15:10 onusai

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

lybce avatar Nov 17 '22 03:11 lybce

@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

onusai avatar Nov 17 '22 03:11 onusai

Same issue here; cannot figure out why. ESP8266

lukasmedia avatar Dec 06 '22 22:12 lukasmedia

used with HTTPS works fine !!!

lybce avatar Dec 06 '22 23:12 lybce

@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?

instanceofMA avatar Dec 26 '22 10:12 instanceofMA