Error with zcli validate and package | Community
Skip to main content

Error with zcli validate and package

  • February 13, 2023
  • 14 replies
  • 0 views

David32

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?

14 replies

Tipene
  • February 14, 2023
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

David32
  • Author
  • February 14, 2023

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.


Tipene
  • February 15, 2023
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.

David32
  • Author
  • February 15, 2023

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. 



Tipene
  • February 16, 2023
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?

  • May 13, 2023

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


mahfod
  • February 28, 2024

@tipene 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


Tipene
  • March 5, 2024

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. 


  • July 4, 2024

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
 

 


Kristoffer11

I have the same error as well.


  • July 5, 2024

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
 


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

  • July 23, 2024

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
 

 

 


  • July 23, 2024

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