Skip to content

Webhook, When JSON ENABLE = false, socket is not listening #615

@daniel-lucio

Description

@daniel-lucio

My user/config.json file has the following
"webhook": {
"enabled": true,
"ngrok-token": "Empty",
"webhook-bind-ip": "192.168.7.106",
"webhook-bind-port": 7777
}

2021-11-20 01:24:23 INFO ServiceFactory service_factory.py:54 WebHookService can't be initialized: configuration is missing, wrong or incomplete. This is normal if you did not configure it yet.

I have tried several variants of the json:
"ngrok-token": "",

non-existen "ngrok-token line
"webhook-bind-ip": 0.0.0.0
"webhook-bind-ip": 127.0.0.1


However, putting
"webhook": {
"enabled": false
"ngrok-token": "Empty",
"webhook-bind-ip": "192.168.7.106",
"webhook-bind-port": 7777
}

Returns:
2021-11-20 01:50:53,671 INFO WebHookService Webhook configured on address: 192.168.7.106 and port: 7777

Anyway, port 7777 is still closed.

My wild guess is the error is here https://github.com/Drakkar-Software/OctoBot-Tentacles/blame/master/Services/Services_bases/webhook_service/webhook.py around line 86.

Not a python coder :(

Metadata

Metadata

Assignees

Labels

questionFurther information is requestedservices

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions