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

Server name changed? #57

Open
oene opened this issue Mar 6, 2023 · 3 comments
Open

Server name changed? #57

oene opened this issue Mar 6, 2023 · 3 comments

Comments

@oene
Copy link

oene commented Mar 6, 2023

Hi,

Wasn't able to retrieve data using server-api.growatt.com using username and password:

raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://server-api.growatt.com/newTwoLoginAPI.do

Changing the to server.growatt.com solved the issue for me.

__init__.py

class GrowattApi

    server_url = 'https://server.growatt.com/'

Regards,

Oene

@bompaization
Copy link

picking up on this, is it possible to change the default url to this? I'm having trouble getting my build to accept the change in the module.

@mreferre
Copy link

I am having the same problem. Manually hacking the init makes it work. We are waiting for this I assume?

@marcovtwout
Copy link
Contributor

Fixed by #77
@indykoning this issue could be closed

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

4 participants