electric-sql / electric-sql/electric

Bandit.HTTPError: Request line HTTP error: "s_only&offset=0_inf&source_id= [...] HTTP/1.1\r\n"

Open
#3,924 0 comments 0 reactions 1 assignee Claimed by @alco View on GitHub
Dominant language
TypeScript
Stars
10.4k
Forks
375
Avg merge
3d 1h
Merged PRs (30d)
18

Description

Possibly an overly long URL error but dubious that Bandit would try to interpret overflowing URL part as a new request just like that.

Sentry Issue: [ELECTRIC-4GV](https://electricsql-04.sentry.io/issues/53175566/?referrer=github_integration)

```
Bandit.HTTPError: Request line HTTP error: "s_only&offset=0_inf&source_id= [...] HTTP/1.1\r\n"
File "lib/bandit/http1/socket.ex", line 462, in Bandit.HTTPTransport.Bandit.HTTP1.Socket.request_error!/2
File "lib/bandit/http1/socket.ex", line 56, in Bandit.HTTPTransport.Bandit.HTTP1.Socket.read_headers/1
File "lib/bandit/pipeline.ex", line 35, in Bandit.Pipeline.run/5
File "lib/bandit/http1/handler.ex", line 13, in Bandit.HTTP1.Handler.handle_data/3
File "lib/bandit/delegating_handler.ex", line 18, in Bandit.DelegatingHandler.handle_data/3
...
(4 additional frame(s) were not displayed)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.