# \#ranch

**URL:** https://forum.elixirforum.com/tag/ranch/1196.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [PKCS12 Keystore Support in Phoenix](https://forum.elixirforum.com/t/pkcs12-keystore-support-in-phoenix/46453)

<div class="topic-metadata">

**Author:** [@alanj853](https://forum.elixirforum.com/u/alanj853)\
**Replies:** 3\
**Last updated:** [June 9, 2024, 3:37pm UTC](https://forum.elixirforum.com/t/pkcs12-keystore-support-in-phoenix/46453 "2024-06-09T15:37:37Z")

</div>

Hi, I am working on a project where I am trying to use a PKCS12 keystore with a password for storing my Web Certificate and Private Key files in for my Phoenix Web Server, as opposed to the passing in the real file path…

---

## [Migrate from proc\_lib/gen\_server to plain Elixir?](https://forum.elixirforum.com/t/migrate-from-proc-lib-gen-server-to-plain-elixir/45776)

<div class="topic-metadata">

**Author:** [@janp](https://forum.elixirforum.com/u/janp)\
**Replies:** 0\
**Last updated:** [February 3, 2022, 6:25pm UTC](https://forum.elixirforum.com/t/migrate-from-proc-lib-gen-server-to-plain-elixir/45776 "2022-02-03T18:25:12Z")

</div>

I am currently working on a project where I found a custom ranch\_protocol implementation which looks similar to the one described in the following article: https://blog.oestrich.org/2017/07/using-ranch-with-elixir/ Edit…

---

## [Ranch: TLS 1.3 connections are successful even though handshake fails](https://forum.elixirforum.com/t/ranch-tls-1-3-connections-are-successful-even-though-handshake-fails/44859)

<div class="topic-metadata">

**Author:** [@jgfdjgfd](https://forum.elixirforum.com/u/jgfdjgfd)\
**Replies:** 0\
**Last updated:** [December 28, 2021, 11:51am UTC](https://forum.elixirforum.com/t/ranch-tls-1-3-connections-are-successful-even-though-handshake-fails/44859 "2021-12-28T11:51:00Z")

</div>

Hi! I have an issue with a Ranch listener with client verification. In short, when using tls 1.2 it works as expected, but when using tls 1.3 clients always receive {:ok, socket}, even when the handshake process fails (i…

---

## [Unable to serve Phoenix SSL certificate from memory](https://forum.elixirforum.com/t/unable-to-serve-phoenix-ssl-certificate-from-memory/40299)

<div class="topic-metadata">

**Author:** [@karolsluszniak](https://forum.elixirforum.com/u/karolsluszniak)\
**Replies:** 5\
**Last updated:** [June 9, 2021, 11:19am UTC](https://forum.elixirforum.com/t/unable-to-serve-phoenix-ssl-certificate-from-memory/40299 "2021-06-09T11:19:45Z")

</div>

I’m developing a Phoenix server that needs to terminate SSL for multiple domains with certificates acquired via Certbot & stored in database in order to support the custom domains feature in my app. I’m passing sni\_fun c…

---

## [Ranch connection silently becomming inactive?](https://forum.elixirforum.com/t/ranch-connection-silently-becomming-inactive/35655)

<div class="topic-metadata">

**Author:** [@smedegaard](https://forum.elixirforum.com/u/smedegaard)\
**Replies:** 3\
**Last updated:** [November 23, 2020, 9:30am UTC](https://forum.elixirforum.com/t/ranch-connection-silently-becomming-inactive/35655 "2020-11-23T09:30:09Z")

</div>

I’ve got an app that connects to a number of tcp ports using :ranch\_tcp.connect/3 I connect in passive mode and then switch to active once I get {:ok, socket}. When I get the socket I execute a Telemetry message: cas…

---

## [Does Phoenix/Cowboy implement Token Binding? (RFC 8471)](https://forum.elixirforum.com/t/does-phoenix-cowboy-implement-token-binding-rfc-8471/24088)

<div class="topic-metadata">

**Author:** [@tomciopp](https://forum.elixirforum.com/u/tomciopp)\
**Replies:** 7\
**Last updated:** [June 11, 2020, 8:21am UTC](https://forum.elixirforum.com/t/does-phoenix-cowboy-implement-token-binding-rfc-8471/24088 "2020-06-11T08:21:28Z")

</div>

Does anyone know if Phoenix/Cowboy implements token binding? My guess would be no since it’s not well supported in browsers, but I could not find any information that would support or disprove this.

---

## [Phoenix vs Ranch](https://forum.elixirforum.com/t/phoenix-vs-ranch/29587)

<div class="topic-metadata">

**Author:** [@smanza](https://forum.elixirforum.com/u/smanza)\
**Replies:** 5\
**Last updated:** [March 4, 2020, 6:22am UTC](https://forum.elixirforum.com/t/phoenix-vs-ranch/29587 "2020-03-04T06:22:05Z")

</div>

Hello. I’m developping a P2P network using Elixir and I’m wondering if I must go to raw TCP or using HTTP. Currently I thought to use Ranch for internal communication and Phoenix for external communication but thinkin…

---

## [Phoenix: Could not compile dependency :ranch](https://forum.elixirforum.com/t/phoenix-could-not-compile-dependency-ranch/22939)

<div class="topic-metadata">

**Author:** [@Fl4m3Ph03n1x](https://forum.elixirforum.com/u/Fl4m3Ph03n1x)\
**Replies:** 20\
**Last updated:** [October 27, 2019, 11:22pm UTC](https://forum.elixirforum.com/t/phoenix-could-not-compile-dependency-ranch/22939 "2019-10-27T23:22:03Z")

</div>

Background I have created a project using mix phx.new my\_app --no-ecto and everything looked fine. However I am not able to run the created project. Error When I execute mix phx.server (after running mix deps.get) I get…

---

## [Significant amount of Phoenix connections are closed on high concurrency](https://forum.elixirforum.com/t/significant-amount-of-phoenix-connections-are-closed-on-high-concurrency/20482)

<div class="topic-metadata">

**Author:** [@mpugach](https://forum.elixirforum.com/u/mpugach)\
**Replies:** 5\
**Last updated:** [October 10, 2019, 2:06pm UTC](https://forum.elixirforum.com/t/significant-amount-of-phoenix-connections-are-closed-on-high-concurrency/20482 "2019-10-10T14:06:42Z")

</div>

There is a piece of Elixir software that can generate some network load GitHub - mpugach/wdbomber-eli at 0.1.2 · GitHub It utilise Flow to dispatch many concurrent requests We use it to load test or Phoenix API The sp…

---

## [How to include ranch in a supervision tree](https://forum.elixirforum.com/t/how-to-include-ranch-in-a-supervision-tree/21193)

<div class="topic-metadata">

**Author:** [@idi527](https://forum.elixirforum.com/u/idi527)\
**Replies:** 5\
**Last updated:** [June 16, 2019, 8:37pm UTC](https://forum.elixirforum.com/t/how-to-include-ranch-in-a-supervision-tree/21193 "2019-06-16T20:37:48Z")

</div>

I have the following supervisor children: \[ %{ id: :ranch\_sup, start: {:ranch\_sup, :start\_link, \[\]}, restart: :permanent, shutdown: 5000, type…

---

## [Ranch slow down in kubernetes](https://forum.elixirforum.com/t/ranch-slow-down-in-kubernetes/22355)

<div class="topic-metadata">

**Author:** [@rlb3](https://forum.elixirforum.com/u/rlb3)\
**Replies:** 0\
**Last updated:** [May 11, 2019, 4:14pm UTC](https://forum.elixirforum.com/t/ranch-slow-down-in-kubernetes/22355 "2019-05-11T16:14:18Z")

</div>

I’m seeing behavior I don’t understand in ranch 1.6 under kubernetes. If I send one connection per second to a ranch TCP port the active\_connections and all\_connections grow slowly. If I leave it running, active\_connect…

---

## [General Architectural Advice For A Ported Application](https://forum.elixirforum.com/t/general-architectural-advice-for-a-ported-application/19509)

<div class="topic-metadata">

**Author:** [@simon](https://forum.elixirforum.com/u/simon)\
**Replies:** 3\
**Last updated:** [January 25, 2019, 9:19am UTC](https://forum.elixirforum.com/t/general-architectural-advice-for-a-ported-application/19509 "2019-01-25T09:19:17Z")

</div>

I’m looking for some general, high-level architectural advice and opinions because I want to port a system over to Elixir which is currently written in Node (data processing server) and the meteor JavaScript framework (w…

---

## [Issues with running Phoenix 1.4 app](https://forum.elixirforum.com/t/issues-with-running-phoenix-1-4-app/17968)

<div class="topic-metadata">

**Author:** [@alg](https://forum.elixirforum.com/u/alg)\
**Replies:** 14\
**Last updated:** [December 27, 2018, 4:50pm UTC](https://forum.elixirforum.com/t/issues-with-running-phoenix-1-4-app/17968 "2018-12-27T16:50:48Z")

</div>

Hi guys, I’m having some weird problems with running a Phoenix 1.4 app. I have never seen this before with Phoenix 1.3. Right after the app is built afresh I can start it with mix phx.server just fine. Then I do Ctrl-C …
