You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@mitmweb-01:~# tail -f /var/log/mitmproxy/dump-merged.har | mitmweb --rfile - -n
tail: /var/log/mitmproxy/dump-merged.har: file truncated
[21:00:07.316] Web server listening at http://127.0.0.1:8081/
[21:00:07.414] No web browser found. Please open a browser and point it to http://127.0.0.1:8081/
[21:00:07.414] Cannot load flows: [Errno 2] No such file or directory: '-'
[21:00:07.414] Failed to read -: [Errno 2] No such file or directory: '-'
Traceback (most recent call last):
File "mitmproxy/addons/readfile.py", line 63, in load_flows_from_path
FileNotFoundError: [Errno 2] No such file or directory: '-'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "mitmproxy/addons/readfile.py", line 71, in doread
File "mitmproxy/addons/readfile.py", line 67, in load_flows_from_path
mitmproxy.exceptions.FlowReadException: [Errno 2] No such file or directory: '-'
Errors logged during startup, exiting...
root@mitmweb-01:~#
mitmproxy
Really mess-ups terminal and i get this error
Invalid filter expression: 'on": "1.1"'
I tested the file running it with a -r option and it normally loads the file.
We're currently using the ReadFileStdin addon for mitmdump only, but I think we can enable it for mitmweb as well. For mitmproxy it won't work because we need stdin for user input.
Problem Description
In option
rfile
-
is an invalid inputmitmweb
mitmproxy
Really mess-ups terminal and i get this error
I tested the file running it with a
-r
option and it normally loads the file.Steps to reproduce the behavior:
tail -f /var/log/mitmproxy/dump-merged.har | mitmweb --rfile - -n
System Information
The text was updated successfully, but these errors were encountered: