-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Samples seemingly not executing workflow #242
Comments
It's likely the grpc-js version issue reported here: temporalio/sdk-typescript#1033 |
That worked! Thanks for the quick response. |
I'm running into a similar issue (even after upgrading to latest and greatest grpc-js)
Is anyone experiencing the sam issue? For the record, I'm evaluating the technology, so the fact that I have problems setting up the hello world, doesn't give me much confidence at the moment... (at least on the hosted version) |
Can you connect to a local server using temporalite or our docker compose setup? |
I'm using SDK 1.6.0 and I tried to override the grpc-js with "@grpc/grpc-js": "1.8.7" just in case, but no luck. The docker-compose version works just fine, so it has to be an internal misconfiguration of one of the services deployed within the cluster... I filed a bug in the helm repo, since the sdk seems to be just fine invoked when standing up the services via docker. |
@bergundy I tried temporalite just to triple check: If I run temporalite without the frontend If I run temporalite with the UI
Seems like worker and client logic seem to be fine, but the services are not well configured neither for kubernetes or temporalite? |
Apart from that error log with temporalite, is the SDK sample working for you? For the k8s deployment, I suggest you get support on our community slack: https://t.mp/slack. I’m closing this issue since it is no longer relevant since the last sdk release. |
What are you really trying to do?
I'm trying to run the samples here, and getting a feel for how the whole architecture of temporal works. Part of that is getting a basic workflow up and running, and being able to observe how it's scheduled, executed etc.
Describe the bug
On running the samples I tried (hello-world, hello-world-js, activities-examples) I spun up a dev cluster via docker-compose and followed the instructions for getting it started. The cluster spun up fine and seems active, UI is working, worker starts and connects, but when I run the actual workflow it seems to just silently exit out of the
client.workflow.start
call. All logs or attempts to write to a file works up to that point, but after that nothing happens. Not in theclient.ts
functions nor those inactivities.ts
. I'm new to this so perhaps there's a step I'm missing or I misunderstood something.Minimal Reproduction
docker-compose up
cd samples-typescript/hello-world-js
npm install
npm run start.watch
npm run workflow
Output from worker:
Output from workflow:
Expected:
Environment/Versions
MacOS Ventura 13.1, Intel core i7
Node.js v19.4.0
Temporal version: 1.19.1 (also tried 1.18.5)
Run via docker-compose from the aforementioned docker-compose repo
Additional context
The text was updated successfully, but these errors were encountered: