Comments (5)
Yep. Looks like you have a process sending a message ({#Reference<0.2692061718.3879796743.144965>, :ok}
) to the underlying HTTP handler process. This isn't generally a supported thing (the Plug API doesn't give us any way to expose such messages up to the application, and because of the way that the underlying server works there's no other easy way for your application to be notified of them).
Is this a new error (since 0.6.9)? I don't see offhand where this would be coming from telemetry, at least within our implementation, but it's brand new so it's always a possibility. I might also suspect that it is something our telemetry calls in your code; what telemetry events are you hooking, and what's the implementation on your side of them?
from bandit.
I don’t know if it’s new, what version would you like me to try on?
what telemetry events are you hooking, and what's the implementation on your side of them
I’m attaching handlers for phoenix.router_dispatch.stop.duration
in my code, do you think it can be linked? I’ll try again but with my telemetry handlers disabled 👍
from bandit.
I would try with Bandit 0.6.8 if you could, just to ensure it's nothing related to our recent telemetry additions (the event you mention is emitted by phoenix itself, so I'm doubtful, but want to be sure).
I suspect that you'll continue to see the errors occurring even on 0.6.8, at which point we can confidently start looking at what it is specifically that your telemetry handlers are doing. Is it possible to share them here?
from bandit.
I’m using TelemetryUI to attach handlers. You can see the code here: https://github.com/mirego/telemetry_ui/blob/v2.0.1/lib/telemetry_ui/reporter.ex#L20
from bandit.
Closing as there's nothing for us to do here.
from bandit.
Related Issues (20)
- Plug.Conn being created with remote_ip as local? HOT 2
- Unable to turn on compression on http1 adapter HOT 6
- FunctionClauseError) no function clause matching in Bandit.HTTP1.Handler.handle_info/2 HOT 5
- Add support for function plugs HOT 2
- HTTP conformance bug: sends response body on HEAD request HOT 3
- Chunked HTTP1 response piped gets interrupted HOT 2
- Headers being read from uncleared buffer HOT 4
- Improve handling of unread bodies when using keep alive
- plug module does not define init/1 HOT 2
- How to stop Bandit? HOT 2
- LiveView PubSub Subscription Issue HOT 3
- Request line read errors HOT 2
- Request Line Read Error HOT 6
- Disabling HTTP/2 causes client errors HOT 7
- Using Process.send_after or :timer.send_interval generates error after liveview process is dead HOT 1
- Add CHANGELOG to package files HOT 3
- HTTP2 Internal Server Error in send_file HOT 2
- Phoenix Presence error HOT 2
- Add config option to disable WebSocket masking HOT 4
- Hot Code Paths in Rust
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bandit.