Solved

Error shopify cli app ( An existing connection was forcibly closed by the remote host. )

Sachin__
Excursionist
20 2 9


4: from C:/Ruby27-x64/lib/ruby/2.7.0/net/http.rb:932:in `start'
3: from C:/Ruby27-x64/lib/ruby/2.7.0/net/http.rb:943:in `do_start'
2: from C:/Ruby27-x64/lib/ruby/2.7.0/net/http.rb:1009:in `connect'
1: from C:/Ruby27-x64/lib/ruby/2.7.0/net/protocol.rb:44:in `ssl_socket_connect'
C:/Ruby27-x64/lib/ruby/2.7.0/net/protocol.rb:44:in `connect_nonblock': An existing connection was forcibly closed by the remote host. - SSL_connect (Errno::ECONNRESET)

 

App not starting what is issue.

Accepted Solution (1)

Kevin_A
Shopify Staff
318 42 61

This is an accepted solution.

Hey @Sachin__ 

Make sure you are using the most up-to-date version of our CLI. Can you provide exact steps you took to replicate this issue please?

Kevin_A | Solutions Engineer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)

Kevin_A
Shopify Staff
318 42 61

This is an accepted solution.

Hey @Sachin__ 

Make sure you are using the most up-to-date version of our CLI. Can you provide exact steps you took to replicate this issue please?

Kevin_A | Solutions Engineer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Aliven
Visitor
2 1 3

I've also encontered this error today (the shopify CLI version is 2.1.0, on windows 10.), but it was going well before today.

After thinking about this, I suspect that maybe it's because I didn't run the comand `shopify logout` before turning down the computer. So, after several times of running the comand `shopify logout` or  `shopify logout --store luckyaliven.myshopify.com`, i had solved this error.

Hope this may help someone else.

 

 

PS E:\Coding DEV\shopify\onionphy> shopify login --store XXXXXX.myshopify.com
This command ran with ID: 05921
Please include this information in any issues/report along with relevant logs
C:/Ruby30-x64/lib/ruby/3.0.0/net/protocol.rb:46:in `connect_nonblock': An existing connection was forcibly closed by the remote host. - SSL_connect (Errno::ECONNRESET)
        from C:/Ruby30-x64/lib/ruby/3.0.0/net/protocol.rb:46:in `ssl_socket_connect'
        from C:/Ruby30-x64/lib/ruby/3.0.0/net/http.rb:1038:in `connect'
        from C:/Ruby30-x64/lib/ruby/3.0.0/net/http.rb:970:in `do_start'
        from C:/Ruby30-x64/lib/ruby/3.0.0/net/http.rb:959:in `start'
        from C:/Ruby30-x64/lib/ruby/3.0.0/net/http.rb:1512:in `request'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/http_request.rb:39:in `request'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/http_request.rb:9:in `post'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/api.rb:58:in `block in request'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/api.rb:86:in `request'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/partners_api.rb:49:in `block in query'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/partners_api.rb:50:in `query'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/partners_api/organizations.rb:14:in `fetch'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/commands/whoami.rb:9:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/command.rb:25:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/commands/login.rb:36:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/command.rb:25:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'        
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-ui/lib/cli/ui.rb:176:in `log_output_to'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'  
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:51:in `twrap'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:51:in `twrap'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/core/executor.rb:15:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/core/entry_point.rb:24:in `block in call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/core/monorail.rb:32:in `log'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/core/entry_point.rb:23:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/bin/shopify:33:in `block in <main>'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/bin/shopify:32:in `<main>'

 

 

 

 

 

https://onioner.icu