Recent searches


No recent searches

Error with zcli validate and package



Posted Feb 13, 2023

I'm currently getting a SSL error when I try to validate or package a new app update:

> zcli apps:validate
 ›   Error: Error: write EPROTO 8085820701000000:error:0A000410:SSL routines:ssl3_read_bytes:sslv3 alert handshake
 ›   failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1600:SSL alert number 40

I've tried updating all ruby gems and homebrew as well. Is there something I am missing?


0

14

14 comments

image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hey David,
 
Can you share the version of ZCLI you’re using, as well as the openssl version and your operating system. Also, is it only the validate and package commands that are generating this error on your end?
 
Thanks!
 
Tipene

0


SSL: LibreSSL 2.8.3
ZCLI: @zendesk/zcli/1.0.0-beta.28 darwin-arm64 node-v19.3.0

However, I went through and reinstalled the Zendesk Apps Framework and now it no longer uses ZCLI, but uses the legacy ZAT commands, which works successfully.

0


image avatar

Tipene Hughes

Zendesk Developer Advocacy

Thanks for the update, David. If you like, you can try re-installing ZCLI to see if that has any effect; this will bring it up to the latest version which is 1.0.0-beta.31. 
 
ZCLI and ZAT can be used concurrently so you’ll still be able to validate and package your apps using ZAT if you continue to see issues.

0


I tried reinstalling ZCLI and updated (@zendesk/zcli/1.0.0-beta.32 darwin-arm64 node-v19.3.0) and I get the same error. 


0


image avatar

Tipene Hughes

Zendesk Developer Advocacy

Huh, that’s strange. We haven’t been able to repro on our end. So I can troubleshoot this in more depth, can you provide a few extra details, specifically: what version of macOS are you running and, what web browser is configured as your default and is it up to date?
 
Also, does this error appear when you run the zcli apps:create or zcli apps:server commands?

0


Try re-authenticating zcli with the correct subdomain. In our case, our subdomain had changed during partner account migration.

1. zcli logout

2. zcli login -i  and provide the right subdomain

0


Tipene Hughes Hi, same way to use zcli apps:create but server all is good

Have got any idea about this ? I tried with differents projects but issue is the same

0


image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hey Mahfod,

Are you seeing the exact same error as mentioned above, and is it triggered on the same commands? If so, can you also provide me the version of ZCLI you’re using, as well as the openssl version and your operating system. 

0


I am using

Linux Version:  Ubuntu 20.04 LTS 
Zcli version   : @zendesk/zcli/1.0.0-beta.42 linux-x64 node-v20.10.0
node version:  v20.10.0

SSL Version : OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)

 

Getting the error when i am trying to create/upadte/package/upload the app

zcli apps:create testapp
Uploading app... !
   Error: write EPROTO 40EC3F36CE7C0000:error:0A000410:SSL routines:ssl3_read_bytes:sslv3 alert handshake 
   failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1586:SSL alert number 40

   Code: EPROTO
 

 

0


I have the same error as well.

0


Same here - it was working a couple of weeks ago

OS: Darwin Kernel Version 23.5.0
Zcli version   : @zendesk/zcli/1.0.0-beta.42 linux-x64 node-v20.10.0
node version:  v20.10.0
ssl: LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.61.0
 

0


image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hi all,
 
Apologies for the delay in someone getting back to you here. Can you confirm if you're still encountering this issue?
 
 

0


Yes indeed the state did not changed  for me atleast

 

zcli apps:create testapp
Uploading app... !
   Error: write EPROTO 401C142C6B7F0000:error:0A000410:SSL routines:ssl3_read_bytes:sslv3 alert handshake 
   failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1586:SSL alert number 40

   Code: EPROTO
 

 

 

0


Hi Tipene Hughes - I am no longer experiencing the issue. Has something changed? Thanks for looking into it :) 

-1


Please sign in to leave a comment.

Didn't find what you're looking for?

New post