question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transparent mode failure: AttributeError("'Resolver' object has no attribute 'wfile'",)

See original GitHub issue

When trying to start mitmproxy in transparent mode and a custom CA directory as followed: .\mitmweb.exe --set cadir=C:\Users\Admin\Documents\_custom_cert

I get the following output:

192.168.178.40:46345: Transparent mode failure: AttributeError("'Resolver' object has no attribute 'wfile'",)
192.168.178.40:46345: clientdisconnect

I am forwarding port 80 and 443 from my custom router to mitmproxy listening on port 8080.

Any idea what is causing this?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
praviccommented, Jul 6, 2018

Not an option.

2reactions
GHXST01commented, Jul 6, 2018

You install Linux on on a VM or you try the built in Linux kernel.

On Thu, Jun 7, 2018, 8:14 AM pravic notifications@github.com wrote:

That’s not the solution! How to workaround this on Windows?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/mitmproxy/mitmproxy/issues/2964#issuecomment-395305149, or mute the thread https://github.com/notifications/unsubscribe-auth/AXILZp0u6Vml7GYOeXrOlBTAJMFHndVbks5t6MTHgaJpZM4SfEaI .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Transparent proxy issues. Resolver no attribute 'wfile' - help
In order to fix this, I need to navigate to the config.yaml in C:\Users\Admin\.mitmproxy and set the mode back to regular manually.
Read more >
How To: Use mitmproxy to read and modify HTTPS traffic
Capturing HTTP and HTTPS traffic on your own machine is quite simple: Using tools like Wireshark or Firebug, sniffing the local connections ...
Read more >
回复了billzhuang 创建的主题 - V2EX
@lululau windows 下用透明模式似乎报错啊Transparent mode failure: AttributeError("'Resolver' object has no attribute 'wfile'",) 我MAC 上装个试试 ...
Read more >
929d7baa32c9e105f84c5f2c29e...
This module contains methods and classes """ class class_: """ This ... except AttributeError: # not a slice object (no `indices` attribute) ...
Read more >
Diff - chromiumos/platform/factory - Google Git
diff --git a/py/event_log.py b/py/event_log.py new file mode 100644 ... + If the log name has no record, create an empty event log for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found