Skip to content

Commit

Permalink
Fixes #4350 - Freshdesk migration raises "Connection reset by peer - …
Browse files Browse the repository at this point in the history
…SSL_connect".
  • Loading branch information
dominikklein committed Nov 9, 2023
1 parent 450551c commit 242baab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/sequencer/unit/import/freshdesk/requester.rb
Expand Up @@ -11,7 +11,7 @@ def request(api_path:, params: nil)
return response if response.is_a? Net::HTTPOK

handle_error response, iteration
rescue Net::HTTPClientError => e
rescue Net::HTTPClientError, OpenSSL::SSL::SSLError => e
handle_exception e, iteration
end

Expand Down
2 changes: 1 addition & 1 deletion lib/sequencer/unit/import/kayako/requester.rb
Expand Up @@ -16,7 +16,7 @@ def request(api_path:, params: nil)
end

handle_error response, iteration
rescue Net::HTTPClientError => e
rescue Net::HTTPClientError, OpenSSL::SSL::SSLError => e
handle_exception e, iteration
end

Expand Down

0 comments on commit 242baab

Please sign in to comment.