Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

host is down #23

Open
mycomedico opened this issue Jan 24, 2025 · 2 comments
Open

host is down #23

mycomedico opened this issue Jan 24, 2025 · 2 comments

Comments

@mycomedico
Copy link

Hi!

I'm having a good deal getting this working on my ubuntu 24.04.

Bluetooth connection looks good. A6 is paired trusted and connected. when I try to run a print job i receive an error that the host is down, any help appreciated:

(peripage-env) rubing@rubing-To-Be-Filled-By-O-E-M:~$ peripage -m 28:82:0B:0A:1D:CC -p A6 -e
Traceback (most recent call last):
File "", line 3, in connect
_bluetooth.error: (112, 'Host is down')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/rubing/peripage-env/bin/peripage", line 8, in
sys.exit(main())
^^^^^^
File "/home/rubing/peripage-env/lib/python3.12/site-packages/peripage/main.py", line 87, in main
printer.connect()
File "/home/rubing/peripage-env/lib/python3.12/site-packages/peripage/init.py", line 173, in connect
self.sock.connect((self.mac, 1))
File "", line 5, in connect
bluetooth.btcommon.BluetoothError: [Errno 112] Host is down

@bitrate16
Copy link
Owner

Possibly related to https://stackoverflow.com/questions/70603906/

@bitrate16
Copy link
Owner

bitrate16 commented Jan 28, 2025

@mycomedico

Just to be sure what to do, have you tried:

  • Restarting host (pc/laptor/rpi/whatever)
  • Re-plug bluetooth adapter
  • Power off/on printer
  • Disconnect every other device from printer
  • Disconnect every other device from pc/laptop/rpi/whatever
  • Another bluetooth adapter

Can you send bluetooth adapter info, OS info, printer model, version info and python version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants