sribe

sribe

Phoenix: cowboy error on every HTTP request

[error] Ranch protocol :error (:cowboy_protocol) of listener UrlFetcher.Endpoint.HTTP terminated
** (exit) :undef
15:07:19.288 [error] Ranch listener ‘Elixir.UrlFetcher.Endpoint.HTTP’ connection process start failure; cowboy_protocol:start_link/4 crashed with reason: error:undef

Any idea where to look? I have renamed some files & modules, which is of course an immediate suspect for this error. But I’ve double-checked everything; deleted the _build folder; and I don’t see anything wrong in the project.

(I have added gRPC modules; but I don’t see how they could affect this.)

First Post!

OvermindDL1

OvermindDL1

Huh, that is entirely new to me. Any chance on posting this project on github or preferably a simplified version that reproduces this error?

Most Liked

sribe

sribe

Yes, Cowboy 2 adds HTTP2 support, and that is in fact the source of the API incompatibility–new HTTP features.

OvermindDL1

OvermindDL1

Current Plug/Phoenix master has Cowboy2 support, they are just finishing refining it but you can use it now if you want to play with it.

Last Post!

OvermindDL1

OvermindDL1

Use the master versions, they have not had a release yet.

Where Next?

Popular in Questions Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? Ecto.Repo — Ecto v3.14.0 has exampl...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 131117 1222
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44778 311
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement