nextcloud / talk_matterbridge

This app brings the Matterbridge binary to your server to connect Nextcloud Talk with other chat services
https://apps.nextcloud.com/apps/talk_matterbridge
GNU Affero General Public License v3.0
39 stars 7 forks source link

Telegram error. #78

Open dagobar7 opened 1 year ago

dagobar7 commented 1 year ago

Bridge to Telegram not working. Error log below. Replaced ID with xxxxxxxxx & internet domain with my.domain for privacy reason. The flow is: Internet <=> (public IPv4 with HTTPS) Nginx SSL proxy (192.168.1.5) <=> (HTTP://192.168.1.30:80) Nextcloud From the log I can see that instead of connecting to the public IPv4 address on the HTTPS:443 it tries to connect on the private IPv4 HTTPS:443 witch don't exist. Where can I specify in the settings this case to solve the problem ?

time="2022-11-12T15:06:53+02:00" level=info msg="Running version 1.25.2 20f841c5" prefix=main
time="2022-11-12T15:06:53+02:00" level=info msg="Parsing gateway myGateway" prefix=router
time="2022-11-12T15:06:53+02:00" level=info msg="Starting bridge: telegram.0 " prefix=router
time="2022-11-12T15:06:53+02:00" level=info msg=Connecting prefix=telegram
time="2022-11-12T15:06:54+02:00" level=info msg="Connection succeeded" prefix=telegram
time="2022-11-12T15:06:54+02:00" level=info msg="telegram.0: joining xxxxxxxxx (ID: xxxxxxxxxtelegram.0)" prefix=telegram
time="2022-11-12T15:06:54+02:00" level=info msg="Starting bridge: nctalk.1 " prefix=router
time="2022-11-12T15:06:54+02:00" level=info msg=Connecting prefix=nctalk
time="2022-11-12T15:06:54+02:00" level=error msg="Cannot Connect" prefix=nctalk
time="2022-11-12T15:06:54+02:00" level=fatal msg="Starting gateway failed: Bridge nctalk.1 failed to start: Get "https://my.domain/ocs/v2.php/cloud/capabilities": dial tcp 192.168.1.30:443: connect: connection refused" prefix=main

Thanks.