New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mitmproxy2swagger stuck #130
Comments
I have the exact same problem. Edit: For me this turned out to be the result of a corrupt flows file. Attempt re-recording your results, saving as a new flow file, and then running mitmproxy2swagger again. |
Hi, Did you find any solution? |
I had the same issue. I had to navigate to the directory where the flows file was, and used -i ./flows. That fixed the error, but the spec.yml didn't seem to populate with any paths from my import |
Hi, I tried to run this code
sudo mitmproxy2swagger -i ~/Downloads/flows -o spec.yml -p http://127.0.0.1:8888 -f flow --examples
And this was the output
[sudo] password for hapihacker:
No existing swagger file found. Creating new one.
[ ] 0.0%
The program remains stuck and does not generate any spec.yml file.
Any solution?
MITMPROXY VERSION
mitmweb --version
Mitmproxy: 10.1.5
Python: 3.11.7
OpenSSL: OpenSSL 3.1.4 24 Oct 2023
Platform: Linux-6.5.0-kali3-amd64-x86_64-with-glibc2.37
The text was updated successfully, but these errors were encountered: