[erlang-questions] Can't login to JIRA with github account also ?bug? report
Ilya Khaprov
ilya.khaprov@REDACTED
Fri Jul 6 13:12:19 CEST 2018
Hello,
Was trying to log in to bugs.erlang.org with my Github Account. All
redirects went well and on the last page I saw this: "There was a
problem during authentication. Please refer to logs for an additional
info."
I see bugs.erlang.org in the authorized apps.
What I wanted to report:
if httpc:request called with binary header field value, request just
hangs these silently.
I blamed the server and then turned on tracing. Last record:
(<0.81.0>) call
httpc_manager:handle_info({'DOWN',#Ref<0.1185433242.2342256642.77265>,process,<0.1010.0>,
{badarg,[{erlang,'++',[<<"Basic Og==">>,"\r\n"],[]},
{http_request,key_value_str,2,
[{file,"http_request.erl"},{line,290}]},
{http_request,'-http_headers/1-fun-0-',3,
[{file,"http_request.erl"},{line,64}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
{http_request,http_headers,1,
[{file,"http_request.erl"},{line,63}]},
{httpc_request,send,4,
[{file,"httpc_request.erl"},{line,103}]},
{httpc_handler,connect_and_send_first_request,3,
[{file,"httpc_handler.erl"},{line,819}]},
{httpc_handler,init,1,
[{file,"httpc_handler.erl"},{line,238}]}]}},{state,[],httpc_manager__handler_db,
{cookie_db,undefined,#Ref<0.1185433242.2342387715.77591>},
httpc_manager__session_db,httpc_manager,
{options,{undefined,[]},
{undefined,[]},
0,2,5,120000,2,disabled,false,inet,default,default,[]}}) ({gen_server,
try_dispatch,
4})
and request is still hanging.
Erlang/OTP 20 [erts-9.2.1]
I know that httpc client favors string, but I would say expecting no
hang but that badarg bubbled to the top is reasonable.
Thanks
More information about the erlang-questions
mailing list