Mitmweb in regular proxy mode receiving unwanted traffic and crashing


#1

Hi team… I am using mitmproxy in a regular mode listening on port 8088…
I have configured my app server (jvm) with this proxy server/host.
I see a lot more traffic flowing through this proxy and crashing the proxy. These traffic should not be using this proxy and looks like some random network traffic.
Why is this happening and how do I get rid of these unwanted traffic that crashes the mitmproxy ?
mitmweb --listen-port 8088 --ssl-insecure --web-iface 0.0.0.0 --set block_global=false

Mitmproxy: 4.0.4
Python:    3.6.7
OpenSSL:   OpenSSL 1.1.0i  14 Aug 2018
Platform:  Linux-3.10.0-862.3.2.el7.x86_64-x86_64-with-centos-7.6.1810-Core```

#2

I do not know exactly what traffic you are registering but I can tell you my experience: I configured a Windows machine with proxy on mitmproxy and I see a lot of traffic that is not my browser navigation but I suppose system call to Cortana API, weather API, Windows update checks, …