engageub / InternetIncome

Earn income with internet (Multi-Proxy, Multi-IP, Multi-VPN Support)
104 stars 42 forks source link

earnapp not working #54

Closed friendlyBrandon closed 1 year ago

friendlyBrandon commented 1 year ago

Hey, my containers of earnapp are all unhealthy and not working.

engageub commented 1 year ago

Hi, Does your dashboard show something regarding your IP address? Is this the first time you are running or were you already using it earlier? Could you please take a screenshot. If its from earnapp dashboard, please click on the node to see the reason.

Thank you

friendlyBrandon commented 1 year ago

There is no error, they just show up as offline, same for some other apps.

friendlyBrandon commented 1 year ago

I have 1351 containers running and 139 are unhealthy. Basically not working.

friendlyBrandon commented 1 year ago

image image image

friendlyBrandon commented 1 year ago

If you wish to contact me on Discord for faster responses and clearer responses, please add me. friendlyBrandon

engageub commented 1 year ago

Hi, Thank you for providing the screenshots. Could you please let me know if you are running it from same host. Were the hosts online earlier and not now? Does your PC have enough resources like %CPU, %RAM, %diskspace Are your proxies working fine. If you are running from same host, please note that there may be limitations in docker network to 1023 containers on same network. Also note that the script is working as expected and there is no limit mentioned in the script with respect to the number of containers.

Thank you

engageub commented 1 year ago

image image image

I do not know from where the first and third screenshot are obtained. Screenshot 1 and screenshot 3 have discrepancies in the number of devices.

engageub commented 1 year ago

If you wish to contact me on Discord for faster responses and clearer responses, please add me. friendlyBrandon

Thank you. But lets keep this here so that others would know if there is a potential issue and decide on what needs to be done.

Thank you

friendlyBrandon commented 1 year ago

It is all running on the same server, Specs are: Ryzen 5 3600 64GB RAM 1TB SSD 1gbps internet.

engageub commented 1 year ago

So you are running more than 1023 proxies on same network and server? Are the nodes not working after 1023 containers have been started? Docker has a network limitation with respect to the number of containers on same network.

Thank you

friendlyBrandon commented 1 year ago

I am running about 170 proxies.

engageub commented 1 year ago

I am running about 170 proxies.

If you are running only 170 proxies and have not created new node Ids and are using existing nodes in the dashboard. Please enable logs from properties.conf and start the containers. Then look into earnapp docker logs to see if there are any errors.

Thank you

friendlyBrandon commented 1 year ago

I will be able to do that in about 90minutes.

friendlyBrandon commented 1 year ago

Hey, do you mean the logs that come from starting the app or just the logs after you ran it and are starting the earnapp container?

friendlyBrandon commented 1 year ago

image

engageub commented 1 year ago

image

Thank you for the logs. These are the logs mentioned. You will need to see which container is having issue and look into logs for any connectivity issue. Please compare them them with healthy container and unhealthy host to see the difference.

Thank you

friendlyBrandon commented 1 year ago

Okay, one second.

friendlyBrandon commented 1 year ago

That was unhealthy, this one is healthy: image

engageub commented 1 year ago

Looks like the requests were throttled or there was some connectivity issue. Can you try restarting the unhealthy container and monitor the logs again. To restart the container, please use the following command. Replace the container_name below and remove the parenthesis <> before running.

sudo docker restart <container_name>
friendlyBrandon commented 1 year ago

image Now I keep on getting this: image

friendlyBrandon commented 1 year ago

Again, unhealthy.

friendlyBrandon commented 1 year ago

Okay, I have a better idea, il reset it and redo my proxy list since I have 20 IPs that are whitelisted to my IP. I will put them to credentials now.

engageub commented 1 year ago

Is your proxy working fine? Run the following command to see if network is available from the container.

sudo docker exec -it <EARN_APP_CONTAINER> sh 

You will be logged into earnapp shell. Then check if connectivity is available in the container to see if your proxy is working fine.

wget -O - ifconfig.me/all

The above command will give the output of your proxy ip if it is working fine.

friendlyBrandon commented 1 year ago

Okay so I redid everything, could have been that I put HTTP instead of SOCKS5 or the IP auth and not putting a username and password in for some proxies.

friendlyBrandon commented 1 year ago

I am currently waiting for everything to be created again, please give it some time.

engageub commented 1 year ago

As mentioned the script is working as expected. Please see if there is a pattern you can identify with the unhealthy hosts based on the proxies you provided in proxies.txt file.

Thank you

friendlyBrandon commented 1 year ago

Once everything is up for a little bit we will see if it is the proxies or the issue with the containers. I also noticed it with repocket that the peers went slowly down.

friendlyBrandon commented 1 year ago

wget -O - ifconfig.me/all Does not work on any earnapp docker container.

engageub commented 1 year ago

wget -O - ifconfig.me/all Does not work on any earnapp docker container.

What error do you see. wget is not available inside the container?

Thank you

friendlyBrandon commented 1 year ago

It just keeps on retrying.

engageub commented 1 year ago

Its working here without issue. It means your proxy is not working. You may login to healthy container and try that command.

engageub commented 1 year ago

However DNS server has been added to code now. If google DNS servers are not reachable, it will look into cloudflare DNS servers. Thank you

engageub commented 1 year ago

It just keeps on retrying.

The responses are immediate. Please check if your proxies are working from that host. Your proxies are not reachable from that host if it retries. There is no issue with the script.

Thank you

engageub commented 1 year ago

Closing this since there is no issue with the script. Please feel free to reopen if the issue still persists. Thank you