Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.
This repository was archived by the owner on Nov 7, 2026. It is now read-only.

No module named 'websockets' #5

Closed

Description

@adamMo

[Win10]
Hello, I tried to run the library, it keeps telling me that:

22:45:33.231 [Thread-6] INFO io.appium.mitmproxy.MitmproxyJava - Loading script C:\Users\Adam\AppData\Local\Temp\mitmproxy-python-plugin5399613169945565656.py
22:45:33.231 [Thread-6] INFO io.appium.mitmproxy.MitmproxyJava - in script C:\Users\Adam\AppData\Local\Temp\mitmproxy-python-plugin5399613169945565656.py: No module named 'websockets'
22:45:33.232 [Thread-6] INFO io.appium.mitmproxy.MitmproxyJava - Proxy server listening at http://*:8080

I used pip3 to install websockets module but it looks like the script is somehow not using it, so at the end the handler function is not called. Do you have any idea what's going on?

Activity

  1. Jonahss commented on Jun 25, 2019

    @Jonahss
    Member
  2. adamMo commented on Jun 25, 2019

    @adamMo
    Author

    So I installed it by chocolatey package manager, it qualifies to be the prebuilt binaries? :)

  3. Jonahss commented on Jun 26, 2019

    @Jonahss
    Member
  4. adamMo commented on Jun 26, 2019

    @adamMo
    Author

    Ok, I did all of this and it works ok but I see the difference when comparing to standalone version... I ran selenium with proxy and I can intercept the requests which is cool but when trying to log in to youtube account, google says that my browser has no cookies enabled. When I tried to do this on 'pure' mitmproxy it was working good, do you have any idea what could go wrong?

  5. Jonahss commented on Jun 27, 2019

    @Jonahss
    Member
  6. adamMo commented on Jun 27, 2019

    @adamMo
    Author

    Ok that’s interesting. When ypu say “pure mitmproxy” you mean using it
    alone from the commandline, not with java, right?

    Right :)

    I am not a python expert but I will try to debug what's going on.

    Have a nice time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions