Skip to content

Host Server Problem ( IP blocked by Firewall) #16

@maicol83

Description

@maicol83

Hello, I have installed your green-api-custom-notifier, but unfortunately, Home Assistant returns the following error:

"Request was failed with error: HTTPSConnectionPool(host='api.green-api.com', port=443): Max retries exceeded with url: /waInstancexxxxxxx/sendMessage (Caused by ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')))."

he issue is that, due to European corporate policies, IP addresses originating from Russia are blocked. As a result, it is not possible to send or receive notifications.

I contacted GreenAPI, and they kindly informed me that their servers are located in various countries, including Europe. Therefore, it is essential not to set the general host:
🔴 https://api.greenapi.com/ (which points to Moscow).

Instead, you need to use the direct host of your server, such as:
https://xxxx.api.greenapi.com/ (where xxxx is your instance in GreenAPI).

I can't figure out where it is saved in HA, but I think it's inside the API.py file of whatsapp-api-client-python.

I am unable to access the file, so I would like to know how to modify the host from HA Notifier, and if it is possible to add this field in the Config.yaml file under Instance ID and Token.

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