aglassman
Rancher error logged during Ueberauth (but login is successful)
I’m getting this logged as an error now that I have ueberauth setup for twitter and facebook. The login flow works, but I do get these errors in the logs (and in Sentry).
I’m not sure what to make of this error, as it’s pretty cryptic, and doesn’t seem to actually say what the issue is. Any help is appreciated, thanks!
12:48:14.672 [error] Ranch listener SwayDMWeb.Endpoint.HTTP had connection process started with :cowboy_clear:start_link/4 at #PID<0.11515.0> exit with reason: {:function_clause, [{:cowboy_http, :commands, [{:state, #PID<0.6237.0>, SwayDMWeb.Endpoint.HTTP, #Port<0.1504>, :ranch_tcp, :undefined, %{env: %{dispatch: [{:_, [], [{:_, [], Phoenix.Endpoint.Cowboy2Handler, {SwayDMWeb.Endpoint, []}}]}]}, stream_handlers: [:cowboy_telemetry_h, :cowboy_stream_h]}, "", %{}, {{0, 0, 0, 0, 0, 65535, 32512, 1}, 47722}, {{0, 0, 0, 0, 0, 65535, 32512, 1}, 4000}, :undefined, #Reference<0.1523759978.3391881217.216659>, true, 2, {:ps_request_line, 0}, 65535, 1, :done, 1, [{:stream, 1, {:cowboy_telemetry_h, {:state, {:cowboy_stream_h, {:state, :undefined, SwayDMWeb.Endpoint.HTTP, #PID<0.11516.0>, :undefined, :undefined, :undefined, :undefined, 0, :nofin, "", 0, ...}}, #Function<0.118987493/1 in :cowboy_telemetry_h."-fun.metrics_callback/1-">, :undefined, %{body_length: 0, cert: :undefined, has_body: false, headers: %{"accept" => "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "accept-encoding" => "gzip, deflate, br", "accept-language" => "en-US,en;q=0.9", "connection" => "close", "cookie" => "ueberauth.state_param=...; _clsk=5p108l|1649350086029|6|1|e.clarity.ms/collect; _fbp=fb.1.1647618012047.1510433579; _ga=GA1.2.358519713.1647618012; _gat_UA-208517964-1=1; _gid=GA1.2.1612864518.1649346197; _clck=1hkhwvo|1|f0f|0; _ga_HNML5BJZL2=GS1.1.1649108724.6.0.1649108724.0; prism_67987912=ac55e9d9-d204-4ec1-8367-220b29b788cc", "host" => "staging.sway.dm", "referer" => "https://staging.sway.dm/", ...}, host: "staging.sway.dm", method: "GET", path: "/auth/facebook/callback", peer: {{0, 0, ...}, 47722}, pid: #PID<0.11515.0>, port: 80, qs: "code=...", ...}, "302 Found", %{"cache-control" => "max-age=0, private, must-revalidate", "content-length" => "82", "content-type" => "text/html; charset=utf-8", "cross-origin-window-policy" => "deny", "date" => "Thu, 07 Apr 2022 16:48:14 GMT", "location" => "/register/social", "server" => "Cowboy", "set-cookie" => [...], "x-content-type-options" => "nosniff", ...}, SwayDMWeb.Endpoint.HTTP, -576448719866849321, :undefined, :undefined, :undefined, -576448719669812250, -576448719669812250, %{#PID<0.11516.0> => %{...}}, [], ...}}, "GET", :"HTTP/1.1", :undefined, :undefined, 0, []}], [{:child, #PID<0.11516.0>, 1, 5000, :undefined}]}, 1, [{:response, "302 Found", %{"cache-control" => "max-age=0, private, must-revalidate", "content-length" => "82", "content-type" => "text/html; charset=utf-8", "cross-origin-window-policy" => "deny", "date" => "Thu, 07 Apr 2022 16:48:14 GMT", "location" => "/register/social", "server" => "Cowboy", "set-cookie" => [...], "x-content-type-options" => "nosniff", "x-download-options" => "noopen", "x-frame-options" => "SAMEORIGIN", "x-permitted-cross-domain-policie (truncated)
Popular in Questions
What is the proper way to load a module from a file in to IEX?
In the python world, doing something like this pretty standard:
from ....
New
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
Good day to you all.
I have been struggling to get a query involving like and ilike to work.
Can anyone assist me on this, please?
pro...
New
I would like to know what is the best IDE for elixir development?
New
Hi,
I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
I tried installing
elixir 1.11.2
erlang 23.3.4
via asdf in my zsh shell. Enabled the versions locally and globally.
When I list them ...
New
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
Can someone explain the settings of pool_size of Ecto in config file? and what is the recommend size?
Thanks
New
Given a string, how can I get access to its character by index? Enum.at("my_string", 2) doesn't work.
Or rather, not char, but a substr...
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New
Other popular topics
Hi there,
I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
New
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
Hi folks,
Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
New
How to set Jason to encode all fields in ecto schema, I don’t care about security and implementing only is taking long list of attributes...
New
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
New
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
Hi everyone,
One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New







