Giter VIP home page Giter VIP logo

Comments (11)

mhils avatar mhils commented on June 15, 2024

All the commands you mentioned work instantaneously for me on the following system:

Mitmproxy: 11.0.0.dev (+10, commit f05c050)
Python:    3.12.1
OpenSSL:   OpenSSL 3.1.4 24 Oct 2023
Platform:  macOS-14.4.1-arm64-arm-64bit

from mitmproxy.

vineet1984 avatar vineet1984 commented on June 15, 2024

I also ran into a similar issue on my Macbook M1.

The Mitmproxy version I am running is 10.1.4. Is it fixed in later versions?

from mitmproxy.

mhils avatar mhils commented on June 15, 2024

I would recommend to update to the latest release anyhow. :)

from mitmproxy.

Srijan67 avatar Srijan67 commented on June 15, 2024

@mhils can you test the same on 10.3.0 version as well since its the latest version available online in pip. The issue I am facing looks similar to #6474

from mitmproxy.

mhils avatar mhils commented on June 15, 2024

#6474 is a complete freeze of the application, which seems unrelated.

from mitmproxy.

vineet1984 avatar vineet1984 commented on June 15, 2024

@mhils I upgraded to 10.3.0 that is the latest available version online. The proxy worked fine last night but the response times today morning are ~5 minutes or it times out depending on the website.

curl -x localhost:8080 -k https://www.google.com ---- 4 minutes
curl -x localhost:8080 -k https://www.facebook.com ---- 4 minutes
curl -x localhost:8080 -k https://www.yahoo.com ---- curl: (28) Proxy CONNECT aborted due to timeout

I tried to see the error in the logs by using mitmdump -v but didn't see much except connect/disconnect and response statements.

Can you please help?

from mitmproxy.

mhils avatar mhils commented on June 15, 2024

I don't have capacity at the moment, sorry. This needs a good reproducer in the first place, otherwise it's not really actionable.

from mitmproxy.

vineet1984 avatar vineet1984 commented on June 15, 2024

Sure. If there are any mitmproxy logs beyond mitmdump we can use for troubleshooting, please let us know.

from mitmproxy.

mhils avatar mhils commented on June 15, 2024

It may be useful to send SIGUSR1 / SIGUSR2 signals to a running mitmproxy instance that exhibits that behavior to see if anything sticks out.

from mitmproxy.

vineet1984 avatar vineet1984 commented on June 15, 2024

I just sent SIGUSR1 and SIGUSR2 signals to mitmproxy. Links to the logs are below:-

https://gist.github.com/vineet1984/3db14195b78a6a83f15b7d0bb2a2c2b0
https://gist.github.com/vineet1984/62d8422053bea9cc473a4618d69ad89c

From what I can see, there is a line "work_item = work_queue.get(block=True)" in SIGUSR2 logs that could be a possible glitch. Do you see any other glaring issue?

from mitmproxy.

mhils avatar mhils commented on June 15, 2024

This all looks good - I'm wondering what kind of output you'd get here during one of these super slow requests?

from mitmproxy.

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.