Ankermgmt / ankermake-m5-protocol

Ankermake M5 protocol specifications and libraries *NOT AFFILIATED WITH ANKER*
GNU General Public License v3.0
164 stars 38 forks source link

[BUG] I can't start the server #146

Open ArkTuberGL opened 10 months ago

ArkTuberGL commented 10 months ago

As soon as I try to start the server under windows (python ankerctl.py webserver run) I get these error messages... No other programs are running that access the 3D printer.

[*] Trying connect to printer AnkerMake M5C (EUPRAKM-014753-SMXGK) over pppp using ip [E] PPPPService: Failed to start worker: [WinError 10049] Die angeforderte Adresse ist in diesem Kontext ungültig. Retrying in 1 second. Traceback (most recent call last): File "C:\Users\Toni\Downloads\ankermake-m5-protocol-master\ankermake-m5-protocol-master\web\lib\service.py", line 103, in _attempt_start self.worker_start() File "C:\Users\Toni\Downloads\ankermake-m5-protocol-master\ankermake-m5-protocol-master\web\service\pppp.py", line 48, in worker_start api.connect_lan_search() File "C:\Users\Toni\Downloads\ankermake-m5-protocol-master\ankermake-m5-protocol-master\libflagship\ppppapi.py", line 265, in connect_lan_search self.send(PktLanSearch()) File "C:\Users\Toni\Downloads\ankermake-m5-protocol-master\ankermake-m5-protocol-master\libflagship\ppppapi.py", line 367, in send self.sock.sendto(resp, addr or self.addr) OSError: [WinError 10049] Die angeforderte Adresse ist in diesem Kontext ungültig [E] Failed to decode mqtt message Exception: Unsupported mqtt message format (expected 2, but found 1) Message : 0x4d 0x41 0x89 0x00 0x05 0x01 0x01 0x05 0x46 0xc0 0x01 0x00 0x01 0xb1 0xb1 0x8e 0x10 0x06 0x00 0x00 0x00 0x00 0x00 0x00 0x2f 0x04 0x30 0x6b 0x27 0x94 0xac 0x6f 0xed 0x52 0x40 0xdf 0x12 0x81 0x60 0xa9 0x63 0x84 0xe8 0xda 0x7c 0x8f 0x4f 0xba 0xf9 0x42 0x24 0xe2 0x84 0x4d 0x31 0x29 0x8e 0xfc 0x69 0xa3 0x8f 0xc4 0x5e 0xdd 0xda 0x90 0xe5 0x55 0x2d 0xfd 0xc8 0xb7 0xe2 0x76 0x49 0x28 0x5a 0xba 0x8e 0x15 0xf2 0x00 0xb2 0x84 0xd5 0xbd 0xd7 0x4c 0x03 0x6c 0xe1 0xeb 0xd3 0x14 0xa5 0xb2 0x5f 0xc2 0x67 0x89 0x88 0xf1 0x5a 0x3d 0x92 0x5e 0x10 0xae 0xb7 0x86 0x83 0x3e 0x55 0xeb 0x9c 0x7b 0xab 0xe1 0x61 0xe2 0xdf 0x23 0x30 0xf8 0x4f 0xd6 0x8b 0x8f 0x9f 0xc7 0x5c 0x51 0x89 0x6a 0xd4 0x4f 0x30 [*] Trying connect to printer AnkerMake M5C (EUPRAKM-014753-SMXGK) over pppp using ip [E] PPPPService: Failed to start worker: [WinError 10049] Die angeforderte Adresse ist in diesem Kontext ungültig. Retrying in 1 second. Traceback (most recent call last): File "C:\Users\Toni\Downloads\ankermake-m5-protocol-master\ankermake-m5-protocol-master\web\lib\service.py", line 103, in _attempt_start self.worker_start() File "C:\Users\Toni\Downloads\ankermake-m5-protocol-master\ankermake-m5-protocol-master\web\service\pppp.py", line 48, in worker_start api.connect_lan_search() File "C:\Users\Toni\Downloads\ankermake-m5-protocol-master\ankermake-m5-protocol-master\libflagship\ppppapi.py", line 265, in connect_lan_search self.send(PktLanSearch()) File "C:\Users\Toni\Downloads\ankermake-m5-protocol-master\ankermake-m5-protocol-master\libflagship\ppppapi.py", line 367, in send self.sock.sendto(resp, addr or self.addr) OSError: [WinError 10049] Die angeforderte Adresse ist in diesem Kontext ungültig