notify_push icon indicating copy to clipboard operation
notify_push copied to clipboard

calling the old domain after domain change

Open Tealk opened this issue 2 years ago • 3 comments

Hello,

I changed the domain but the notify_push still seems to point to the old domain, but I don't know where it gets this information because I already changed the domain in the config.

Firefox cannot connect to the server at wss://anzah.cloud/push/ws.

Tealk avatar Jul 27 '22 14:07 Tealk

Simply run setup again on the CLI and add your domain:

./occ notify_push:setup https://my.domain.com/push

zoernert avatar Aug 11 '22 23:08 zoernert

Unfortunately I get the error message: can't connect to push server: cURL error 7: Failed to connect to rollenspiel.cloud port 443: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://rollenspiel.cloud/push/test/cookie

I think this is because my Nextcloud instance is behind NAT. Does anyone have experience with this?

Schematically it looks like this Internet -> Proxmox -> pfSense -> nginx proxy manager -> Nextcloud

Tealk avatar Aug 12 '22 06:08 Tealk

It depends on where the notify-push service is running and where it tries to actually connect to. Also it depends on where you terminate your SSL.

For the notify-push service "rollenspiel.cloud" should optimally resolve to the SSL termination endpoint - so it get's presented a valid certificate.

Otherwise you could also try to allow self-signed certs.

koelle25 avatar Jan 24 '23 10:01 koelle25