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

No output after clicking "submit" in the configurator UI #109

Closed
Racer0412 opened this issue Mar 3, 2024 · 7 comments
Closed

No output after clicking "submit" in the configurator UI #109

Racer0412 opened this issue Mar 3, 2024 · 7 comments

Comments

@Racer0412
Copy link

The problem

After clicking on submit I don't get any further. Seems like there is an issue from my schools side. Even though everyone got personal accounts I can't add it to HA. I'm just wondering what the Problem could be since I'm not even getting an error in the UI configurator.
If you need further details let me know :)

Version of Home Assistant?

Core 2024.2.5 Supervisor 2024.02.1 Operating System 11.4 Frontend 20240207.1

What type of installation are you running?

Home Assistant Core

Version of WebUntis

v1.06

Last working WebUntis version

No response

Traceback/Error logs

No response

Additional information

No response

@JonasJoKuJonas
Copy link
Owner

Do you get anything in the home assistant logs?

@Racer0412
Copy link
Author

Racer0412 commented Mar 3, 2024

Logger: webuntis
Source: /usr/local/lib/python3.12/site-packages/webuntis/utils/logger.py:19
First occurred: 21:49:11 (26 occurrences)
Last logged: 21:59:10

{'jsonrpc': '2.0', 'id': '2024-03-03 21:57:19.686264', 'error': {'message': 'bad credentials', 'code': -8504}}
{'jsonrpc': '2.0', 'id': '2024-03-03 21:59:08.231613', 'error': {'message': 'bad credentials', 'code': -8504}}
{'jsonrpc': '2.0', 'id': '2024-03-03 21:59:09.064979', 'error': {'message': 'bad credentials', 'code': -8504}}
{'jsonrpc': '2.0', 'id': '2024-03-03 21:59:09.645925', 'error': {'message': 'bad credentials', 'code': -8504}}
{'jsonrpc': '2.0', 'id': '2024-03-03 21:59:10.217675', 'error': {'message': 'bad credentials', 'code': -8504}}

and

This error originated from a custom integration.

Logger: custom_components.webuntis.config_flow
Source: custom_components/webuntis/config_flow.py:54
Integration: webuntis (documentation, issues)
First occurred: 21:57:13 (1 occurrences)
Last logged: 21:57:13

Cannot resolve hostname: [Errno -2] Name does not resolve

Seems like the "tritone.webuntis.com" URL isn't liked by the integration :/
I'm using the same credentials as on the website itself. It might be that the school I'm trying to login on has a plan without API access?

@JonasJoKuJonas
Copy link
Owner

{'jsonrpc': '2.0', 'id': '2024-03-03 21:57:19.686264', 'error': {'message': 'bad credentials', 'code': -8504}}
this error suggests that sth is wrong with the password. Do you have a password with special special characters like "ÄÜß"?

@Racer0412
Copy link
Author

Nope I don't have special characters in my pw.

@JonasJoKuJonas
Copy link
Owner

Try again in a few hours, this sometimes fixes the "Bad Credentials" error

@Racer0412
Copy link
Author

Could characters like space cause this issue?

@Racer0412
Copy link
Author

Somehow fixed itself after a few retries. Thanks a lot for the quick response and for setting up this whole integration!

BR

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