Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bank autocheck: unhandleled timeout #1474

Closed
vohmar opened this issue Jan 17, 2020 · 3 comments
Closed

Bank autocheck: unhandleled timeout #1474

vohmar opened this issue Jan 17, 2020 · 3 comments
Assignees

Comments

@vohmar
Copy link
Contributor

vohmar commented Jan 17, 2020

We have this kind of errors in autocheck logs:

rake aborted!
Net::OpenTimeout: execution expired
/home/registry/registry/shared/bundle/ruby/2.4.0/gems/socksify-1.7.1/lib/socksify.rb:178:in `initialize'
/home/registry/registry/shared/bundle/ruby/2.4.0/gems/socksify-1.7.1/lib/socksify.rb:178:in `initialize'
/home/registry/registry/shared/bundle/ruby/2.4.0/bundler/gems/lhv-e211516bc5ff/lib/lhv/connect_api.rb:26:in `credit_debi
t_notification_messages'
/home/registry/registry/releases/110/lib/tasks/invoices/process_payments.rake:20:in `block (2 levels) in <top (required)
>'
/home/registry/registry/shared/bundle/ruby/2.4.0/gems/airbrake-9.4.5/lib/airbrake/rake.rb:17:in `execute'
/home/registry/registry/releases/110/vendor/bundle/ruby/2.4.0/gems/rake-13.0.0/exe/rake:27:in `<top (required)>'
bin/bundle:3:in `load'
bin/bundle:3:in `<main>'
Tasks: TOP => invoices:process_payments
(See full trace by running task with --trace)

Should be handled more elegantly

yulgolem added a commit to internetee/lhv that referenced this issue Jan 28, 2020
When connecting to external service and Net::OpenTimeout occurs, API now tries to
reconnect 3 times, when raises an arror. All retries and error are logged to
standard logger.

See internetee/registry#1474
@vohmar
Copy link
Contributor Author

vohmar commented Jan 29, 2020

fixed by internetee/lhv#2
needs gem update on registry side

@vohmar
Copy link
Contributor Author

vohmar commented Feb 3, 2020

waiting for gem update on registry side

@vohmar
Copy link
Contributor Author

vohmar commented Feb 5, 2020

closed by #1514

@vohmar vohmar closed this as completed Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants