Hi Retool Community,
I'm currently trying to setup a self-host temporal to work with the workflow.
I used the docker-compose-with-temporal.yml as the startpoint. After starting all containers, i can:
- access self-host Retool without issue (except the Workflow)
- access self-host Temporal UI without issue
However, the workflow is still not working and ask me to 'upgrade deployment'. What I can see on the docker is the Workflow Worker is constantly restarting. So I guess the issue is restricted on Workflow component.
here's the error I received:
2024-05-31 17:08:19 wait-for-it.sh: waiting 15 seconds for postgres:5432
2024-05-31 17:08:19 wait-for-it.sh: postgres:5432 is available after 0 seconds
2024-05-31 17:08:19 sed: can't read ./dist/mobile/*.js: No such file or directory
2024-05-31 17:08:21 (node:22) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
2024-05-31 17:08:21
2024-05-31 17:08:21 Please migrate your code to use AWS SDK for JavaScript (v3).
2024-05-31 17:08:21 For more information, check the migration guide at https://a.co/7PzMCcy
2024-05-31 17:08:21 (Use `node --trace-warnings ...` to show where the warning was created)
2024-05-31 17:08:22 {"level":"info","message":"license check http response code: 200","timestamp":"2024-06-01T00:08:22.226Z"}
2024-05-31 17:08:22 {"level":"info","message":"License key feature flag overrides: {}","timestamp":"2024-06-01T00:08:22.228Z"}
2024-05-31 17:08:22 {"level":"info","message":"Updated license status from licensing server","timestamp":"2024-06-01T00:08:22.232Z"}
2024-05-31 17:08:22 (node:22) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
2024-05-31 17:08:22 {"level":"info","message":"creating temporal worker connection","timestamp":"2024-06-01T00:08:22.532Z"}
2024-05-31 17:08:22 /node_modules/@temporalio/worker/lib/connection.js:55
2024-05-31 17:08:22 throw new core_bridge_1.TransportError(err.message);
2024-05-31 17:08:22 ^
2024-05-31 17:08:22
2024-05-31 17:08:22 TransportError: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })))
2024-05-31 17:08:22 at NativeConnection.connect (/node_modules/@temporalio/worker/lib/connection.js:55:23)
2024-05-31 17:08:22 at async Xx (/retool_backend/bundle/main.js:3942:12843)
2024-05-31 17:08:22 at async rEe (/retool_backend/bundle/main.js:4362:8671)
2024-05-31 17:08:22 at async Object.k53 (/retool_backend/bundle/main.js:4362:9994)
2024-05-31 17:08:22
2024-05-31 17:08:22 Node.js v18.18.2
The self-host retool version I'm currently on is: 3.33.31-stable
Can anyone assist me on this?