enwaiax / peer2profit Goto Github PK
View Code? Open in Web Editor NEWRun peer2profic client as a container on Linux platform
License: MIT License
Run peer2profic client as a container on Linux platform
License: MIT License
Hello, thank you very much for your work.
I successfully readapted a bit your code and I have now the docker peer2profit running, as I can also see it in my dashboard .
The problem is that is not sharing bandwidth, it displays 0 Bites on the "mynetworks" page .
Is now like 4 days that is up and running.
Do you have any idea of why this is happening?
I'm using a Linux virtual machine , which I'm paying to an host provider monthly for other purposes
bash <(curl -fsSL git.io/JzDdQ) email redracted
Installing dependencies...
Installing p2pclient...
--2023-12-03 18:48:09-- https://updates.peer2profit.app/peer2profit_0.48_amd64.deb
Resolving updates.peer2profit.app (updates.peer2profit.app)... 178.32.99.172
Connecting to updates.peer2profit.app (updates.peer2profit.app)|178.32.99.172|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10381318 (9.9M) [application/octet-stream]
Saving to: ‘p2pclient.deb’
p2pclient.deb 100%[=======================================================================>] 9.90M 35.2MB/s in 0.3s
2023-12-03 18:48:09 (35.2 MB/s) - ‘p2pclient.deb’ saved [10381318/10381318]
Selecting previously unselected package peer2profit.
(Reading database ... 113633 files and directories currently installed.)
Preparing to unpack p2pclient.deb ...
Unpacking peer2profit (0.48) ...
dpkg: dependency problems prevent configuration of peer2profit:
peer2profit depends on libxcb-icccm4; however:
Package libxcb-icccm4 is not installed.
peer2profit depends on libxcb-image0; however:
Package libxcb-image0 is not installed.
peer2profit depends on libxcb-keysyms1; however:
Package libxcb-keysyms1 is not installed.
peer2profit depends on libxcb-render-util0; however:
Package libxcb-render-util0 is not installed.
peer2profit depends on libxcb-render0; however:
Package libxcb-render0 is not installed.
peer2profit depends on libxcb-xinerama0; however:
Package libxcb-xinerama0 is not installed.
peer2profit depends on libxcb-xkb1; however:
Package libxcb-xkb1 is not installed.
peer2profit depends on libxkbcommon-x11-0; however:
Package libxkbcommon-x11-0 is not installed.
peer2profit depends on libxkbcommon0; however:
Package libxkbcommon0 is not installed.
peer2profit depends on libxcb-util1; however:
Package libxcb-util1 is not installed.
dpkg: error processing package peer2profit (--install):
dependency problems - leaving unconfigured
Processing triggers for mime-support (3.64ubuntu1) ...
Errors were encountered while processing:
peer2profit
Starting peer2profit...
Created symlink /etc/systemd/system/multi-user.target.wants/peer2profit.service → /etc/systemd/system/peer2profit.service.
● peer2profit.service - peer2profit
Loaded: loaded (/etc/systemd/system/peer2profit.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2023-12-03 18:48:14 UTC; 25ms ago
Process: 3325947 ExecStart=/usr/bin/p2pclient -l [email and ip address];8.8.8.8,1.1.1.1 (code=exited, status=203/EXEC)
Main PID: 3325947 (code=exited, status=203/EXEC)
When you want to run it more than once, will this script auto fetch some proxies from internet and use them to get different IP for every container to increase profits?
it can be used on aws but not on gcp
info. about the gcp VM: Intel Broadwell x86/64 [debian-11-bullseye-v20230206]
here are the logs
Swap already enabled
Filename Type Size Used Priority
/swapfile file 8048636 0 -2
total used free shared buff/cache available
Mem: 3.8Gi 133Mi 3.4Gi 0.0Ki 363Mi 3.5Gi
Swap: 7.7Gi 0B 7.7Gi
Installing docker
能否做个Docker命令创建的命令呢,运行交互脚本和一键脚本后,只显示了一下SWAP和LINUX信息和版本,就没其它显示和下步了~
[root@NAS peer2profit]# ./peer2fly.sh
Swap already enabled
Filename Type Size Used Priority
/dev/md8 partition 999868 313344 -1
total used free shared buff/cache available
Mem: 1.8G 700M 42M 19M 1.1G 1.1G
Swap: 976M 306M 670M
Linux distribution is: nas
Linux version is: 2018.04.9
Unsupported linux system
[root@NAS peer2profit]#
Add option that you can provide link and it will auto fetch proxies from it every 30 min (or make it be custom interval) and on start. So you can make gist file with proxies and update it when you get new proxies
Your introduction says "Support Docker image for linux/386, linux/amd64, linux/arm/v7, linux/arm64".
However, when I try to this on my Raspberry, I get the error message
me@ubuntu:~# docker-compose up
[+] Running 0/1
⠇ Peer2Profit Pulling 1.8s
no matching manifest for linux/arm/v7 in the manifest list entries
The entry on my docker-compose.yaml looks like this:
Peer2Profit:
container_name: Peer2Profit
image: enwaiax/peer2profit:alpine
environment:
- email= ...
- use_proxy=false
restart: unless-stopped
Am I doing something wrong or is amd64 actually the only supported arch? I also tried the latest
for the debian image, but that yielded the same error.
Hello, i run docker Image, does Not work. Error "licence run out"
Looked peer2profit deleted the docker reposity
root@instance:/home/ubuntu# bash <(curl -fsSL bit.ly/peer2fly)
Swap already enabled
Filename Type Size Used Priority
/swapfile file 2097148 60808 -2
total used free shared buff/cache available
Mem: 11Gi 6.8Gi 3.6Gi 4.0Mi 1.3Gi 4.7Gi
Swap: 2.0Gi 59Mi 1.9Gi
ERROR: Unsupported architecture: aarch64
I can't visit Peer2Profit.com anymore.
Is P2P dead?
I dont really know if its supossed to work in WSL2, I'm running it as the instructions say in Ubuntu 20.04 LTS, docker installed and docker-compose installed too. but.. it doesnt seem to work.
It doesnt seem to connect to docker properly.
`root@ALC-902SN73:/home/david/Peer2Profit# ./peer2fly.sh --email "redacted@gmail.com" --number "10"
Swap already enabled
cat: /proc/swaps: No such file or directory
total used free shared buff/cache available
Mem: 31Gi 12Gi 19Gi 17Mi 223Mi 19Gi
Swap: 96Gi 58Mi 95Gi
Linux distribution is: "Ubuntu"
Linux version is: "20.04"
Docker has been installed, skipped
docker-compose has been installed, skipped
Your email is: redacted@gmail.com
Your container numbers is: 10
Will use defalut version: enwaiax/peer2profit:latest
proxychains4.conf found, skipped
Traceback (most recent call last):
File "urllib3/connectionpool.py", line 677, in urlopen
File "urllib3/connectionpool.py", line 392, in _make_request
File "http/client.py", line 1277, in request
File "http/client.py", line 1323, in _send_request
File "http/client.py", line 1272, in endheaders
File "http/client.py", line 1032, in _send_output
File "http/client.py", line 972, in send
File "docker/transport/unixconn.py", line 43, in connect
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "requests/adapters.py", line 449, in send
File "urllib3/connectionpool.py", line 727, in urlopen
File "urllib3/util/retry.py", line 410, in increment
File "urllib3/packages/six.py", line 734, in reraise
File "urllib3/connectionpool.py", line 677, in urlopen
File "urllib3/connectionpool.py", line 392, in _make_request
File "http/client.py", line 1277, in request
File "http/client.py", line 1323, in _send_request
File "http/client.py", line 1272, in endheaders
File "http/client.py", line 1032, in _send_output
File "http/client.py", line 972, in send
File "docker/transport/unixconn.py", line 43, in connect
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker/api/client.py", line 214, in _retrieve_server_version
File "docker/api/daemon.py", line 181, in version
File "docker/utils/decorators.py", line 46, in inner
File "docker/api/client.py", line 237, in _get
File "requests/sessions.py", line 543, in get
File "requests/sessions.py", line 530, in request
File "requests/sessions.py", line 643, in send
File "requests/adapters.py", line 498, in send
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in
File "compose/cli/main.py", line 81, in main
File "compose/cli/main.py", line 200, in perform_command
File "compose/cli/command.py", line 70, in project_from_options
File "compose/cli/command.py", line 153, in get_project
File "compose/cli/docker_client.py", line 43, in get_client
File "compose/cli/docker_client.py", line 170, in docker_client
File "docker/api/client.py", line 197, in init
File "docker/api/client.py", line 222, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))
[13945] Failed to execute script docker-compose
Traceback (most recent call last):
File "urllib3/connectionpool.py", line 677, in urlopen
File "urllib3/connectionpool.py", line 392, in _make_request
File "http/client.py", line 1277, in request
File "http/client.py", line 1323, in _send_request
File "http/client.py", line 1272, in endheaders
File "http/client.py", line 1032, in _send_output
File "http/client.py", line 972, in send
File "docker/transport/unixconn.py", line 43, in connect
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "requests/adapters.py", line 449, in send
File "urllib3/connectionpool.py", line 727, in urlopen
File "urllib3/util/retry.py", line 410, in increment
File "urllib3/packages/six.py", line 734, in reraise
File "urllib3/connectionpool.py", line 677, in urlopen
File "urllib3/connectionpool.py", line 392, in _make_request
File "http/client.py", line 1277, in request
File "http/client.py", line 1323, in _send_request
File "http/client.py", line 1272, in endheaders
File "http/client.py", line 1032, in _send_output
File "http/client.py", line 972, in send
File "docker/transport/unixconn.py", line 43, in connect
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker/api/client.py", line 214, in _retrieve_server_version
File "docker/api/daemon.py", line 181, in version
File "docker/utils/decorators.py", line 46, in inner
File "docker/api/client.py", line 237, in _get
File "requests/sessions.py", line 543, in get
File "requests/sessions.py", line 530, in request
File "requests/sessions.py", line 643, in send
File "requests/adapters.py", line 498, in send
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in
File "compose/cli/main.py", line 81, in main
File "compose/cli/main.py", line 200, in perform_command
File "compose/cli/command.py", line 70, in project_from_options
File "compose/cli/command.py", line 153, in get_project
File "compose/cli/docker_client.py", line 43, in get_client
File "compose/cli/docker_client.py", line 170, in docker_client
File "docker/api/client.py", line 197, in init
File "docker/api/client.py", line 222, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))
[13949] Failed to execute script docker-compose
Clean cache
Traceback (most recent call last):
File "urllib3/connectionpool.py", line 677, in urlopen
File "urllib3/connectionpool.py", line 392, in _make_request
File "http/client.py", line 1277, in request
File "http/client.py", line 1323, in _send_request
File "http/client.py", line 1272, in endheaders
File "http/client.py", line 1032, in _send_output
File "http/client.py", line 972, in send
File "docker/transport/unixconn.py", line 43, in connect
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "requests/adapters.py", line 449, in send
File "urllib3/connectionpool.py", line 727, in urlopen
File "urllib3/util/retry.py", line 410, in increment
File "urllib3/packages/six.py", line 734, in reraise
File "urllib3/connectionpool.py", line 677, in urlopen
File "urllib3/connectionpool.py", line 392, in _make_request
File "http/client.py", line 1277, in request
File "http/client.py", line 1323, in _send_request
File "http/client.py", line 1272, in endheaders
File "http/client.py", line 1032, in _send_output
File "http/client.py", line 972, in send
File "docker/transport/unixconn.py", line 43, in connect
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker/api/client.py", line 214, in _retrieve_server_version
File "docker/api/daemon.py", line 181, in version
File "docker/utils/decorators.py", line 46, in inner
File "docker/api/client.py", line 237, in _get
File "requests/sessions.py", line 543, in get
File "requests/sessions.py", line 530, in request
File "requests/sessions.py", line 643, in send
File "requests/adapters.py", line 498, in send
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in
File "compose/cli/main.py", line 81, in main
File "compose/cli/main.py", line 200, in perform_command
File "compose/cli/command.py", line 70, in project_from_options
File "compose/cli/command.py", line 153, in get_project
File "compose/cli/docker_client.py", line 43, in get_client
File "compose/cli/docker_client.py", line 170, in docker_client
File "docker/api/client.py", line 197, in init
File "docker/api/client.py", line 222, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))
[13966] Failed to execute script docker-compose
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?`
The download link to p2pclient_0.60_amd64.deb is not working anymore. Is there any workaround to run this version of software?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.