Skip to content
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

Error while running BLeak #47

Open
nitika18 opened this issue Jun 24, 2019 · 10 comments
Open

Error while running BLeak #47

nitika18 opened this issue Jun 24, 2019 · 10 comments

Comments

@nitika18
Copy link

nitika18 commented Jun 24, 2019

Running the BLeak command locally produces the below output and nothing happens after that.

MITMProxy not running; starting up mitmproxy.
Loading script /Users/nm/node_modules/mitmproxy/scripts/proxy.py
in script /Users/nm/node_modules/mitmproxy/scripts/proxy.py: No module named 'websockets'
Proxy server listening at http://*:8080
127.0.0.1:61160: clientconnect
127.0.0.1:61161: clientconnect
127.0.0.1:61161: clientdisconnect
127.0.0.1:61160: clientdisconnect

$mitmproxy --version
Mitmproxy: 4.0.4
Python:    3.7.3
OpenSSL:   OpenSSL 1.0.2s  28 May 2019
Platform:  Darwin-18.6.0-x86_64-i386-64bit
@perqa
Copy link

perqa commented Jun 25, 2019

See my comment on #45 (comment)

@nitika18
Copy link
Author

Thanks. I tried that already and this what it gives me

Screenshot 2019-06-25 at 3 35 54 PM

@nitika18
Copy link
Author

@perqa ^^

@perqa
Copy link

perqa commented Jun 25, 2019

Ok, you already have the dependency installed, but it is not found when running BLeak.

I also had to add an alias for Python, as described here: https://askubuntu.com/a/321000/383468. I added alias python=python3 to my .bash_profile. Please note it will not be automatically applied to any already open terminal windows.

@nitika18
Copy link
Author

nitika18 commented Jun 25, 2019

Done. It was already compiling with python 3.7

See python at top of the terminal.
Screenshot 2019-06-25 at 4 59 50 PM

@perqa
Copy link

perqa commented Jun 25, 2019

This is a longshot, but I think I also did cd to
~/.nvm/versions/node/v10.15.3/lib/node_modules/bleak-detector/
and ran npm install or possibly npm install -g, not sure which, I can't remember.

@nitika18
Copy link
Author

Sadly this is also not working.
Do you remember doing anything else?

@nitika18
Copy link
Author

@jvilk : can you please help here?

@nitika18
Copy link
Author

Running this command: pip3 install mitmproxy==4.0.1 solved the issue.
I was on version 4.0.4 of mitmproxy

@deaneturner
Copy link

pip3 install mitmproxy==4.0.1
npm install -g bleak-detector --python=python3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants