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

Dial tcp: lookup device or resource busy #713

Open
lucianenache opened this issue Sep 30, 2021 · 5 comments
Open

Dial tcp: lookup device or resource busy #713

lucianenache opened this issue Sep 30, 2021 · 5 comments

Comments

@lucianenache
Copy link

lucianenache commented Sep 30, 2021

I have tried #535 without any luck,

root@m1:~/hpool/linux-arm$ uname -a
Linux m1 5.11.0-1007-raspi #7-Ubuntu SMP PREEMPT Wed Apr 14 22:08:05 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

root@m1:~/hpool/linux-arm$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 21.04
Release:        21.04
Codename:       hirsute
root@m1:~/hpool/linux-arm$ ./hpool-chia-miner-linux-arm
{1024 1048576}
Rlimit Final {999999 999999}
***************************************************
**** Miner:HPool-Miner-Chia-og
**** Version:v1.5.2 2
**** BuildTime:2021-09-09-15:07:56 GMT
**** MinerName:[hidden]
**** ApiKey:[hidden]
**** Path count:75
***************************************************
WARN[2021-09-30T10:21:21Z] update line fail, try the next one            error="Post \"http://chia-5cfe939d68.hpool.cn/proxy/wslines/chiaog\": dial tcp: lookup chia-5cfe939d68.hpool.cn: device or resource busy" file=loggers.go func=logging.CPrint line=162 tid=1
WARN[2021-09-30T10:21:22Z] update line fail, try the next one            error="Post \"http://chia-14413fb6c2.hpool.xin/proxy/wslines/chiaog\": dial tcp: lookup chia-14413fb6c2.hpool.xin: device or resource busy" file=loggers.go func=logging.CPrint line=162 tid=28
WARN[2021-09-30T10:21:23Z] update line fail, try the next one            error="Post \"https://chia-1bca46b45f.hpool.com/proxy/wslines/chiaog\": dial tcp: lookup chia-1bca46b45f.hpool.com: device or resource busy" file=loggers.go func=logging.CPrint line=162 tid=28
WARN[2021-09-30T10:21:24Z] update line fail, try the next one            error="Post \"http://chia-0df3c2fd4e.hpool.xin/proxy/wslines/chiaog\": dial tcp: lookup chia-0df3c2fd4e.hpool.xin: device or resource busy" file=loggers.go func=logging.CPrint line=162 tid=28
WARN[2021-09-30T10:21:25Z] update line fail, try the next one            error="Post \"http://chia-4ad7d826df.hpool.cn/proxy/wslines/chiaog\": dial tcp: lookup chia-4ad7d826df.hpool.cn: device or resource busy" file=loggers.go func=logging.CPrint line=162 tid=28
WARN[2021-09-30T10:21:26Z] update line fail, try the next one            error="Post \"https://chia-2b9c5cc653.hpool.com/proxy/wslines/chiaog\": dial tcp: lookup chia-2b9c5cc653.hpool.com: device or resource busy" file=loggers.go func=logging.CPrint line=162 tid=28
WARN[2021-09-30T10:21:27Z] update line fail, try the next one            error="Post \"http://chia-15116df3dd.hpool.cn/proxy/wslines/chiaog\": dial tcp: lookup chia-15116df3dd.hpool.cn: device or resource busy" file=loggers.go func=logging.CPrint line=162 tid=28
WARN[2021-09-30T10:21:28Z] update line fail, try the next one            error="Post \"https://chia-e365767716.hpool.com/proxy/wslines/chiaog\": dial tcp: lookup chia-e365767716.hpool.com: device or resource busy" file=loggers.go func=logging.CPrint line=162 tid=28
@jerbzz
Copy link

jerbzz commented Oct 27, 2021

Also struggling with this on my Raspberry Pi 4 running Raspbian. Also tried #535.

@spencecopper
Copy link

spencecopper commented Oct 29, 2021

@jerbzz @lucianenache

modify your /etc/nsswitch.conf hosts: parameter
Change hosts: files mymachines dns myhostname
to just hosts: files dns

That should fix it, at least that fixed it for me when I ran into the issue again standing up some new arm hosts and disabling systemd resolve wasn't helping.

example my full hosts nsswitch.conf file looks like this:

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         files
group:          files
shadow:         files
gshadow:        files

#hosts:          files mymachines dns myhostname
hosts:          files  dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis```

@jerbzz
Copy link

jerbzz commented Oct 29, 2021

Hmm, thanks for the tip @spencecopper. That's not quite what I had in nsswitch.conf. My hosts line was

hosts: files mdns4_minimal [NOTFOUND=return] dns

I made the suggested change, rebooted, and I'm still getting this (or similar) over and over about once a second:

time="2021-10-29T20:08:25+01:00" level=warning msg="update line fail, try the next one" error="Post \"http://chia-0df3c2fd4e.hpool.xin/proxy/wslines/chiaog\": dial tcp: lookup chia-0df3c2fd4e.hpool.xin: device or resource busy" file=loggers.go func=logging.CPrint line=162 tid=1

@amorlzu
Copy link

amorlzu commented Jan 6, 2022

for my situation, I'm using a 64bit system, using hpool-chia-miner-linux-arm will have this issue.
hpool-miner-chia-linux-aarch64 works just fine

@true31337
Copy link

hpool-miner-chia-pp log (x-proxy-pp-linux 0 client connections)

jun 16 02:06:55 user bash[8872]: time="2023-06-16 02:06 55" level=warning msg="update line fail, try the next one" error="Post "http://192.168.0.1:9190/wslines\": dial tcp 192.168.0.1:9190: connect: connection refused"

How to fix it?

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

No branches or pull requests

5 participants