mspanc/openstax_keystone

OpenStax Keystone can crash with {:bad_disconnect, :refresh}

Closed this issue · 0 comments

2018-11-20T01:14:50.519324000Z 01:14:50.484 [error] GenServer #PID<0.19511.7> terminating
2018-11-20T01:14:50.520146000Z ** (stop) {:bad_disconnect, :refresh}
2018-11-20T01:14:50.521458000Z     (openstax_keystone) lib/connection.ex:350: OpenStax.Keystone.AuthWorker.disconnect/2
2018-11-20T01:14:50.522058000Z     (connection) lib/connection.ex:767: Connection.disconnect/3
2018-11-20T01:14:50.523350000Z     (stdlib) gen_server.erl:601: :gen_server.try_dispatch/4
2018-11-20T01:14:50.524022000Z     (stdlib) gen_server.erl:667: :gen_server.handle_msg/5
2018-11-20T01:14:50.535504000Z     (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
2018-11-20T01:14:50.535994000Z Last message: :refresh
2018-11-20T01:14:50.551793000Z =CRASH REPORT==== 20-Nov-2018::01:14:50 ===
2018-11-20T01:14:50.552603000Z   crasher:
2018-11-20T01:14:50.555119000Z     initial call: Elixir.OpenStax.Keystone.AuthWorker:init/1
2018-11-20T01:14:50.555535000Z     pid: <0.19511.7>
2018-11-20T01:14:50.555915000Z     registered_name: []
2018-11-20T01:14:50.556256000Z     exception exit: {bad_disconnect,refresh}
2018-11-20T01:14:50.556586000Z       in function  gen_server:terminate/7 (gen_server.erl, line 800)
2018-11-20T01:14:50.563859000Z     ancestors: ['Elixir.OpenStax.Keystone.AuthSupervisor',
2018-11-20T01:14:50.564632000Z                   'Elixir.OpenStax.Keystone',<0.1750.0>]
2018-11-20T01:14:50.564835000Z     messages: []
2018-11-20T01:14:50.573065000Z     links: [<0.1753.0>]
2018-11-20T01:14:50.573959000Z     dictionary: []
2018-11-20T01:14:50.579317000Z     trap_exit: false
2018-11-20T01:14:50.579771000Z     status: running
2018-11-20T01:14:50.580823000Z     heap_size: 6772
2018-11-20T01:14:50.581252000Z     stack_size: 27
2018-11-20T01:14:50.588307000Z     reductions: 32921
2018-11-20T01:14:50.589142000Z   neighbours:
2018-11-20T01:14:50.593097000Z 01:14:50.509 [info] [OpenStax.Keystone.AuthWorker "swift:ovh-persistent"] Retreiving auth token...
2018-11-20T01:14:50.593518000Z =SUPERVISOR REPORT==== 20-Nov-2018::01:14:50 ===
2018-11-20T01:14:50.593725000Z      Supervisor: {local,'Elixir.OpenStax.Keystone.AuthSupervisor'}
2018-11-20T01:14:50.594391000Z      Context:    child_terminated
2018-11-20T01:14:50.605539000Z      Reason:     {bad_disconnect,refresh}
2018-11-20T01:14:50.606586000Z      Offender:   [{pid,<0.19511.7>},
2018-11-20T01:14:50.607574000Z                   {id,<<"OpenStax.KeyStone.AuthWorker#swift:ovh-persistent">>},
2018-11-20T01:14:50.656298000Z                   {mfargs,
2018-11-20T01:14:50.657931000Z                       {'Elixir.OpenStax.Keystone.AuthWorker',start_link,
2018-11-20T01:14:50.659919000Z                           [<<"swift:ovh-persistent">>]}},
2018-11-20T01:14:50.661362000Z                   {restart_type,permanent},
2018-11-20T01:14:50.670468000Z                   {shutdown,5000},
2018-11-20T01:14:50.671758000Z                   {child_type,worker}]
2018-11-20T01:14:52.439743000Z 01:14:52.426 [error] GenServer #PID<0.19513.7> terminating
2018-11-20T01:14:52.440576000Z ** (stop) {:bad_disconnect, :refresh}
2018-11-20T01:14:52.441759000Z     (openstax_keystone) lib/connection.ex:350: OpenStax.Keystone.AuthWorker.disconnect/2
2018-11-20T01:14:52.451146000Z     (connection) lib/connection.ex:767: Connection.disconnect/3
2018-11-20T01:14:52.451457000Z     (stdlib) gen_server.erl:601: :gen_server.try_dispatch/4
2018-11-20T01:14:52.451870000Z     (stdlib) gen_server.erl:667: :gen_server.handle_msg/5
2018-11-20T01:14:52.497152000Z     (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
2018-11-20T01:14:52.499132000Z Last message: :refresh
2018-11-20T01:14:52.525158000Z =CRASH REPORT==== 20-Nov-2018::01:14:52 ===
2018-11-20T01:14:52.525480000Z   crasher:
2018-11-20T01:14:52.540959000Z     initial call: Elixir.OpenStax.Keystone.AuthWorker:init/1
2018-11-20T01:14:52.541185000Z     pid: <0.19513.7>
2018-11-20T01:14:52.541414000Z     registered_name: []
2018-11-20T01:14:52.556103000Z     exception exit: {bad_disconnect,refresh}
2018-11-20T01:14:52.556411000Z       in function  gen_server:terminate/7 (gen_server.erl, line 800)
2018-11-20T01:14:52.557264000Z     ancestors: ['Elixir.OpenStax.Keystone.AuthSupervisor',
2018-11-20T01:14:52.568519000Z                   'Elixir.OpenStax.Keystone',<0.1750.0>]
2018-11-20T01:14:52.568748000Z     messages: []
2018-11-20T01:14:52.582671000Z     links: [<0.1753.0>]
2018-11-20T01:14:52.602978000Z     dictionary: []
2018-11-20T01:14:52.626441000Z     trap_exit: false
2018-11-20T01:14:52.634532000Z     status: running
2018-11-20T01:14:52.634777000Z     heap_size: 6772
2018-11-20T01:14:52.635621000Z     stack_size: 27
2018-11-20T01:14:52.653763000Z     reductions: 32904
2018-11-20T01:14:52.672997000Z   neighbours:
2018-11-20T01:14:52.674111000Z 01:14:52.433 [info] [OpenStax.Keystone.AuthWorker "swift:ovh-volatile"] Retreiving auth token...
2018-11-20T01:14:52.682967000Z =SUPERVISOR REPORT==== 20-Nov-2018::01:14:52 ===
2018-11-20T01:14:52.684573000Z      Supervisor: {local,'Elixir.OpenStax.Keystone.AuthSupervisor'}
2018-11-20T01:14:52.690429000Z      Context:    child_terminated
2018-11-20T01:14:52.717561000Z      Reason:     {bad_disconnect,refresh}
2018-11-20T01:14:52.717889000Z      Offender:   [{pid,<0.19513.7>},
2018-11-20T01:14:52.730211000Z                   {id,<<"OpenStax.KeyStone.AuthWorker#swift:ovh-volatile">>},
2018-11-20T01:14:52.730449000Z                   {mfargs,
2018-11-20T01:14:52.732046000Z                       {'Elixir.OpenStax.Keystone.AuthWorker',start_link,
2018-11-20T01:14:52.732414000Z                           [<<"swift:ovh-volatile">>]}},
2018-11-20T01:14:52.745736000Z                   {restart_type,permanent},
2018-11-20T01:14:52.746041000Z                   {shutdown,5000},
2018-11-20T01:14:52.750382000Z                   {child_type,worker}]