Andre0512 / Andre0512/speedport
"Unexpected error"
- Ngôn ngữ chính
- Python
- Star
- 59
- Fork
- 19
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Have a good day and a happy new year.
Trying to connect to Greek version of smart 3 always get error "Unexpected error"
Router ip is on 192.168.3.* and the rest of my network setup including home assistant is on 192.168.1.* so I don't know if this could explain the problem.
Here is the log.
`This error originated from a custom integration.
Logger: custom_components.speedport.config_flow
Source: custom_components/speedport/config_flow.py:64
Integration: Speedport (documentation, issues)
First occurred: 00:51:55 (9 occurrences)
Last logged: 09:30:58
Unexpected exception
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/speedport/connection.py", line 21, in decode
ciphertext_tag = bytes.fromhex(data)
^^^^^^^^^^^^^^^^^^^
ValueError: non-hexadecimal number found in fromhex() arg at position 0
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/speedport/config_flow.py", line 64, in async_step_user
info = await validate_input(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/speedport/config_flow.py", line 31, in validate_input
speedport = await Speedport(
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/speedport/speedport.py", line 60, in create
await self.update_status()
File "/usr/local/lib/python3.11/site-packages/speedport/speedport.py", line 118, in update_status
self._status = await self.api.get_status()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/speedport/api.py", line 116, in get_status
return await self.api.get("data/Status.json")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/speedport/connection.py", line 97, in get
return decode(await response.text(), key=key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/speedport/connection.py", line 23, in decode
raise exceptions.DecryptionKeyError("Wrong decryption key") from exc
speedport.exceptions.DecryptionKeyError: Wrong decryption key
`
Thank you for your time
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.