Closed vegych closed 9 months ago
You are trying to connect to your servers privat ip address with port 5000 and not 0.0.0.0:5000 or 127.0.0.1:5000 right?
hostname -I | awk '{print $1}'
I have tried all the ip options: 0.0.0.0 127.0.0.1 local ip of the server, in my case - 192.168.0.117 And all of them do not open the page with analytics
Try this in your config:
twitch_miner.analytics(host="localhost", port=5000, refresh=5, days_ago=7) # Start the Analytics web-server
Then docker compose restart
and connect to "http://192.168.0.117:5000"
It gives an error ERR_CONNECTION_REFUSED Tried localhost:5000 and 192.168.0.117:5000
I just checked it on my server, I run it native and have the same problem now. @rdavydov looks like a fault in the new update and not in the config
I just checked it on my server, I run it native and have the same problem now. @rdavydov looks like a fault in the new update and not in the config
No, nothing was changed in the Analytics code.
@vegych and @H4K0N42, please show your run.py
file and your docker-compose
config or your docker run
command.
I'm a bit confused about which docker-compose we're talking about, but I use portainer to access the container
1) Did you read https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/wiki/Deploy-Docker-container-in-Portainer ?
2) Can you try the docker run
command as stated in the README?
I just used these instructions to install via portainer. But the point about access to analytics is not clear - how to connect to this ip...
This is what came up after entering the command
You have to specify the correct path and understand what you're doing, not just copy and paste the command.
Also, this is not an issue and not a bug. Converting this to a discussion.
Describe the bug
I am using the miner on a local server in a docker container. I tried to run analytics on 127.0.0.0.1 and 0.0.0.0.0, but the page is still inaccessible. The port on the router is open. At the same time, if I run the miner on my computer, everything opens fine. Where can I make a mistake?
Steps to reproduce
Expected behavior
Running analytics
Operating system
Armbian 23.08.0-trunk Jammy with Linux 5.15.131-ophub
Python version
3.10.12
Miner version
1.8.6
Other relevant software versions
No response
Logs
There's no error logs
Additional context
No response