-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP Module not working on Raspberry Pi Pico W #570
Comments
@n0bisuke Could you try it with this test FW? |
@communix I tried it with that FW and it did not work or give an error. If I wrapped the http.get in a setInterval of 1000ms with a console log in it, I got the error, "Error: Remote I/O error" and lots of "[CYW43] got unexpected packet -9" Any ideas? |
@AcousticTypewriter Let me check it and let you know. |
Thanks for all your work @communix. |
Ok, the above code worked, though I am not able to put the URls directly, I have to put the ip address of the websites.(Some/most of the websites doesn't allow accessing the website directly via ipaddress) |
@anubhavgupta Thank you. Good finding. I'll check that point. |
@anubhavgupta Thanks to your help I found out that current network driver does not support URLs. Let me implement URL feature in the pico-w network driver. |
@anubhavgupta @AcousticTypewriter I implement URL feature in the pico-w network driver. Could you please check this issue with new FW? |
@communix No luck. Fails silently, even with ip addresses. Not sure if this is my code or firmware. Could you give me example code to run on my device? |
Let me test and get back. |
@AcousticTypewriter Hi I tested with the code in this issue but the host is 'httpbin.org'. If it's now work with IP address, the new FW does not help because I just implement URL support feature in the new FW. |
It seems to be working for me(though seems to be some issue with the request). I have tried it with x.com, minwiz.com ( <10kb websites ) But instead of returning the actual content it retured:
|
Here is my (quick and hacky) code:
|
@anubhavgupta Thank you, The result is same when you try it with IP address? or It's expected response with IP address? |
same result, when i try with ip address. |
@anubhavgupta Thank you let me check that point!!! |
@AcousticTypewriter @anubhavgupta I finally found the issue in the http code. please try it with the attached test FW and let me know your test result. I tested with this test code. The host in the http header is needed for the "httpbin.org".
|
Thanks @communix When I tried the shared F/W with the following config, it gave me below error: Config:
Error:
Not sure, if it is not working because this website seems to accept https only? |
@anubhavgupta I check it with curl command and it's the same.
|
@communix your last firmware worked few times, but it's crashing on most of the times when connecting with the wifi (this isn't happening on beta 1.1 beta 2 release) |
All the HTTP issues are fixed except #593. So we need to use IP address for the HTTP protocol now. So I close this issue. |
Hi there
I'm trying the HTTP module on Raspberry Pi Pico W, but it doesn't work. There doesn't seem to be any particular error.
I tried the following code.
It seems that the people commenting in this discussion are having the same issue.
Anyone have any ideas?
The text was updated successfully, but these errors were encountered: