sribe
[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.)
Trending in Questions
Hey guys,
I’ve got a huge CSV ( around 10 GB ) that needs to be processed hourly
Do you guys have any suggestions what is the best prac...
New
Hello!
Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app.
I creat...
New
I have what I’ve heard referred to as a “lookup table” in my database. This is a way of assigning codes to common values. One common lo...
New
Hello,
I’m developing a online persistent chat system (what’s app) like using elixir/dynamodb/aws for a mobile app(flutter).
The diffic...
New
What approach to take when sending live updates to “random” users Hi! I have a question, I have a little chat app, and when I create a DM...
New
Anyone here using Honeybadger?
My Honeybadger account is being overwhelmed with noise from some bots. Seeing a lot of
Bandit.HTTPError...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
Other Trending Topics
Name: Łukasz Niemier
Location: Poznań, Poland
Remote / relocation / travel: Remote, with occasional travel.
Work experience: I am soft...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
There are three potential reasons for members of this forum to have a look at https://vutuv.de
You are tired or annoyed of LinkedIn.
Yo...
New
Latest Phoenix Threads
Latest on Elixir Forum
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixir-ls
- #ai
- #elixirconf-us
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
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?
sribe
Going through my changes step-by-step: it’s caused by the Cowboy branch from Tony Han as part of his gRPC support.
So I’m going to dig into that repo and look at his commits now.
sribe
The plug/phoenix forks do not work with the gRPC stuff straight out of the box, and I don’t think I can take the time right now to fix that.
I’m trying to implement a super-simple API (1 call), so I think my best bet is probably to start with gRPC, then set up routing of my 1 endpoint from Cowboy to a handler, without Phoenix & Plug.
OvermindDL1
Oh I hope that adds HTTP2 support… >.<
We need a way in phoenix to specify to the plug to send other data/files to the client along with the page (page first though) ahead-of-time…
sribe
Yes, Cowboy 2 adds HTTP2 support, and that is in fact the source of the API incompatibility–new HTTP features.
tony612
Hi, just saw this. I just use the commit in this PR to support Trailers in HTTP/2 http trailers support by IgorKarymov · Pull Request #1020 · ninenines/cowboy · GitHub . But I don’t think it’s related to your problem. And maybe it’s not a good idea to use Cowboy2 with Phoenix before the stable version is released.
seeekr
What’s the status of cowboy 2.x with phoenix? I’m trying to use your grpc library in a phoenix 1.3 project, getting "ranch protocol :error"s.
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.
Darim
How exactly should they all be specified in mix.exs?
OvermindDL1
Use the master versions, they have not had a release yet.