roleoroleo / yi-hack-MStar

Custom firmware for Yi 1080p camera based on MStar platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Online FW upgrade not working?

vin-w opened this issue · comments

Recently I found all camera does not show available version for new firmware.

"Online FW upgrade
Installed: 0.5.3 - Available:"

Did you filter the http/https connection?

I remember I once enable proxychain but disable afterwards.

Here is some output I checked.

/home/yi-hack/bin # wget -O -  https://api.github.com/repos/roleoroleo/yi-hack-MStar/releases/latest
Connecting to api.github.com (20.205.243.168:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer

/home/yi-hack/etc # cat system.conf  | grep -i proxy
PROXYCHAINSNG=no
/home/yi-hack/bin # cat /home/yi-hack/etc/proxychains.conf

proxychains is not a problem if you don't use the Yi platform.
The log wget: note: TLS certificate validation not implemented is normal.

This is not ok:

wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer

Check your connection, firewall/proxy, router.
It should work.
Try with a temporary tethering.

I have same problem.
I have a cam y25 with base version 4.2.0.0H_201909041620 and Firmware Version 0.4.9.

Online update don't work
Schermata 2023-12-20 alle 00 54 55

and if I connect via ssh and download latest firmware

/tmp/sd # wget -O -  https://api.github.com/repos/roleoroleo/yi-hack-MStar/releases/latest
Connecting to api.github.com (140.82.121.6:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer

if I download another file via httpS similar error:

/tmp/sd # wget https://ubuntu.mirror.garr.it/releases/jammy/ubuntu-22.04.3-live-server-amd64.iso
Connecting to ubuntu.mirror.garr.it (90.147.160.70:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 40): handshake failure
wget: error getting response: Connection reset by peer

and if I add switch --no-check-certificates don't help:

/tmp/sd # wget -O -  https://api.github.com/repos/roleoroleo/yi-hack-MStar/releases/latest --no-check-certificates
wget: unrecognized option '--no-check-certificates'

any chance for upgrade my cam?

I need to update busybox version.
Meanwhile you can upgrade your cam with this procedure:
https://github.com/roleoroleo/yi-hack-MStar/wiki/Manual-firmware-upgrade

It's a bigger problem than it initially seemed.
Currently I'm unable to fix it.

Fixed here:
e86b722