yaourdt/mgos-to-tasmota

One URI works and the other doesn't Why is that?

Closed this issue · 1 comments

I managed to flash proprietary software Zumungo into Shelly1, thanks to the help form this community and Mark in particular. Thanks again for that.

Now I'm trying to host the working fw.zip in the cloud and it doesn't work from the cloud.

This works fine, where the fw.zip file is hosted locally at ...248 and Shelly is at ...125

http://192.168.1.125/ota?url=http://192.168.1.248/fw.zip

This doesn't work

http://192.168.1.125/ota?url=http://zumungo.com/wp-content/uploads/ShellyOTA/fw.zip

It is the same fw.zip file and it is accessible from a local machine (on the same network that Shelly is connected to) that downloads the file when pointed to the address http://zumungo.com/wp-content/uploads/ShellyOTA/fw.zip

Tried to move the file to the root directory of the remote machine but still no luck. These don't work either.

http://192.168.1.125/ota?url=http://zumungo.com/fw.zip
http://192.168.1.125/ota?url=http://www.zumungo.com/fw.zip

Resolved. The problem was the remote host was modifying http requests into https that Shelly can't handle. Changed the remote host settings not to do that and it is working now. If anyone is interested they can flash zumungo.com relay software into Shelly1 now. See "Application notes" at zumungo.com.