======== TEMPLATE BUG FORM ========
Wappler Version : 6.1.3
Operating System : Mac M1
Server Model: NodeJS
Database Type: MySQL 8
Hosting Type:
Local: Docker with Docker Redis
Staging: Docker with Docker Redis
Prod: Docker with External Managed Redis (Digital Ocean).
cloudflare managing DNS of staging and production
traefik used for ssl
Expected behavior
I should be able to deploy my working staged app to production and access the app as expected.
Actual behavior
When I try to access my app I get:
404 page not found
This error is what I receive in my Web Server Logs:
SocketClosedUnexpectedlyError: Socket closed unexpectedly
at Socket. (/opt/node_app/node_modules/@redis/client/dist/lib/client/socket.js:195:118)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at TCP. (node:net:301:12)
I can confirm:
- My Redis managed server is accessible and without error
- My app is ‘green’ in terms of deployment status, and the database etc.
- the DNS is propagated fine so it’s not a DNS issue
- Staged app with Redis in Docker is accessible at the URL path.