Http.request() doesn't work in Defold 1.2.153 (DEF-3943) (SOLVED)

#1

I can’t use http.request() to download an intranet file and it works in version 1.2.152.

0 Likes

#3

0 Likes

#4

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.

2 Likes

#5

sorry, you can try this address: “http://120.92.174.142:10007/0_19_39/msg.pb

2 Likes

#6

Thanks! I’ll take a look, what OS are you running on?

2 Likes

#7

Win10

0 Likes

#8

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.

2 Likes

#9

Solved in 1.2.154

1 Like

#10

thanks.

2 Likes