Skip to content

Server name changed? #57

Description

@oene

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions