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

Getting error connecting to browsermob-proxy #32

Closed
muneeb331 opened this issue Dec 9, 2019 · 3 comments
Closed

Getting error connecting to browsermob-proxy #32

muneeb331 opened this issue Dec 9, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@muneeb331
Copy link

I am getting this error when running the API on CentOS 7.

[root@backups tiktok]# python3.6 test.py
New class reference, finding valid signature. This might take a minute.
Traceback (most recent call last):
File "test.py", line 5, in
api = TikTokapi("/root/tiktok/browsermob-proxy-2.1.4/bin/browsermob-proxy")
File "/usr/local/lib/python3.6/site-packages/TikTokApi/tiktok.py", line 26, in init
self.server.start()
File "/usr/local/lib/python3.6/site-packages/browsermobproxy/server.py", line 127, in start
raise ProxyServerError("Can't connect to Browsermob-Proxy")
browsermobproxy.exceptions.ProxyServerError: Can't connect to Browsermob-Proxy

@muneeb331 muneeb331 added the bug Something isn't working label Dec 9, 2019
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.74. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@davidteather
Copy link
Owner

davidteather commented Dec 9, 2019

Instead of passing in an absolute root try to pass in a relative path to your project

api = TikTikApi(“browsermob-proxy-2.1.4/bin/browsermob-proxy”)

@davidteather
Copy link
Owner

Closing due to no update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants