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

Unable to access analytics page #221

Closed
Johnnycyan opened this issue Mar 25, 2023 · 4 comments
Closed

Unable to access analytics page #221

Johnnycyan opened this issue Mar 25, 2023 · 4 comments

Comments

@Johnnycyan
Copy link

Describe the bug

I am hosting with portainer on Windows and am unable to access the website for the analytics page. I tried using 127.0.0.1 and also the IP of the container itself, neither works. When just running the python file myself it works fine. Is there something I'm doing wrong? This is my first time using portainer so it's possible I didn't understand something.

Steps to reproduce

  1. Set up portainer
  2. install twitch miner container with analytics enabled
  3. try to connect to the analytics page

Expected behavior

Being able to connect to the analytics page

Operating system

Windows 11 Version 22H2 Build 22621.1265

Python version

3.11.2

Miner version

v2-1.7.9

Other relevant software versions

No response

Logs

No error occurs. It says Analytics running on http://127.0.0.1:5000/ even though I can't connect to that.

Additional context

No response

@ikeman2003
Copy link

it might be worth trying to set the analytics to run on 0.0.0.0 port 5000 that what i have mine set to after seeing other people having issues with using 127.0.0.1

also make sure that when you are connecting to the UI you are connecting with the containers IP since i assume it isn't considered local to the machine

@Johnnycyan
Copy link
Author

it might be worth trying to set the analytics to run on 0.0.0.0 port 5000 that what i have mine set to after seeing other people having issues with using 127.0.0.1

also make sure that when you are connecting to the UI you are connecting with the containers IP since i assume it isn't considered local to the machine

Oh you're right setting it to 0.0.0.0 in the config did the trick! Thank you! (Would be nice for this to be in the portainer setup info)

@rdavydov
Copy link
Owner

Would be nice for this to be in the portainer setup info

Feel free to add this info to https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/wiki/Deploy-Docker-container-in-Portainer

@rdavydov
Copy link
Owner

Added it myself.

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

No branches or pull requests

3 participants