Advertisement
Guest User

Glasnost v0.7 error on starting docker image

a guest
Mar 30th, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.11 KB | None | 0 0
  1. C:\Users\User>docker run -e "GLASNOST_CONFIG_URL=C:\Users\User\config.json" --restart on-failure:10 ontofractal/glasnost:latest
  2. 20:56:44.205 [error] ** State machine #PID<0.193.0> terminating
  3. ** Last message in was {:ssl,
  4. {:sslsocket, {:gen_tcp, #Port<0.6992>, :tls_connection, :undefined},
  5. #PID<0.208.0>},
  6. "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"}
  7. ** When State == :handshaking
  8. ** Data == {:context,
  9. {:websocket_req, :wss, 'ws.golos.io', 443, '/', :infinity, :undefined, 1,
  10. {:sslsocket, {:gen_tcp, #Port<0.6992>, :tls_connection, :undefined},
  11. #PID<0.208.0>},
  12. {:transport, :ssl, :ssl, :ssl_closed, :ssl_error,
  13. [mode: :binary, active: true, verify: :verify_none, packet: 0]},
  14. "JkkwasSluHwVdwUvH7mgQg==", :undefined, :undefined, :undefined, :undefined,
  15. :undefined},
  16. {:transport, :ssl, :ssl, :ssl_closed, :ssl_error,
  17. [mode: :binary, active: true, verify: :verify_none, packet: 0]}, [],
  18. {:wss, 'ws.golos.io', 443, '/'}, {Golos.WS, %{}}, "", false, 0}
  19. ** Reason for termination =
  20. ** {:function_clause,
  21. [{Golos.WS, :ondisconnect, [{:error, {502, "Bad Gateway"}}, %{}],
  22. [file: 'lib/ex_golos/golos_ws.ex', line: 29]},
  23. {:websocket_client, :disconnect, 2,
  24. [file: '/glasnost_app/deps/websocket_client/src/websocket_client.erl',
  25. line: 277]}, {:gen_fsm, :handle_msg, 7, [file: 'gen_fsm.erl', line: 451]},
  26. {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 247]}]}
  27.  
  28. 20:56:44.468 [error] ** State machine #PID<0.257.0> terminating
  29. ** Last message in was {:ssl,
  30. {:sslsocket, {:gen_tcp, #Port<0.8384>, :tls_connection, :undefined},
  31. #PID<0.263.0>},
  32. "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"}
  33. ** When State == :handshaking
  34. ** Data == {:context,
  35. {:websocket_req, :wss, 'ws.golos.io', 443, '/', :infinity, :undefined, 1,
  36. {:sslsocket, {:gen_tcp, #Port<0.8384>, :tls_connection, :undefined},
  37. #PID<0.263.0>},
  38. {:transport, :ssl, :ssl, :ssl_closed, :ssl_error,
  39. [mode: :binary, active: true, verify: :verify_none, packet: 0]},
  40. "1pSAQ0ApTGk1CTCUooYnZA==", :undefined, :undefined, :undefined, :undefined,
  41. :undefined},
  42. {:transport, :ssl, :ssl, :ssl_closed, :ssl_error,
  43. [mode: :binary, active: true, verify: :verify_none, packet: 0]}, [],
  44. {:wss, 'ws.golos.io', 443, '/'}, {Golos.WS, %{}}, "", false, 0}
  45. ** Reason for termination =
  46. ** {:function_clause,
  47. [{Golos.WS, :ondisconnect, [{:error, {502, "Bad Gateway"}}, %{}],
  48. [file: 'lib/ex_golos/golos_ws.ex', line: 29]},
  49. {:websocket_client, :disconnect, 2,
  50. [file: '/glasnost_app/deps/websocket_client/src/websocket_client.erl',
  51. line: 277]}, {:gen_fsm, :handle_msg, 7, [file: 'gen_fsm.erl', line: 451]},
  52. {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 247]}]}
  53.  
  54. 20:56:44.854 [error] ** State machine #PID<0.293.0> terminating
  55. ** Last message in was {:ssl,
  56. {:sslsocket, {:gen_tcp, #Port<0.10582>, :tls_connection, :undefined},
  57. #PID<0.295.0>},
  58. "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"}
  59. ** When State == :handshaking
  60. ** Data == {:context,
  61. {:websocket_req, :wss, 'ws.golos.io', 443, '/', :infinity, :undefined, 1,
  62. {:sslsocket, {:gen_tcp, #Port<0.10582>, :tls_connection, :undefined},
  63. #PID<0.295.0>},
  64. {:transport, :ssl, :ssl, :ssl_closed, :ssl_error,
  65. [mode: :binary, active: true, verify: :verify_none, packet: 0]},
  66. "mkknCsa9TgOs+JOZZ3mEgA==", :undefined, :undefined, :undefined, :undefined,
  67. :undefined},
  68. {:transport, :ssl, :ssl, :ssl_closed, :ssl_error,
  69. [mode: :binary, active: true, verify: :verify_none, packet: 0]}, [],
  70. {:wss, 'ws.golos.io', 443, '/'}, {Golos.WS, %{}}, "", false, 0}
  71. ** Reason for termination =
  72. ** {:function_clause,
  73. [{Golos.WS, :ondisconnect, [{:error, {502, "Bad Gateway"}}, %{}],
  74. [file: 'lib/ex_golos/golos_ws.ex', line: 29]},
  75. {:websocket_client, :disconnect, 2,
  76. [file: '/glasnost_app/deps/websocket_client/src/websocket_client.erl',
  77. line: 277]}, {:gen_fsm, :handle_msg, 7, [file: 'gen_fsm.erl', line: 451]},
  78. {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 247]}]}
  79.  
  80. 20:56:44.871 [info] Running Glasnost.Web.Endpoint with Cowboy using http://:::80
  81. 20:56:45.084 [info] Application glasnost exited: Glasnost.Application.start(:normal, []) returned an error: shutdown: failed to start child: Glasnost.Orchestrator.AuthorSyncSup
  82. ** (EXIT) an exception was raised:
  83. ** (ArgumentError) argument error
  84. :erlang.list_to_integer('\\Users\\User\\config.json')
  85. (hackney) /glasnost_app/deps/hackney/src/hackney_url.erl:204: :hackney_url.parse_netloc/2
  86. (hackney) /glasnost_app/deps/hackney/src/hackney.erl:346: :hackney.request/5
  87. (httpoison) lib/httpoison/base.ex:432: HTTPoison.Base.request/9
  88. (glasnost) lib/glasnost/runtime_config.ex:57: RuntimeConfig.fetch_external_config/0
  89. (con_cache) lib/con_cache/operations.ex:202: ConCache.Operations.dirty_get_or_store/3
  90. (con_cache) lib/con_cache/lock.ex:31: ConCache.Lock.exec/4
  91. (glasnost) lib/glasnost/runtime_config.ex:11: RuntimeConfig.get/1
  92. {"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,[]]}}}"}
  93. Kernel pid terminated (application_controller) ({application_start_failure,glasnost,{{shutdown,{failed_to_start_child,'Elixir.Glasnost.Orchestrator.AuthorSyncSup',{badarg,[{erlang,list_to_integer,["\\
  94.  
  95. Crash dump is being written to: erl_crash.dump...done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement