Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\User>docker run -e "GLASNOST_CONFIG_URL=C:\Users\User\config.json" --restart on-failure:10 ontofractal/glasnost:latest
- 20:56:44.205 [error] ** State machine #PID<0.193.0> terminating
- ** Last message in was {:ssl,
- {:sslsocket, {:gen_tcp, #Port<0.6992>, :tls_connection, :undefined},
- #PID<0.208.0>},
- "HTTP/1.1 502 Bad Gateway\r\nServer: nginx/1.10.0 (Ubuntu)\r\nDate: Thu, 30 Mar 2017 20:56:30 GMT\r\nContent-Type: text/html\r\nContent-Length: 182\r\nConnection: keep-alive\r\n\r\n<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.10.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n"}
- ** When State == :handshaking
- ** Data == {:context,
- {:websocket_req, :wss, 'ws.golos.io', 443, '/', :infinity, :undefined, 1,
- {:sslsocket, {:gen_tcp, #Port<0.6992>, :tls_connection, :undefined},
- #PID<0.208.0>},
- {:transport, :ssl, :ssl, :ssl_closed, :ssl_error,
- [mode: :binary, active: true, verify: :verify_none, packet: 0]},
- "JkkwasSluHwVdwUvH7mgQg==", :undefined, :undefined, :undefined, :undefined,
- :undefined},
- {:transport, :ssl, :ssl, :ssl_closed, :ssl_error,
- [mode: :binary, active: true, verify: :verify_none, packet: 0]}, [],
- {:wss, 'ws.golos.io', 443, '/'}, {Golos.WS, %{}}, "", false, 0}
- ** Reason for termination =
- ** {:function_clause,
- [{Golos.WS, :ondisconnect, [{:error, {502, "Bad Gateway"}}, %{}],
- [file: 'lib/ex_golos/golos_ws.ex', line: 29]},
- {:websocket_client, :disconnect, 2,
- [file: '/glasnost_app/deps/websocket_client/src/websocket_client.erl',
- line: 277]}, {:gen_fsm, :handle_msg, 7, [file: 'gen_fsm.erl', line: 451]},
- {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 247]}]}
- 20:56:44.468 [error] ** State machine #PID<0.257.0> terminating
- ** Last message in was {:ssl,
- {:sslsocket, {:gen_tcp, #Port<0.8384>, :tls_connection, :undefined},
- #PID<0.263.0>},
- "HTTP/1.1 502 Bad Gateway\r\nServer: nginx/1.10.0 (Ubuntu)\r\nDate: Thu, 30 Mar 2017 20:56:30 GMT\r\nContent-Type: text/html\r\nContent-Length: 182\r\nConnection: keep-alive\r\n\r\n<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.10.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n"}
- ** When State == :handshaking
- ** Data == {:context,
- {:websocket_req, :wss, 'ws.golos.io', 443, '/', :infinity, :undefined, 1,
- {:sslsocket, {:gen_tcp, #Port<0.8384>, :tls_connection, :undefined},
- #PID<0.263.0>},
- {:transport, :ssl, :ssl, :ssl_closed, :ssl_error,
- [mode: :binary, active: true, verify: :verify_none, packet: 0]},
- "1pSAQ0ApTGk1CTCUooYnZA==", :undefined, :undefined, :undefined, :undefined,
- :undefined},
- {:transport, :ssl, :ssl, :ssl_closed, :ssl_error,
- [mode: :binary, active: true, verify: :verify_none, packet: 0]}, [],
- {:wss, 'ws.golos.io', 443, '/'}, {Golos.WS, %{}}, "", false, 0}
- ** Reason for termination =
- ** {:function_clause,
- [{Golos.WS, :ondisconnect, [{:error, {502, "Bad Gateway"}}, %{}],
- [file: 'lib/ex_golos/golos_ws.ex', line: 29]},
- {:websocket_client, :disconnect, 2,
- [file: '/glasnost_app/deps/websocket_client/src/websocket_client.erl',
- line: 277]}, {:gen_fsm, :handle_msg, 7, [file: 'gen_fsm.erl', line: 451]},
- {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 247]}]}
- 20:56:44.854 [error] ** State machine #PID<0.293.0> terminating
- ** Last message in was {:ssl,
- {:sslsocket, {:gen_tcp, #Port<0.10582>, :tls_connection, :undefined},
- #PID<0.295.0>},
- "HTTP/1.1 502 Bad Gateway\r\nServer: nginx/1.10.0 (Ubuntu)\r\nDate: Thu, 30 Mar 2017 20:56:31 GMT\r\nContent-Type: text/html\r\nContent-Length: 182\r\nConnection: keep-alive\r\n\r\n<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.10.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n"}
- ** When State == :handshaking
- ** Data == {:context,
- {:websocket_req, :wss, 'ws.golos.io', 443, '/', :infinity, :undefined, 1,
- {:sslsocket, {:gen_tcp, #Port<0.10582>, :tls_connection, :undefined},
- #PID<0.295.0>},
- {:transport, :ssl, :ssl, :ssl_closed, :ssl_error,
- [mode: :binary, active: true, verify: :verify_none, packet: 0]},
- "mkknCsa9TgOs+JOZZ3mEgA==", :undefined, :undefined, :undefined, :undefined,
- :undefined},
- {:transport, :ssl, :ssl, :ssl_closed, :ssl_error,
- [mode: :binary, active: true, verify: :verify_none, packet: 0]}, [],
- {:wss, 'ws.golos.io', 443, '/'}, {Golos.WS, %{}}, "", false, 0}
- ** Reason for termination =
- ** {:function_clause,
- [{Golos.WS, :ondisconnect, [{:error, {502, "Bad Gateway"}}, %{}],
- [file: 'lib/ex_golos/golos_ws.ex', line: 29]},
- {:websocket_client, :disconnect, 2,
- [file: '/glasnost_app/deps/websocket_client/src/websocket_client.erl',
- line: 277]}, {:gen_fsm, :handle_msg, 7, [file: 'gen_fsm.erl', line: 451]},
- {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 247]}]}
- 20:56:44.871 [info] Running Glasnost.Web.Endpoint with Cowboy using http://:::80
- 20:56:45.084 [info] Application glasnost exited: Glasnost.Application.start(:normal, []) returned an error: shutdown: failed to start child: Glasnost.Orchestrator.AuthorSyncSup
- ** (EXIT) an exception was raised:
- ** (ArgumentError) argument error
- :erlang.list_to_integer('\\Users\\User\\config.json')
- (hackney) /glasnost_app/deps/hackney/src/hackney_url.erl:204: :hackney_url.parse_netloc/2
- (hackney) /glasnost_app/deps/hackney/src/hackney.erl:346: :hackney.request/5
- (httpoison) lib/httpoison/base.ex:432: HTTPoison.Base.request/9
- (glasnost) lib/glasnost/runtime_config.ex:57: RuntimeConfig.fetch_external_config/0
- (con_cache) lib/con_cache/operations.ex:202: ConCache.Operations.dirty_get_or_store/3
- (con_cache) lib/con_cache/lock.ex:31: ConCache.Lock.exec/4
- (glasnost) lib/glasnost/runtime_config.ex:11: RuntimeConfig.get/1
- {"Kernel pid terminated",application_controller,"{application_start_failure,glasnost,{{shutdown,{failed_to_start_child,'Elixir.Glasnost.Orchestrator.AuthorSyncSup',{badarg,[{erlang,list_to_integer,[\"\\Users\\User\\config.json\"],[]},{hackney_url,parse_netloc,2,[{file,\"/glasnost_app/deps/hackney/src/hackney_url.erl\"},{line,204}]},{hackney,request,5,[{file,\"/glasnost_app/deps/hackney/src/hackney.erl\"},{line,346}]},{'Elixir.HTTPoison.Base',request,9,[{file,\"lib/httpoison/base.ex\"},{line,432}]},{'Elixir.RuntimeConfig',fetch_external_config,0,[{file,\"lib/glasnost/runtime_config.ex\"},{line,57}]},{'Elixir.ConCache.Operations',dirty_get_or_store,3,[{file,\"lib/con_cache/operations.ex\"},{line,202}]},{'Elixir.ConCache.Lock',exec,4,[{file,\"lib/con_cache/lock.ex\"},{line,31}]},{'Elixir.RuntimeConfig',get,1,[{file,\"lib/glasnost/runtime_config.ex\"},{line,11}]}]}}},{'Elixir.Glasnost.Application',start,[normal,[]]}}}"}
- Kernel pid terminated (application_controller) ({application_start_failure,glasnost,{{shutdown,{failed_to_start_child,'Elixir.Glasnost.Orchestrator.AuthorSyncSup',{badarg,[{erlang,list_to_integer,["\\
- Crash dump is being written to: erl_crash.dump...done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement