sergio

sergio

Been getting these errors after upgrading to Phoenix 1.7.19, and Phoenix Liveview 1.0.4

I’m using Bandit 1.6.7 in my mix.lock file.

** (Bandit.TransportError) Unrecoverable error: timeout

Backtrace:

lib/bandit/http1/socket.ex:440 Bandit.HTTPTransport.Bandit.HTTP1.Socket.socket_error!/1	
lib/bandit/http1/socket.ex:50 Bandit.HTTPTransport.Bandit.HTTP1.Socket.read_headers/1	
lib/bandit/pipeline.ex:33 Bandit.Pipeline.run/4	
lib/bandit/http1/handler.ex:12 Bandit.HTTP1.Handler.handle_data/3	
lib/bandit/delegating_handler.ex:18 Bandit.DelegatingHandler.handle_data/3	
lib/bandit/delegating_handler.ex:8 Bandit.DelegatingHandler.handle_continue/2	
gen_server.erl:1085 :gen_server.try_handle_continue/3	
gen_server.erl:995 :gen_server.loop/7

That’s all the context information I have unfortunately, all the errors on AppSignal look like this one here.

Happening on the background namespace. Potential namespace values are: background, live_view, oban, web

Anyone experience this error before?

Showing Posts 1 to 4

sameer

sameer

Noob question, how did you identify the namespace where this occurring ?

We are using Phoenix and also standing up our own websocket server (using cowboy) and are also seeing

(Bandit.TransportError) Unrecoverable error: timeout

but no stack trace beyond that so we haven’t been able to determine where exactly the error is coming from.

zac

zac

Wondering if anyone discovered any more on this?

I’ve seeing the same, every now and then:

[error] ** (Bandit.TransportError) Unrecoverable error: timeout

No further details.

Currently on Bandit 1.8.0.

Each time it happens, the app (page) goes dead. Have to do a forced reload, or navigate to another page, to get a reconnect. So far… not at all sure what the pattern is – and this particular app is very simple. No long running queries, processes, etc… pretty basic CRUD-oriented feature set.

grigorius

grigorius

I’m getting a lot of this as well:

bandit: “1.8.0”

{
    "level": "error",
    "time": "2025-10-31T17:26:16.938Z",
    "msg": "** (Bandit.TransportError) Unrecoverable error: timeout
        (bandit 1.8.0) lib/bandit/http1/socket.ex:467: Bandit.HTTPTransport.Bandit.HTTP1.Socket.socket_error!/1
        (bandit 1.8.0) lib/bandit/http1/socket.ex:56: Bandit.HTTPTransport.Bandit.HTTP1.Socket.read_headers/1
        (bandit 1.8.0) lib/bandit/pipeline.ex:35: Bandit.Pipeline.run/5
        (bandit 1.8.0) lib/bandit/http1/handler.ex:13: Bandit.HTTP1.Handler.handle_data/3
        (bandit 1.8.0) lib/bandit/delegating_handler.ex:18: Bandit.DelegatingHandler.handle_data/3
        (bandit 1.8.0) lib/bandit/delegating_handler.ex:8: Bandit.DelegatingHandler.handle_continue/2
        (stdlib 7.1) gen_server.erl:2424: :gen_server.try_handle_continue/3
        (stdlib 7.1) gen_server.erl:2291: :gen_server.loop/4\n",
    "meta": {
        "line": 23,
        "pid": "#PID<0.58284.0>",
        "file": "lib/bandit/logger.ex"
    }
}

I set up the server to only have http request (no DB) - and I see this error in high volume situations. (starts for me at around 3000 req/s)

namxam

namxam

I had the same issue. It my case IT was after a bandit update. Habe you checked that issue?

https://github.com/mtrudel/bandit/issues/465

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
RemyXRenard
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
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews