temporalio/samples-java

[Feature Request] Add troubleshooting details to

rross opened this issue · 0 comments

Is your feature request related to a problem? Please describe.

Running the SslEnabledWorkerCustomCASample and forgetting to start the server-sample results in an exception.

Describe the solution you'd like

In the readme - https://github.com/temporalio/samples-java/blob/main/core/src/main/java/io/temporal/samples/ssl/README.md, it would be nice to add a troubleshooting section in the Run SslEnabledWorkerCustomCASample. Even better, modify the sample to catch this error and return a helpful message, like "Did you start the server-sample?"

Example for a troubleshooting section:

  1. If you receive an error message similar to

Exception in thread "main" io.grpc.StatusRuntimeException: UNAVAILABLE: io exception

This likely means you forgot to run the server-sample, located here: https://github.com/temporalio/samples-server/tree/main/tls/tls-simple