Replies: 5 comments 11 replies
-
|
I believe that is just a "bad username or password" error. |
Beta Was this translation helpful? Give feedback.
-
|
File "/usr/lib/python3.13/ssl.py", line 1372, in do_handshake |
Beta Was this translation helpful? Give feedback.
-
|
wouldn't be something to do with move away from raspberrypi.local, to device name.local? |
Beta Was this translation helpful? Give feedback.
-
|
Aaron, thanks couldn't get it to work with TLS on but turung it off and changing the port, and success. Hope all ok with tyou and thanks so much fo your ecellent support. What a fantsatic piece of coding... |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am having trouble getting the home assistant discovery script working I get the below: and no discovery in HA? any ideas what I am doing wrong. I had it working on my last pi5, but I managed to destroy that one with a hosuing wate rleak.!!
Thanks in advance.
raceback (most recent call last):
File "/home/astropi6/indi-allsky/./misc/home_assistant_auto_discovery.py", line 1332, in
had.main(retain=args.retain)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/home/astropi6/indi-allsky/./misc/home_assistant_auto_discovery.py", line 1208, in main
publish.multiple(
~~~~~~~~~~~~~~~~^
message_list,
^^^^^^^^^^^^^
...<7 lines>...
protocol=getattr(paho.mqtt.enums.MQTTProtocolVersion, protocol),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/astropi6/indi-allsky/virtualenv/indi-allsky/lib/python3.13/site-packages/paho/mqtt/publish.py", line 228, in multiple
client.loop_forever()
~~~~~~~~~~~~~~~~~~~^^
File "/home/astropi6/indi-allsky/virtualenv/indi-allsky/lib/python3.13/site-packages/paho/mqtt/client.py", line 2297, in loop_forever
rc = self._loop(timeout)
File "/home/astropi6/indi-allsky/virtualenv/indi-allsky/lib/python3.13/site-packages/paho/mqtt/client.py", line 1686, in _loop
rc = self.loop_read()
File "/home/astropi6/indi-allsky/virtualenv/indi-allsky/lib/python3.13/site-packages/paho/mqtt/client.py", line 2100, in loop_read
rc = self._packet_read()
File "/home/astropi6/indi-allsky/virtualenv/indi-allsky/lib/python3.13/site-packages/paho/mqtt/client.py", line 3142, in _packet_read
rc = self._packet_handle()
File "/home/astropi6/indi-allsky/virtualenv/indi-allsky/lib/python3.13/site-packages/paho/mqtt/client.py", line 3814, in _packet_handle
return self._handle_connack()
~~~~~~~~~~~~~~~~~~~~^^
File "/home/astropi6/indi-allsky/virtualenv/indi-allsky/lib/python3.13/site-packages/paho/mqtt/client.py", line 3934, in _handle_connack
on_connect(
~~~~~~~~~~^
self,
^^^^^
...<3 lines>...
properties,
^^^^^^^^^^^
)
^
File "/home/astropi6/indi-allsky/virtualenv/indi-allsky/lib/python3.13/site-packages/paho/mqtt/publish.py", line 91, in _on_connect
raise mqtt.MQTTException(paho.connack_string(reason_code))
paho.mqtt.MQTTException: Not authorized
Beta Was this translation helpful? Give feedback.
All reactions