When we click on "Connect" in the dashboard, the rtty server (ucentral gw) is sending the connect request to the rtty client (AP) successfully. AP also is responding and connecting to the gw. But there are a couple of issues.
Issue # 1
Immediately after clicking on Connect, the browser takes us to a rtty server (again ucentral gw only.. but on differnt port) url for example, https://owgw.shastacloud.com:5913/connect/fca974d05e9f6b437fc091be914ef8d5, but that page says "Bad Gateway" error. So the server is missing something. Hence we cannot see the AP's connect status on the dashboard as the above page is throwing "Bad gateway" error.
Issue # 2
The rtty daemon on the client (AP) keeps timing out and keeps reconnecting.
Couple of changes to fix these.
The first change is to make the rttys dashboard url https. It will resolve the SSL exception / Bad gw error ie issue #1 in the bug description.
The second change is to set the communication between rtty on AP and rttys on GW as passthrough. The GW pushes non-tls config to the AP hence AP tries to connect with non-tls, but the rtty server is configured with TLS. We need to make it passthrough until the rttys server supports TLS.
Signed-off-by: Venkat Chimata <venkatch@gmail.com>
* Add owrrm to Docker Compose deployments
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Adapt owrrm env var config to recent changes
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Adapt variables in owrrm.env after recent changes
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Fix owrrm rule in Traefik config and add documentation for setting up owrrm
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Make default Docker Compose settings optional
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Check if variables are set before executing sed
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Replace websocket cert and key if according variables are set
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Search and replace email address for ACME registration
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Simplify Letsencrypt deployment method by switching to one hostname
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Wait for DNS record to be resolvable to ensure ACME challenge passes
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Send waiting for DNS to background
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Revert "Send waiting for DNS to background"
This reverts commit 7f1ac42d223d4c3e870aed44d8a04e42f3ac006e.
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Wait for DNS entry in Traefik container
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Revert "Wait for DNS record to be resolvable to ensure ACME challenge passes"
This reverts commit fb3423e42d4fc09ca2ed0deca2c9fe23b74745b1.
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Fix multi-line entrypoint command
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Expose prov and prov-ui ports in Letsencrypt deployment after switch to one hostname
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Restrict websocket-key.pem permissions
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
* Update README.md
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>