ajc113 / currents

Currents Fishing Network Application
3 stars 3 forks source link

# (Stripe::APIConnectionError) "Unexpected error communicating when trying to connect to Stripe. You may be seeing this message because your DNS is not working. To check, try running 'host stripe.com' from the command line. (Network error: execution expired)" #163

Closed ajc113 closed 6 years ago

ajc113 commented 6 years ago
ExceptionUnexpected error communicating when trying to connect to Stripe. You may be seeing this message because your DNS is not working. To check, try running 'host stripe.com' from the command line. (Network error: execution expired)
Last OccurrenceDecember 07, 2017 14:39:24 -0500
Count3

Stack Trace

[bundle].../gems/stripe-3.0.0/lib/stripe/stripe_client.rb:350:in `handle_network_error'
[bundle].../gems/stripe-3.0.0/lib/stripe/stripe_client.rb:202:in `rescue in execute_request_with_rescues'
[bundle].../gems/stripe-3.0.0/lib/stripe/stripe_client.rb:184:in `execute_request_with_rescues'
[bundle].../gems/stripe-3.0.0/lib/stripe/stripe_client.rb:136:in `execute_request'
[bundle].../gems/stripe-3.0.0/lib/stripe/api_operations/request.rb:19:in `request'
[bundle].../gems/stripe-3.0.0/lib/stripe/api_operations/request.rb:58:in `request'
[bundle].../gems/stripe-3.0.0/lib/stripe/api_resource.rb:57:in `refresh'
[bundle].../gems/stripe-3.0.0/lib/stripe/api_resource.rb:64:in `retrieve'
[app].../app/models/stripe_customer.rb:10:in `retrieve'
[app].../app/models/exception_wrapper.rb:11:in `call'
[app].../app/models/exception_wrapper.rb:11:in `block (2 levels) in singleton class'
[app].../app/models/user.rb:51:in `trial_over?'
[app].../app/views/layouts/_subscription_alerts.html.erb:2:in `_app_views_layouts__subscription_alerts_html_erb___708364945103597487_70349587746840'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/template.rb:145:in `block in render'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:166:in `instrument'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/template.rb:333:in `instrument'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/template.rb:143:in `render'
[bundle].../gems/rack-mini-profiler-0.10.5/lib/mini_profiler/profiling_methods.rb:102:in `block in profile_method'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/partial_renderer.rb:309:in `render'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/renderer.rb:51:in `render_partial'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/helpers/rendering_helper.rb:35:in `render'
[app].../app/views/layouts/application.html.erb:21:in `_app_views_layouts_application_html_erb___285837265844508659_70349648011040'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/template.rb:145:in `block in render'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:166:in `instrument'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/template.rb:333:in `instrument'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/template.rb:143:in `render'
[bundle].../gems/rack-mini-profiler-0.10.5/lib/mini_profiler/profiling_methods.rb:102:in `block in profile_method'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/template_renderer.rb:52:in `render_template'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/template_renderer.rb:14:in `render'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/renderer.rb:46:in `render_template'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/renderer/renderer.rb:27:in `render'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/rendering.rb:100:in `_render_template'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/streaming.rb:217:in `_render_template'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/rendering.rb:83:in `render_to_body'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:32:in `render_to_body'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/renderers.rb:37:in `render_to_body'
[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/rendering.rb:25:in `render'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:16:in `render'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/AJ/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/core_ext/benchmark.rb:12:in `ms'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:43:in `render'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in `process_action'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in `call'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'
[bundle].../gems/rack-mini-profiler-0.10.5/lib/mini_profiler/profiling_methods.rb:102:in `block in profile_method'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in `dispatch'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in `block in action'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in `serve'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in `block in serve'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in `each'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in `serve'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in `call'
[bundle].../gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
[bundle].../gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
[bundle].../gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
[bundle].../gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'
[bundle].../gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'
[bundle].../gems/rack-1.6.8/lib/rack/head.rb:13:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in `call'
[bundle].../gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'
[bundle].../gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in `call'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/migration.rb:377:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/reloader.rb:73:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
[bundle].../gems/web-console-2.3.0/lib/web_console/middleware.rb:28:in `block in call'
[bundle].../gems/web-console-2.3.0/lib/web_console/middleware.rb:18:in `catch'
[bundle].../gems/web-console-2.3.0/lib/web_console/middleware.rb:18:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
[bundle].../gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in `call_app'
[bundle].../gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in `block in call'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in `block in tagged'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in `tagged'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in `tagged'
[bundle].../gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in `call'
[bundle].../gems/quiet_assets-1.1.0/lib/quiet_assets.rb:27:in `call_with_quiet_assets'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'
[bundle].../gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'
[bundle].../gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
[bundle].../gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'
[bundle].../gems/rack-livereload-0.3.16/lib/rack/livereload.rb:23:in `_call'
[bundle].../gems/rack-livereload-0.3.16/lib/rack/livereload.rb:14:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in `call'
[bundle].../gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'
[bundle].../gems/rack-mini-profiler-0.10.5/lib/mini_profiler/profiler.rb:282:in `call'
[bundle].../gems/railties-4.2.7.1/lib/rails/engine.rb:518:in `call'
[bundle].../gems/railties-4.2.7.1/lib/rails/application.rb:165:in `call'
[bundle].../gems/rack-1.6.8/lib/rack/content_length.rb:15:in `call'
[bundle].../gems/puma-3.9.1/lib/puma/configuration.rb:224:in `call'
[bundle].../gems/puma-3.9.1/lib/puma/server.rb:602:in `handle_request'
[bundle].../gems/puma-3.9.1/lib/puma/server.rb:435:in `process_client'
[bundle].../gems/puma-3.9.1/lib/puma/server.rb:299:in `block in run'
[bundle].../gems/puma-3.9.1/lib/puma/thread_pool.rb:120:in `block in spawn_thread'

Fingerprint: 23d32816997710d36a0b32740930aeb2ee302da9

ajc113 commented 6 years ago
Occurred AtNovember 17, 2017 17:37:30 -0500
Params#<User id: 3, email: "costa.aj@gmail.com", created_at: "2017-06-02 14:24:59", updated_at: "2017-11-13 23:19:33", first_name: "AJ", last_name: "Costa", home_port: "Green Harbor", state_waters: "MA", vessel_name: "Tradition", subscription_tier: nil, stripe_customer_id: "cus_BG6YGZl298pgWp", subscription_id: "sub_BG6YB3vJc3jl1K", is_active: true, payment_source: nil, deleted_at: nil>
ajc113 commented 6 years ago
Occurred AtDecember 02, 2017 11:14:26 -0500
Params#<User id: 1, email: "costa.aj@gmail.com", created_at: "2017-11-28 14:25:51", updated_at: "2017-12-01 17:27:41", first_name: "AJ", last_name: "Costa", home_port: "Green Harbor", state_waters: "MA", vessel_name: "Tradition", subscription_tier: nil, stripe_customer_id: "cus_BqrlEhUHyIIh4k", subscription_id: "sub_BqrlH9D9rJT8ro", is_active: true, payment_source: nil, deleted_at: nil>
ajc113 commented 6 years ago
Occurred AtDecember 07, 2017 14:39:24 -0500
Params#<User id: 1, email: "costa.aj@gmail.com", created_at: "2017-11-28 14:25:51", updated_at: "2017-12-07 15:46:25", first_name: "AJ", last_name: "Costa", home_port: "Green Harbor", state_waters: "MA", vessel_name: "Tradition", subscription_tier: nil, stripe_customer_id: "cus_BqrlEhUHyIIh4k", subscription_id: "sub_BqrlH9D9rJT8ro", is_active: true, payment_source: nil, deleted_at: nil>