ddvk / rmfakecloud

host your own cloud for the remarkable
GNU Affero General Public License v3.0
700 stars 57 forks source link

Status: enabled (failed) on RM1 #281

Closed loughnane closed 6 months ago

loughnane commented 6 months ago

Installing on two RM1s. The first installation went swimmingly and is working just fine, but I get a Status: enabled (failed) on the second RM1 device.

Generating RSA private key, 2048 bit long modulus (2 primes)
................................................................+++++
.......................+++++
e is 65537 (0x010001)
writing RSA key
Signature ok
subject=C = AA, ST = QQ, L = JJ, O = the culture, CN = *.appspot.com
Getting CA Private Key
Created symlink /etc/systemd/system/multi-user.target.wants/rmfakecloud-proxy.service → /lib/systemd/system/rmfakecloud-proxy.service.
rmfakecloud-proxy is now enabled.
reMarkable: ~/ rmfakecloudctl status
Status: enabled (failed)
Upstream server: 192.168.3.100:8000 (working)
Run `rmfakecloudctl disable` to disable rmfakecloud-proxy.
Run `rmfakecloudctl set-upstream https://<server>` to set the upstream server.

Looking in log.txt I see an error about not having a device token

4580 Dec 19 02:13:19.374 Info: wlan0: Link is up (:0, )
4581 Dec 19 02:13:21.230 Info: wlan0: Address added: fe80::d612:43ff:fe25:6ec2 (:0, )
4582 Dec 19 02:13:25.335 Info: wlan0: Address added: 192.168.1.117 (:0, )
4583 Dec 19 02:13:25.361 Info: Got gateway: 192.168.1.1 (:0, )
4584 Dec 19 02:13:25.367 Warning: Can't fetch user token without device token (:0, )
4585 Dec 19 02:13:25.399 Warning: Can't fetch user token without device token (:0, )
4586 Dec 19 02:13:25.420 Warning: Can't fetch user token without device token (:0, )
4587 Dec 19 02:13:25.448 Warning: Can't fetch user token without device token (:0, )
4588 Dec 19 02:13:25.468 Info: We probably have Internet (:0, )

I'm not sure what to do. I've tried reinstalling (I'm on 2.15.1.1189) and like I said the install worked well on the other RM1. Any suggestions on where to look?

Eeems commented 6 months ago

I think you may have meant to open this on toltec's repo as rmfakecloudctl is maintained there

loughnane commented 6 months ago

sorry. will do.

Eeems commented 6 months ago

https://github.com/toltec-dev/toltec/issues/796