Giter Club home page Giter Club logo

Comments (5)

mtrudel avatar mtrudel commented on May 18, 2024

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.

simonprev avatar simonprev commented on May 18, 2024

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.

mtrudel avatar mtrudel commented on May 18, 2024

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.

simonprev avatar simonprev commented on May 18, 2024

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.

mtrudel avatar mtrudel commented on May 18, 2024

Closing as there's nothing for us to do here.

from bandit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.