When I enter this endpoint in the Deploy popup in Zeebe Modeler and all the other OAuth details, Zeebe Modeler indicates the error “Unknown error. Please check Zeebe cluster status” in the Contact Point.
Bonus : Is there a way to include gRPC WebDev Tools in Electron ? I need those as they may help me debug and trace all the gRPC messages being exchanged between Zeebe Modeler and the Zeebe Gateway/gRPC server.
It looks like it’s not an authentication issue but rather some other problem. According to the gRPC docs, error 14 means:
The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations.
Can you try to use zeebe-node to connect to your cluster? This is what Zeebe Modeler uses under the hood.
10:52:30.488 | zeebe | INFO: [topology]: 14 UNAVAILABLE: failed to connect to all addresses
E0423 10:52:31.487000000 12952 ssl_transport_security.cc:1245] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.
10:52:31.503 | zeebe | INFO: [topology]: Attempt 2 (max: -1).
10:52:31.505 | zeebe | INFO: [topology]: 14 UNAVAILABLE: failed to connect to all addresses
10:52:32.505 | zeebe | INFO: [topology]: Attempt 3 (max: -1).
10:52:32.507 | zeebe | INFO: [topology]: 14 UNAVAILABLE: failed to connect to all addresses
E0423 10:52:33.103000000 12952 ssl_transport_security.cc:1245] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.
However, when I do useTLS: false, it does work ! I have another endpoint in HTTPS, and it only works when useTLS is set to false, otherwise, I get the error above!
@barmac : do you think a that a feature that would expose the useTLS value to the end user (as a tick box) would be conceivable in Zeebe Modeler ?
Thanks for the test result. I am happy that you were able to found the root cause of the problem.
@barmac : do you think a that a feature that would expose the useTLS value to the end user (as a tick box) would be conceivable in Zeebe Modeler ?
I’d rather not expose it as a tick as this is strictly related to the endpoint URL: http or https. So then comes the question whether we should detect provided protocol and adjust the option. In my opinion: no, because this could open a security hole as we generally don’t want to make it easier to pass tokens over unencrypted connection.
I have another endpoint in HTTPS, and it only works when useTLS is set to false , otherwise, I get the error above!