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

Solar-Log Authentication fails #135367

Open
hegien opened this issue Jan 11, 2025 · 1 comment
Open

Solar-Log Authentication fails #135367

hegien opened this issue Jan 11, 2025 · 1 comment
Assignees

Comments

@hegien
Copy link

hegien commented Jan 11, 2025

The problem

In order to get access to additional entities of my Solar-Log Base 15 I tried to switch access method from Json to User/Password. But when I enter the password it takes a few seconds and then I see the password form again. In the log I can see that authentication fails.

The password is correct. I copy it from my password safe and I also entered it manually. No success. When I login to the Solar-Log Interface then the password works.

I tried this with EDGE and Firefox. Same issue with both browsers.

On my Solar-Log i Iuse the latest available firmware 6.1.2 Build 165 16.07.2024

Error Message in HA:

Logger: homeassistant.components.solarlog.coordinator
Source: helpers/update_coordinator.py:432
integration: Solar-Log (documentation, issues)
First occurred: 13:30:11 (1 occurrences)
Last logged: 13:30:11

Authentication failed while fetching SolarLog data: Error while logging in to the API 

I activated debug logging. The downloded file contains these lines:

2025-01-11 13:30:11.634 ERROR (MainThread) [homeassistant.components.solarlog.coordinator] Authentication failed while fetching SolarLog data: Error while logging in to the API
2025-01-11 13:35:05.374 DEBUG (MainThread) [solarlog_cli.solarlog_connector] Start testing extended data available
2025-01-11 13:35:05.375 DEBUG (MainThread) [solarlog_cli.solarlog_client] HTTP-request header: {'Content-Type': 'text/html'}
2025-01-11 13:35:05.375 DEBUG (MainThread) [solarlog_cli.solarlog_client] HTTP-request body: {"740": null}
2025-01-11 13:35:05.384 DEBUG (MainThread) [solarlog_cli.solarlog_client] HTTP-request successful: <ClientResponse(http://192.168.178.70/getjp) [200 OK]>
<CIMultiDictProxy('Content-Type': 'text/html', 'Content-Length': '2099', 'Date': 'Sat, 11 Jan 2025 12:35:05 GMT', 'Server': 'Solar-Log')>

2025-01-11 13:35:05.387 DEBUG (MainThread) [solarlog_cli.solarlog_client] Parsing http response: {"740":{"0":"ACCESS DENIED","1":"ACCESS DENIED","2":"ACCESS DENIED","3":"ACCESS DENIED","4":"ACCESS DENIED","5":"ACCESS DENIED","6":"ACCESS DENIED","7":"ACCESS DENIED","8":"ACCESS DENIED","9":"ACCESS DENIED","10":"ACCESS DENIED","11":"ACCESS DENIED","12":"ACCESS DENIED","13":"ACCESS DENIED","14":"ACCESS DENIED","15":"ACCESS DENIED","16":"ACCESS DENIED","17":"ACCESS DENIED","18":"ACCESS DENIED","19":"ACCESS DENIED","20":"ACCESS DENIED","21":"ACCESS DENIED","22":"ACCESS DENIED","23":"ACCESS DENIED","24":"ACCESS DENIED","25":"ACCESS DENIED","26":"ACCESS DENIED","27":"ACCESS DENIED","28":"ACCESS DENIED","29":"ACCESS DENIED","30":"ACCESS DENIED","31":"ACCESS DENIED","32":"ACCESS DENIED","33":"ACCESS DENIED","34":"ACCESS DENIED","35":"ACCESS DENIED","36":"ACCESS DENIED","37":"ACCESS DENIED","38":"ACCESS DENIED","39":"ACCESS DENIED","40":"ACCESS DENIED","41":"ACCESS DENIED","42":"ACCESS DENIED","43":"ACCESS DENIED","44":"ACCESS DENIED","45":"ACCESS DENIED","46":"ACCESS DENIED","47":"ACCESS DENIED","48":"ACCESS DENIED","49":"ACCESS DENIED","50":"ACCESS DENIED","51":"ACCESS DENIED","52":"ACCESS DENIED","53":"ACCESS DENIED","54":"ACCESS DENIED","55":"ACCESS DENIED","56":"ACCESS DENIED","57":"ACCESS DENIED","58":"ACCESS DENIED","59":"ACCESS DENIED","60":"ACCESS DENIED","61":"ACCESS DENIED","62":"ACCESS DENIED","63":"ACCESS DENIED","64":"ACCESS DENIED","65":"ACCESS DENIED","66":"ACCESS DENIED","67":"ACCESS DENIED","68":"ACCESS DENIED","69":"ACCESS DENIED","70":"ACCESS DENIED","71":"ACCESS DENIED","72":"ACCESS DENIED","73":"ACCESS DENIED","74":"ACCESS DENIED","75":"ACCESS DENIED","76":"ACCESS DENIED","77":"ACCESS DENIED","78":"ACCESS DENIED","79":"ACCESS DENIED","80":"ACCESS DENIED","81":"ACCESS DENIED","82":"ACCESS DENIED","83":"ACCESS DENIED","84":"ACCESS DENIED","85":"ACCESS DENIED","86":"ACCESS DENIED","87":"ACCESS DENIED","88":"ACCESS DENIED","89":"ACCESS DENIED","90":"ACCESS DENIED","91":"ACCESS DENIED","92":"ACCESS DENIED","93":"ACCESS DENIED","94":"ACCESS DENIED","95":"ACCESS DENIED","96":"ACCESS DENIED","97":"ACCESS DENIED","98":"ACCESS DENIED","99":"ACCESS DENIED"}}
2025-01-11 13:35:05.387 DEBUG (MainThread) [solarlog_cli.solarlog_connector] Authentication error: Server response: {"740":{"0":"ACCESS DENIED","1":"ACCESS DENIED","2":"ACCESS DENIED","3":"ACCESS DENIED","4":"ACCESS DENIED","5":"ACCESS DENIED","6":"ACCESS DENIED","7":"ACCESS DENIED","8":"ACCESS DENIED","9":"ACCESS DENIED","10":"ACCESS DENIED","11":"ACCESS DENIED","12":"ACCESS DENIED","13":"ACCESS DENIED","14":"ACCESS DENIED","15":"ACCESS DENIED","16":"ACCESS DENIED","17":"ACCESS DENIED","18":"ACCESS DENIED","19":"ACCESS DENIED","20":"ACCESS DENIED","21":"ACCESS DENIED","22":"ACCESS DENIED","23":"ACCESS DENIED","24":"ACCESS DENIED","25":"ACCESS DENIED","26":"ACCESS DENIED","27":"ACCESS DENIED","28":"ACCESS DENIED","29":"ACCESS DENIED","30":"ACCESS DENIED","31":"ACCESS DENIED","32":"ACCESS DENIED","33":"ACCESS DENIED","34":"ACCESS DENIED","35":"ACCESS DENIED","36":"ACCESS DENIED","37":"ACCESS DENIED","38":"ACCESS DENIED","39":"ACCESS DENIED","40":"ACCESS DENIED","41":"ACCESS DENIED","42":"ACCESS DENIED","43":"ACCESS DENIED","44":"ACCESS DENIED","45":"ACCESS DENIED","46":"ACCESS DENIED","47":"ACCESS DENIED","48":"ACCESS DENIED","49":"ACCESS DENIED","50":"ACCESS DENIED","51":"ACCESS DENIED","52":"ACCESS DENIED","53":"ACCESS DENIED","54":"ACCESS DENIED","55":"ACCESS DENIED","56":"ACCESS DENIED","57":"ACCESS DENIED","58":"ACCESS DENIED","59":"ACCESS DENIED","60":"ACCESS DENIED","61":"ACCESS DENIED","62":"ACCESS DENIED","63":"ACCESS DENIED","64":"ACCESS DENIED","65":"ACCESS DENIED","66":"ACCESS DENIED","67":"ACCESS DENIED","68":"ACCESS DENIED","69":"ACCESS DENIED","70":"ACCESS DENIED","71":"ACCESS DENIED","72":"ACCESS DENIED","73":"ACCESS DENIED","74":"ACCESS DENIED","75":"ACCESS DENIED","76":"ACCESS DENIED","77":"ACCESS DENIED","78":"ACCESS DENIED","79":"ACCESS DENIED","80":"ACCESS DENIED","81":"ACCESS DENIED","82":"ACCESS DENIED","83":"ACCESS DENIED","84":"ACCESS DENIED","85":"ACCESS DENIED","86":"ACCESS DENIED","87":"ACCESS DENIED","88":"ACCESS DENIED","89":"ACCESS DENIED","90":"ACCESS DENIED","91":"ACCESS DENIED","92":"ACCESS DENIED","93":"ACCESS DENIED","94":"ACCESS DENIED","95":"ACCESS DENIED","96":"ACCESS DENIED","97":"ACCESS DENIED","98":"ACCESS DENIED","99":"ACCESS DENIED"}}
2025-01-11 13:35:05.389 DEBUG (MainThread) [solarlog_cli.solarlog_client] HTTP-request header: {'Content-Type': 'text/html'}
2025-01-11 13:35:05.389 DEBUG (MainThread) [solarlog_cli.solarlog_client] HTTP-request body: u=user&p=e1gSLU_Z# 4r5VCD
2025-01-11 13:35:07.554 DEBUG (MainThread) [solarlog_cli.solarlog_client] HTTP-request successful: <ClientResponse(http://192.168.178.70/login) [200 OK]>
<CIMultiDictProxy('Content-Type': 'text/html', 'Content-Length': '28', 'Date': 'Sat, 11 Jan 2025 12:35:07 GMT', 'Server': 'Solar-Log')>

2025-01-11 13:38:39.859 DEBUG (MainThread) [solarlog_cli.solarlog_connector] Start testing extended data available
2025-01-11 13:38:39.859 DEBUG (MainThread) [solarlog_cli.solarlog_client] HTTP-request header: {'Content-Type': 'text/html'}
2025-01-11 13:38:39.860 DEBUG (MainThread) [solarlog_cli.solarlog_client] HTTP-request body: {"740": null}
2025-01-11 13:38:39.873 DEBUG (MainThread) [solarlog_cli.solarlog_client] HTTP-request successful: <ClientResponse(http://192.168.178.70/getjp) [200 OK]>
<CIMultiDictProxy('Content-Type': 'text/html', 'Content-Length': '2099', 'Date': 'Sat, 11 Jan 2025 12:38:39 GMT', 'Server': 'Solar-Log')>

2025-01-11 13:38:39.873 DEBUG (MainThread) [solarlog_cli.solarlog_client] Parsing http response: {"740":{"0":"ACCESS DENIED","1":"ACCESS DENIED","2":"ACCESS DENIED","3":"ACCESS DENIED","4":"ACCESS DENIED","5":"ACCESS DENIED","6":"ACCESS DENIED","7":"ACCESS DENIED","8":"ACCESS DENIED","9":"ACCESS DENIED","10":"ACCESS DENIED","11":"ACCESS DENIED","12":"ACCESS DENIED","13":"ACCESS DENIED","14":"ACCESS DENIED","15":"ACCESS DENIED","16":"ACCESS DENIED","17":"ACCESS DENIED","18":"ACCESS DENIED","19":"ACCESS DENIED","20":"ACCESS DENIED","21":"ACCESS DENIED","22":"ACCESS DENIED","23":"ACCESS DENIED","24":"ACCESS DENIED","25":"ACCESS DENIED","26":"ACCESS DENIED","27":"ACCESS DENIED","28":"ACCESS DENIED","29":"ACCESS DENIED","30":"ACCESS DENIED","31":"ACCESS DENIED","32":"ACCESS DENIED","33":"ACCESS DENIED","34":"ACCESS DENIED","35":"ACCESS DENIED","36":"ACCESS DENIED","37":"ACCESS DENIED","38":"ACCESS DENIED","39":"ACCESS DENIED","40":"ACCESS DENIED","41":"ACCESS DENIED","42":"ACCESS DENIED","43":"ACCESS DENIED","44":"ACCESS DENIED","45":"ACCESS DENIED","46":"ACCESS DENIED","47":"ACCESS DENIED","48":"ACCESS DENIED","49":"ACCESS DENIED","50":"ACCESS DENIED","51":"ACCESS DENIED","52":"ACCESS DENIED","53":"ACCESS DENIED","54":"ACCESS DENIED","55":"ACCESS DENIED","56":"ACCESS DENIED","57":"ACCESS DENIED","58":"ACCESS DENIED","59":"ACCESS DENIED","60":"ACCESS DENIED","61":"ACCESS DENIED","62":"ACCESS DENIED","63":"ACCESS DENIED","64":"ACCESS DENIED","65":"ACCESS DENIED","66":"ACCESS DENIED","67":"ACCESS DENIED","68":"ACCESS DENIED","69":"ACCESS DENIED","70":"ACCESS DENIED","71":"ACCESS DENIED","72":"ACCESS DENIED","73":"ACCESS DENIED","74":"ACCESS DENIED","75":"ACCESS DENIED","76":"ACCESS DENIED","77":"ACCESS DENIED","78":"ACCESS DENIED","79":"ACCESS DENIED","80":"ACCESS DENIED","81":"ACCESS DENIED","82":"ACCESS DENIED","83":"ACCESS DENIED","84":"ACCESS DENIED","85":"ACCESS DENIED","86":"ACCESS DENIED","87":"ACCESS DENIED","88":"ACCESS DENIED","89":"ACCESS DENIED","90":"ACCESS DENIED","91":"ACCESS DENIED","92":"ACCESS DENIED","93":"ACCESS DENIED","94":"ACCESS DENIED","95":"ACCESS DENIED","96":"ACCESS DENIED","97":"ACCESS DENIED","98":"ACCESS DENIED","99":"ACCESS DENIED"}}
2025-01-11 13:38:39.874 DEBUG (MainThread) [solarlog_cli.solarlog_connector] Authentication error: Server response: {"740":{"0":"ACCESS DENIED","1":"ACCESS DENIED","2":"ACCESS DENIED","3":"ACCESS DENIED","4":"ACCESS DENIED","5":"ACCESS DENIED","6":"ACCESS DENIED","7":"ACCESS DENIED","8":"ACCESS DENIED","9":"ACCESS DENIED","10":"ACCESS DENIED","11":"ACCESS DENIED","12":"ACCESS DENIED","13":"ACCESS DENIED","14":"ACCESS DENIED","15":"ACCESS DENIED","16":"ACCESS DENIED","17":"ACCESS DENIED","18":"ACCESS DENIED","19":"ACCESS DENIED","20":"ACCESS DENIED","21":"ACCESS DENIED","22":"ACCESS DENIED","23":"ACCESS DENIED","24":"ACCESS DENIED","25":"ACCESS DENIED","26":"ACCESS DENIED","27":"ACCESS DENIED","28":"ACCESS DENIED","29":"ACCESS DENIED","30":"ACCESS DENIED","31":"ACCESS DENIED","32":"ACCESS DENIED","33":"ACCESS DENIED","34":"ACCESS DENIED","35":"ACCESS DENIED","36":"ACCESS DENIED","37":"ACCESS DENIED","38":"ACCESS DENIED","39":"ACCESS DENIED","40":"ACCESS DENIED","41":"ACCESS DENIED","42":"ACCESS DENIED","43":"ACCESS DENIED","44":"ACCESS DENIED","45":"ACCESS DENIED","46":"ACCESS DENIED","47":"ACCESS DENIED","48":"ACCESS DENIED","49":"ACCESS DENIED","50":"ACCESS DENIED","51":"ACCESS DENIED","52":"ACCESS DENIED","53":"ACCESS DENIED","54":"ACCESS DENIED","55":"ACCESS DENIED","56":"ACCESS DENIED","57":"ACCESS DENIED","58":"ACCESS DENIED","59":"ACCESS DENIED","60":"ACCESS DENIED","61":"ACCESS DENIED","62":"ACCESS DENIED","63":"ACCESS DENIED","64":"ACCESS DENIED","65":"ACCESS DENIED","66":"ACCESS DENIED","67":"ACCESS DENIED","68":"ACCESS DENIED","69":"ACCESS DENIED","70":"ACCESS DENIED","71":"ACCESS DENIED","72":"ACCESS DENIED","73":"ACCESS DENIED","74":"ACCESS DENIED","75":"ACCESS DENIED","76":"ACCESS DENIED","77":"ACCESS DENIED","78":"ACCESS DENIED","79":"ACCESS DENIED","80":"ACCESS DENIED","81":"ACCESS DENIED","82":"ACCESS DENIED","83":"ACCESS DENIED","84":"ACCESS DENIED","85":"ACCESS DENIED","86":"ACCESS DENIED","87":"ACCESS DENIED","88":"ACCESS DENIED","89":"ACCESS DENIED","90":"ACCESS DENIED","91":"ACCESS DENIED","92":"ACCESS DENIED","93":"ACCESS DENIED","94":"ACCESS DENIED","95":"ACCESS DENIED","96":"ACCESS DENIED","97":"ACCESS DENIED","98":"ACCESS DENIED","99":"ACCESS DENIED"}}
2025-01-11 13:38:39.874 DEBUG (MainThread) [solarlog_cli.solarlog_client] HTTP-request header: {'Content-Type': 'text/html'}
2025-01-11 13:38:39.874 DEBUG (MainThread) [solarlog_cli.solarlog_client] HTTP-request body: u=user&p=e1gSLU_Z# 4r5VCD
2025-01-11 13:38:42.078 DEBUG (MainThread) [solarlog_cli.solarlog_client] HTTP-request successful: <ClientResponse(http://192.168.178.70/login) [200 OK]>
<CIMultiDictProxy('Content-Type': 'text/html', 'Content-Length': '28', 'Date': 'Sat, 11 Jan 2025 12:38:41 GMT', 'Server': 'Solar-Log')>

Any ideas whats going wrong here?

What version of Home Assistant Core has the issue?

2024.5.x, 2025.1.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

solar-log

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Se problem description

Additional information

No response

@home-assistant
Copy link

Hey there @Ernst79, @dontinelli, mind taking a look at this issue as it has been labeled with an integration (solarlog) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of solarlog can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign solarlog Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


solarlog documentation
solarlog source
(message by IssueLinks)

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

No branches or pull requests

3 participants