Hello
I am trying to run this simple demo from the edu-101 repository.
It runs perfectly when using the current specified version of go.temporal.io/sdk v1.26.0 but when I try to upgrade it to v1.27.0 by using the command go get -u go.temporal.io/sdk@v1.27.0
then go mod tidy
then I run the command go run worker/main.go
I am getting the error
2024/07/15 00:57:39 Unable to create client failed reaching server: context deadline exceeded
exit status 1
cluster is supposed to be healthy when I run
tctl --ad localhost:7233 cl h
temporal.api.workflowservice.v1.WorkflowService: SERVING
❯ tctl adm cl d
{
"supportedClients": {
"temporal-cli": "\u003c2.0.0",
"temporal-go": "\u003c2.0.0",
"temporal-java": "\u003c2.0.0",
"temporal-php": "\u003c2.0.0",
"temporal-server": "\u003c2.0.0",
"temporal-typescript": "\u003c2.0.0",
"temporal-ui": "\u003c3.0.0"
},
"serverVersion": "1.22.0",
"membershipInfo": {
"currentHost": {
"identity": "127.0.0.1:7233"
},
"reachableMembers": [
"127.0.0.1:46761",
"127.0.0.1:41021",
"127.0.0.1:46743",
"127.0.0.1:36611"
],
"rings": [
{
"role": "frontend",
"memberCount": 1,
"members": [
{
"identity": "127.0.0.1:7233"
}
]
},
{
"role": "history",
"memberCount": 1,
"members": [
{
"identity": "127.0.0.1:41705"
}
]
},
{
"role": "matching",
"memberCount": 1,
"members": [
{
"identity": "127.0.0.1:34503"
}
]
},
{
"role": "worker",
"memberCount": 1,
"members": [
{
"identity": "127.0.0.1:43791"
}
]
}
]
},
"clusterId": "036e9abd-9451-4daf-9aa6-d2856506e822",
"clusterName": "active",
"historyShardCount": 1,
"persistenceStore": "sqlite",
"visibilityStore": "sqlite",
"versionInfo": {
"current": {
"version": "1.22.0",
"releaseTime": "2023-09-05T23:00:00Z"
},
"recommended": {
"version": "1.24.2",
"releaseTime": "2024-06-17T16:51:00Z"
},
"alerts": [
{
"message": "🪐 A new release is available!",
"severity": "Low"
}
],
"lastUpdateTime": "2024-07-14T22:48:15.545444008Z"
},
"failoverVersionIncrement": "10",
"initialFailoverVersion": "1"
}
I am running temporal via docker-compose file
temporal:
container_name: temporal
image: temporalio/server:1.22.2
entrypoint: /usr/local/bin/temporal server start-dev --ip 0.0.0.0 --ui-ip 0.0.0.0 --ui-port 8080
networks:
- temporal-network
environment:
- TEMPORAL_CODEC_ENDPOINT=http://localhost:8081/merchant/temporal/codec
ports:
- 7233:7233
- 8080:8080
temporal-admin-tools:
container_name: temporal-admin-tools
depends_on:
- temporal
environment:
- TEMPORAL_CLI_ADDRESS=temporal:7233
image: temporalio/admin-tools:1.22.2
networks:
- temporal-network
stdin_open: true
tty: true
networks:
temporal-network:
driver: bridge
name: temporal-network
Any idea please what is happening or what I might be missing? sharing the versions below →
Temporal server version: temporalio/server:1.22.2
SDK Version: 1.27.0
GO version: go1.22.5 darwin/arm64
OS: MacOS Sonoma v14.5