Invalid HTTP request form (expected: authority or absolute, got: relative) from Burp
See original GitHub issueSteps to reproduce the problem:
-
I used mitmproxy as forwarding proxy from Burp but I keep getting these error.
-
And this is error I get from console
mitmdump -p 8779 -s proxy.py
Proxy server listening at http://*:8779
127.0.0.1:56560: clientconnect
<< Invalid HTTP request form (expected: authority or absolute, got: relative)
127.0.0.1:56560: HTTP protocol error in client request: Invalid HTTP request form (expected: authority or absolute, got: relative)
- I only get this error when use mitmproxy as upstream proxy on burp in Repeater tab from Burp
System information
Mitmproxy: 3.0.2 Python: 3.7.0 OpenSSL: OpenSSL 1.0.2p 14 Aug 2018 Platform: Darwin-18.0.0-x86_64-i386-64bit
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Invalid HTTP request form (expected: authority or absolute, got
Hello - I'm trying to set up mitmdump as a reverse proxy, proxying into a set of servers via their private IP addresses...
Read more >Invalid HTTP request form (expected: authority or absolute, got
Steps to reproduce the problem: I used mitmproxy as forwarding proxy from Burp but I keep getting these error. Without mitmproxy
Read more >Linux or window is the same :p -> HttpException('Invalid HTTP ...
Linux or window is the same :p -> HttpException('Invalid HTTP request form (expected: authority or absolute, got: relative)').
Read more >proxy's problem - Burp Suite User Forum - PortSwigger
HI I had setting proxy 127.0.0.1:8080 and let browser also listen 127.0.0.1:8080, but when I request https://www.yahoo.com.tw , burpsiute event ...
Read more >HTTP Request Smuggling/HTTP Desync Attacks (language of ...
~ The technique for interfering with the methods a web site processes sequences of HTTP requests that are received from one or more...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@patrickjahns it turns out that you should use absolute paths rather than relative paths. Do it like
instead of
I’m not sure how Burp’s forwarding proxy is supposed to work, but this looks like a configuration issue. Please take a look at https://docs.mitmproxy.org/stable/concepts-modes/.