I can’t use http.request() to download an intranet file and it works in version 1.2.152.
Hi, could you give us a little bit more information? What OS are you running on and can you tell us anything about the address you are requesting? Ipv4 / Ipv6? Is it 0.0.0.0? We do have made changes to the DNS resolve in the latest release so there might be an edge case that we are missing.
sorry, you can try this address: “http://120.92.174.142:10007/0_19_39/msg.pb”
Thanks! I’ll take a look, what OS are you running on?
Win10
Thanks for the info, I’ve looked at the issue now and found the cause and working on a fix. I don’t know exactly when the fix will be released, but a workaround would be to either use the last version, or add a an entry for that IP address in your host file (https://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/). I haven’t tried this approach, but it should work.
Solved in 1.2.154
thanks.