Open revil-O opened 8 months ago
I am getting similar but I don't get an error just keeps saying trying to connect over pppp. The IP it gives is what I can see in my router as the assigned IP of the printer and my computer is on the same subnet.
There usually seem to be two possible issues resulting in the above error:
I've attempted to integrate all of the recent pending PRs into a complete set of all known fixes/improvements here: https://github.com/anselor/ankermake-m5-protocol/tree/exiles
I've built a docker container for it if you want to try it out.
Went ahead and pushed it onto dockerhub for easier access:
docker pull anselor/ankerctl:exile-latest
hi guys,
i fixed the issue by entering the ip address of my printer manually to default.json.
In Mac OS X the default.json config file is found @ $HOME/Library/Application\ Support/ankerctl/default.json
btw.
https://github.com/Ankermgmt/ankermake-m5-protocol/pull/150#issue-2117160112
now everything's works like a charm !!!
Regards revilO
Hey @treitmayr - Thanks! dopey me didn't notice my firewall got turned back on. I did turn that off and it finally started working but now I am seeing the following:
pppp keeps failing on and off. Will continue to check a few things on my end.
Printer is found via ankerctl.py pppp lan-search @ 192.168.1.137
[*] Trying connect to printer AnkerMake M5 (EUPRAKM-**-*****) over pppp using ip [E] PPPPService: Failed to start worker: [Errno 61] Connection refused. Retrying in 1 second. Traceback (most recent call last): File "/Users/osc/ankermake-m5-protocol/web/lib/service.py", line 103, in _attempt_start self.worker_start() File "/Users/osc/ankermake-m5-protocol/web/service/pppp.py", line 52, in worker_start msg = api.recv(timeout=(deadline - datetime.now()).total_seconds()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/osc/ankermake-m5-protocol/libflagship/ppppapi.py", line 351, in recv data, self.addr = self.sock.recvfrom(4096) ^^^^^^^^^^^^^^^^^^^^^^^^ ConnectionRefusedError: [Errno 61] Connection refused
OS: MacOSX Sonoma 14.2.1 Python: 3.11 Ankermake M5 Fw: 3.2.17_3.0.94
PrusaSlicer is obviously uploading files ... but printing never starts
following information, repeated every 3 seconds , is shown:
[*] Trying connect to printer AnkerMake M5 (EUPRAKM-**-) over pppp using ip [] TOPIC [/phone/maker/AK7Z**/notice]
If you need additional informations, don't hesitate to ask me for.
Regards revil.O