helium / miner

Miner for the helium blockchain
Apache License 2.0
607 stars 265 forks source link

failed to send witness #1306

Closed siberiatrix closed 2 years ago

siberiatrix commented 2 years ago

2021-12-19 16:02:44.891 [error] <0.18508.4>@miner_onion_server:send_witness:207 failed to send witness, max retry

this error began to appear many times a day after PoC11. Can someone tell me whats wrong and what it's mean?

It is a Pisces miner

kroeatschge commented 2 years ago

Same here. Any solution to the issue?

gitxmax commented 2 years ago

my logs are full of failed to dial challenger "/p2p/xxxxxxxx": not_found resulting in "failed to send witness, max retry" when I grap the failed address and ping it using heliumstatus, most of the times it's accessible My hotspot is on half gigabit network, not relayed ...

Here's the latest example:

2022-01-01 18:34:20.570 6 [info] <0.1640.0>@miner_onion_server:decrypt:{362,13} sending witness at RSSI: -121, Frequency: 867.1, SNR: -11.0 2022-01-01 18:34:20.570 6 [info] <0.1640.0>@miner_onion_server:decrypt:{372,13} could not decrypt packet received via radio: treating as a witness 2022-01-01 18:34:20.571 6 [info] <0.13078.3>@miner_onion_server:send_witness:{188,13} sending witness at RSSI: -121, Frequency: 867.1, SNR: -11.0 2022-01-01 18:34:20.709 6 [warning] <0.13078.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/112M4qQUcMKqUuCVKsXd17kgXd9pfcBZcX82DQ6JbAYxNN6yqbiK": not_found 2022-01-01 18:34:50.709 6 [info] <0.13078.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -121, Frequency: 867.1, SNR: -11.0 2022-01-01 18:34:50.836 6 [warning] <0.13078.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/112M4qQUcMKqUuCVKsXd17kgXd9pfcBZcX82DQ6JbAYxNN6yqbiK": not_found 2022-01-01 18:35:20.838 6 [info] <0.13078.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -121, Frequency: 867.1, SNR: -11.0 2022-01-01 18:35:20.992 6 [warning] <0.13078.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/112M4qQUcMKqUuCVKsXd17kgXd9pfcBZcX82DQ6JbAYxNN6yqbiK": not_found 2022-01-01 18:35:50.993 6 [info] <0.13078.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -121, Frequency: 867.1, SNR: -11.0 2022-01-01 18:35:51.127 6 [warning] <0.13078.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/112M4qQUcMKqUuCVKsXd17kgXd9pfcBZcX82DQ6JbAYxNN6yqbiK": not_found 2022-01-01 18:36:21.128 6 [info] <0.13078.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -121, Frequency: 867.1, SNR: -11.0 2022-01-01 18:36:21.250 6 [warning] <0.13078.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/112M4qQUcMKqUuCVKsXd17kgXd9pfcBZcX82DQ6JbAYxNN6yqbiK": not_found 2022-01-01 18:36:51.251 6 [info] <0.13078.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -121, Frequency: 867.1, SNR: -11.0 2022-01-01 18:36:51.383 6 [warning] <0.13078.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/112M4qQUcMKqUuCVKsXd17kgXd9pfcBZcX82DQ6JbAYxNN6yqbiK": not_found 2022-01-01 18:37:21.384 6 [info] <0.13078.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -121, Frequency: 867.1, SNR: -11.0 2022-01-01 18:37:21.522 6 [warning] <0.13078.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/112M4qQUcMKqUuCVKsXd17kgXd9pfcBZcX82DQ6JbAYxNN6yqbiK": not_found 2022-01-01 18:37:51.523 6 [info] <0.13078.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -121, Frequency: 867.1, SNR: -11.0 2022-01-01 18:37:51.646 6 [warning] <0.13078.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/112M4qQUcMKqUuCVKsXd17kgXd9pfcBZcX82DQ6JbAYxNN6yqbiK": not_found 2022-01-01 18:38:21.647 6 [info] <0.13078.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -121, Frequency: 867.1, SNR: -11.0 2022-01-01 18:38:21.771 6 [warning] <0.13078.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/112M4qQUcMKqUuCVKsXd17kgXd9pfcBZcX82DQ6JbAYxNN6yqbiK": not_found 2022-01-01 18:38:51.772 6 [info] <0.13078.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -121, Frequency: 867.1, SNR: -11.0 2022-01-01 18:38:51.908 6 [warning] <0.13078.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/112M4qQUcMKqUuCVKsXd17kgXd9pfcBZcX82DQ6JbAYxNN6yqbiK": not_found 2022-01-01 18:39:21.909 6 [info] <0.13078.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -121, Frequency: 867.1, SNR: -11.0 2022-01-01 18:39:21.910 6 [error] <0.13078.3>@miner_onion_server:send_witness:{207,5} failed to send witness, max retry Heliumstatus dot io: Observed Listen Addresses: /ip4/98.179.97.20/tcp/44158 API Reported Listen Address: /ip4/98.179.97.20/tcp/44158

`Ping Test Pinged /ip4/98.179.97.20/tcp/44158 successfully with latency: 163 ms

Peer is online and reachable over the Helium P2P network. Pinged /ip4/98.179.97.20/tcp/44158 successfully with latency: 157 ms

Peer is online and reachable over the Helium P2P network. Pinged /ip4/98.179.97.20/tcp/44158 successfully with latency: 185 ms

Peer is online and reachable over the Helium P2P network. Pinged /ip4/98.179.97.20/tcp/44158 successfully with latency: 268 ms

Peer is online and reachable over the Helium P2P network. Pinged /ip4/98.179.97.20/tcp/44158 successfully with latency: 228 ms

Peer is online and reachable over the Helium P2P network.`

Ben1908 commented 2 years ago

The same here. My guess was, that it is because of my suboptimal location with original antenna still indoors. Im quite new to helium mining. I got a Controllino HS.

the25dreamer commented 2 years ago

I also have a controllino hs, but i'm on a fairly optimal area, with transmit scale 1,00 and I have an outdoor antenna with 4dBi and 5m of LMR-400 cable. My latency is between 35-45ms... and I still have same issue...

gitxmax commented 2 years ago

Half of the witnessing ends up in " failed to send witness, max retry" While the challenger is online and ping is fine. Is Helium trying to save up a little? If most of people could see their logs they will understand the scale of it. In brief, if you see your hotspot creating a challenge, but end up in not challenging anyone, this is due to "failed to send witness, max retry" issue ...

millskyle commented 2 years ago

Following because I also have this problem. RisingHF miner

benengele commented 2 years ago

I suspect to have the same issue, unfortunately I can't check logs. Thanks SenseCap for not providing access to logs to users!

mamba84 commented 2 years ago

hey guys, same problem here, using PiscesP100, lots of those on a premium location. I get the feeling other miner would do much better.

2022-02-07 05:06:22.892 6 [error] <0.18164.3>@miner_onion_server:send_witness:{207,5} failed to send witness, max retry 2022-02-07 05:06:22.892 6 [info] <0.18164.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -115, Frequency: 868.5, SNR: -15.0 2022-02-07 05:05:52.891 6 [warning] <0.18164.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/11Yz3vXeHiiH1e53m4vvkcieFAyjbW7mH5E8eMyV6WzB6hGfZWA": not_found 2022-02-07 05:05:52.771 6 [info] <0.18164.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -115, Frequency: 868.5, SNR: -15.0 2022-02-07 05:05:22.769 6 [warning] <0.18164.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/11Yz3vXeHiiH1e53m4vvkcieFAyjbW7mH5E8eMyV6WzB6hGfZWA": not_found 2022-02-07 05:05:22.342 6 [info] <0.18164.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -115, Frequency: 868.5, SNR: -15.0 2022-02-07 05:04:52.341 6 [warning] <0.18164.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/11Yz3vXeHiiH1e53m4vvkcieFAyjbW7mH5E8eMyV6WzB6hGfZWA": not_found 2022-02-07 05:04:52.227 6 [info] <0.18164.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -115, Frequency: 868.5, SNR: -15.0 2022-02-07 05:04:22.225 6 [warning] <0.18164.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/11Yz3vXeHiiH1e53m4vvkcieFAyjbW7mH5E8eMyV6WzB6hGfZWA": not_found 2022-02-07 05:04:22.103 6 [info] <0.18164.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -115, Frequency: 868.5, SNR: -15.0 2022-02-07 05:03:52.101 6 [warning] <0.18164.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/11Yz3vXeHiiH1e53m4vvkcieFAyjbW7mH5E8eMyV6WzB6hGfZWA": not_found 2022-02-07 05:03:51.982 6 [info] <0.18164.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -115, Frequency: 868.5, SNR: -15.0 2022-02-07 05:03:21.981 6 [warning] <0.18164.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/11Yz3vXeHiiH1e53m4vvkcieFAyjbW7mH5E8eMyV6WzB6hGfZWA": not_found 2022-02-07 05:03:21.865 6 [info] <0.18164.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -115, Frequency: 868.5, SNR: -15.0 2022-02-07 05:02:51.864 6 [warning] <0.18164.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/11Yz3vXeHiiH1e53m4vvkcieFAyjbW7mH5E8eMyV6WzB6hGfZWA": not_found 2022-02-07 05:02:51.590 6 [info] <0.18164.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -115, Frequency: 868.5, SNR: -15.0 2022-02-07 05:02:21.589 6 [warning] <0.18164.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/11Yz3vXeHiiH1e53m4vvkcieFAyjbW7mH5E8eMyV6WzB6hGfZWA": not_found 2022-02-07 05:02:21.469 6 [info] <0.18164.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -115, Frequency: 868.5, SNR: -15.0 2022-02-07 05:01:51.468 6 [warning] <0.18164.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/11Yz3vXeHiiH1e53m4vvkcieFAyjbW7mH5E8eMyV6WzB6hGfZWA": not_found 2022-02-07 05:01:51.338 6 [info] <0.18164.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -115, Frequency: 868.5, SNR: -15.0 2022-02-07 05:01:21.334 6 [warning] <0.18164.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/11Yz3vXeHiiH1e53m4vvkcieFAyjbW7mH5E8eMyV6WzB6hGfZWA": not_found 2022-02-07 05:01:21.205 6 [info] <0.18164.3>@miner_onion_server:send_witness:{188,13} sending witness at RSSI: -115, Frequency: 868.5, SNR: -15.0 2022-02-07 05:01:21.204 6 [info] <0.1673.0>@miner_onion_server:decrypt:{372,13} could not decrypt packet received via radio: treating as a witness 2022-02-07 05:01:21.204 6 [info] <0.1673.0>@miner_onion_server:decrypt:{362,13} sending witness at RSSI: -115, Frequency: 868.5, SNR: -15.0

DCYeahThatsMe commented 2 years ago

Exactly the same issue. 5.8dBi RAK outdoor antenna, gig Ethernet symmetrical fiber connection to the internet, this is a quality install. And the miner was operating just fine with daily earnings ~.25-.35HNT. I am struggling to now get a single witness or two a day and currently barely breaking .02HNT in 24 hours.

These are the missed witnesses over the last 6 hours alone: RSSI: -134, Frequency: 905.3, SNR: -15.0 RSSI: -127, Frequency: 904.7, SNR: -8.8 RSSI: -128, Frequency: 904.5, SNR: -11.0 RSSI: -125, Frequency: 904.7, SNR: -7.0 RSSI: -128, Frequency: 904.9, SNR: -10.2 RSSI: -132, Frequency: 905.1, SNR: -13.5

All with errors such as: 2022-02-10 07:41:45.219 7 [warning] <0.11587.0>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/11fnNE7hLgmJcGUvGNAnYHTXknTZZGZ8N7X8PKK7MFtg65WAgtQ": [{"/p2p/11hnLwyE69MRuS9Z4y5Vhf6PJSbfybw5vh34FwV2epNhiUdzM9P/p2p-circuit/p2p/11fnNE7hLgmJcGUvGNAnYHTXknTZZGZ8N7X8PKK7MFtg65WAgtQ",timeout_relay_session}]

2022-02-10 02:16:30.833 6 [warning] <0.1826.0>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/11GnwdeQV6bFmrYbfdLmfwHf2Bbx2j7BDrWu7QB8YSkn5FBuBca": [{"/p2p/112DJdkkkpeXJ4xNPyh61qEMaip84KXvqV3LGLF7Yc22ZR4HoXg8/p2p-circuit/p2p/11GnwdeQV6bFmrYbfdLmfwHf2Bbx2j7BDrWu7QB8YSkn5FBuBca",stream_down}]

2022-02-10 14:55:24.650 6 [info] <0.1706.0>@libp2p_transport_proxy:connect:{38,5} init proxy with ["/p2p/112D6SxLUiTkjhhXvoRsxEaNRKPCN9FbSe83mDHMEv11rKXkJKeB","/p2p/112RfEsVMHRTuRCW8ZK6zcerApfDixvVF5pRdJMh8HGRA1FPhkKZ"] 2022-02-10 14:55:24.654 6 [error] <0.1706.0>@libp2p_transport_proxy:connect_to:{69,13} failed to dial proxy server "/p2p/112D6SxLUiTkjhhXvoRsxEaNRKPCN9FbSe83mDHMEv11rKXkJKeB" not_found 2022-02-10 14:55:24.656 6 [warning] <0.1528.0>@libp2p_group_worker:connecting:{237,5} Failed to connect to "/p2p/112RfEsVMHRTuRCW8ZK6zcerApfDixvVF5pRdJMh8HGRA1FPhkKZ": [{"/p2p/112D6SxLUiTkjhhXvoRsxEaNRKPCN9FbSe83mDHMEv11rKXkJKeB/p2p-circuit/p2p/112RfEsVMHRTuRCW8ZK6zcerApfDixvVF5pRdJMh8HGRA1FPhkKZ",fail_dial_proxy}]

This looks like a widescale problem. Can someone at helium figure out the issue?!? This is on a Milesight UG65 for what it's worth, but looks like it's not limited to any particular miner. We need this bug looked into ASAP!

mamba84 commented 2 years ago

Mates. Changing DNS settings significantly reduced errors in my case. Use any public dns servers like google, cloudflare or your ISP ones.

THplusplus commented 2 years ago

Why would that have any effect?

mamba84 commented 2 years ago

I don't know. It sounds silly but in my case i have almost no failed to dial errors. Not a single fail today. Give it a try. Nothing to lose.

the25dreamer commented 2 years ago

I use OpenDNS servers and have the issue... :/

THplusplus commented 2 years ago

Same with my ISP's

gitxmax commented 2 years ago

Mates. Changing DNS settings significantly reduced errors in my case. Use any public dns servers like google, cloudflare or your ISP ones.

not really, from the observation, if my miner fails to send the beacon report to the challanger, in most of the cases, the challanger doesn't receive anything from anyone and the challenge stays unchallanged ..

DCYeahThatsMe commented 2 years ago

I have been using 8.8.8.8 and 1.1.1.1 and that didn't work.... I tried using my gateway as my DNS server (which works fine for my machines on the network) and 8.8.8.8 as a secondary - that didn't work either. Nothing has seemed to solve this. Willing to try anything at this point. What about "use peer DNS"? :)

ghost commented 2 years ago

I have noticeably reduced the number of failed witnesses by increasing the max_inbound_connections and outbound_gossip_connections in the docker's sys.config. For example:

docker exec -it miner sh
vi config/sys.config

I changed

   {max_inbound_connections, 6},                                                                                                                                          
   {outbound_gossip_connections, 2}, 

to something like

   {max_inbound_connections, 20},                                                                                                                                          
   {outbound_gossip_connections, 10}, 

Then restarted the docker:

docker stop miner && docker start miner

I've been plotting the ratio of successfully sent witness entries to failed witness entries (i.e. 'max_retry') from console.log per hour. There is a noticeable drop in failed witnesses when I implemented this change. You can probably guess when I implemented it from these plots:

Screen Shot 2022-02-11 at 2 06 35 PM

Screen Shot 2022-02-11 at 2 10 44 PM

I presume that this is going to drastically increase my network traffic, but I've got an excellent internet connection, so I'm okay with that if I get more witnesses through.

Someone else has confirmed they also saw improvement with modifying these values in issue #1407

the25dreamer commented 2 years ago

that is for those who have ssh access... the DNS servers I have configured on my router...

benengele commented 2 years ago

Guess you could enable ssh on any miner that has removable memory. It was easy to do on my SenseCap...

the25dreamer commented 2 years ago

there are 2 issues on that... first my controllino will void my warranty if opened and also seems like Helium don't want also the users to have ssh access... so doing it would be doing on my own.

benengele commented 2 years ago

Thanks for the tip @cuddlyconcretepangolin will give it a try too. Right now I have 15-20% failed sends, will report back next days if the setting helped.

marcijel1 commented 2 years ago

I have noticeably reduced the number of failed witnesses by increasing the max_inbound_connections and outbound_gossip_connections in the docker's sys.config. For example:

docker exec -it miner sh
vi config/sys.config

...

Thank you for sharing. I have a problem with this:

admin@raspberrypi:~ $ docker exec -it miner sh
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.39/containers/miner/json: dial unix /var/run/docker.sock: connect: permission denied
satukbugratekin commented 2 years ago

Use sudo as you are not root but admin maybe?

marcijel1 commented 2 years ago

oh, yes. With sudo I can open the file and edited it. Sorry for stupid for linux 😅👍 Thank you for the help.

testing in progress... saturday stats are 3 witnessed beacons, all of them a 2nd time send success (1st try was "failed to dial challenger"). despite of success, not participate in the lucky 14 😕 but that's just 2 hours. we'll see... The average witnesses at the neighbours are 20-25/day; I have max 6 witnesses with pisces hotspot

marcijel1 commented 2 years ago

So here are my stats. I added to the list a reward statistics (I counted it manually from explorer). Are these numbers normal? (without SAW filter; with stock antenna)

(this is the past 3 days. feb12 was awful; for feb13 I made the improvements (setting up DNS; inbound/outbound increase), and it was better but still below neighbours' average; feb14 also awful, looks like the changes made nothing, feb13 was just luck 😕 )

Feb 12 - General Witnesses Overview
----------------------------------
Total witnesses                   =    14
Succesfully delivered             =    11 (78.57%)
Failed                            =     3 (21.43%)
  ├── Max retry    =    3 (21.43%)
  └── Crash/reboot =    0     (0%)
(edit) Rewarded                   =     3 (21.43%; /successful = 27.27%)

Max Retry Failure Reasons
----------------------------------
Timeout                           =     1 (33.33%)
Not Found                         =     2 (66.67%)
Other challenger issues           =     0     (0%)

Challengers
----------------------------------
Not Relayed                       =    11 (78.57%)
Relayed                           =     2 (14.29%)
Unknown Relay Status              =     1  (7.14%)
Feb 13 - General Witnesses Overview
----------------------------------
Total witnesses                   =    60
Succesfully delivered             =    52 (86.67%)
Failed                            =     8 (13.33%)
  ├── Max retry    =    7 (11.67%)
  └── Crash/reboot =    1  (1.67%)
(edit) Rewarded                   =     14 (23.34%; /successful = 26.92%)

Max Retry Failure Reasons
----------------------------------
Timeout                           =     3 (42.86%)
Not Found                         =     2 (28.57%)
Other challenger issues           =     2 (28.57%)

Challengers
----------------------------------
Not Relayed                       =    55 (91.67%)
Relayed                           =     3     (5%)
Unknown Relay Status              =     2  (3.33%)
Feb 14 - General Witnesses Overview
----------------------------------
Total witnesses                   =    38
Succesfully delivered             =    29 (76.32%)
Failed                            =     9 (23.68%)
  ├── Max retry    =    9 (23.68%)
  └── Crash/reboot =    0     (0%)
(edit) Rewarded                   =     5 (13.16%; /successful=17.24%)

Max Retry Failure Reasons
----------------------------------
Timeout                           =     8 (88.89%)
Not Found                         =     0     (0%)
Other challenger issues           =     1 (11.11%)

Challengers
----------------------------------
Not Relayed                       =    32 (84.21%)
Relayed                           =     6 (15.79%)
Unknown Relay Status              =     0     (0%)
Oggy6868 commented 2 years ago

Same issue here at Panther x2.

Amadejus commented 2 years ago

Hi, I had the same problems with Controllino V1, "failed to send witness, max retry" and "Miner: 5 / 5 pings succeeded Blockchain: 0 / 5 pings succeeded". I don't know what the reasons were, but everything miraculously fixed as soon as i changed my internet provider.

marcijel1 commented 2 years ago

panther X2 not found fix: https://www.youtube.com/watch?v=EuFFZRpvvxg

tmabile1 commented 2 years ago

Can try lowering your antenna gain by .2 in the app and reassert your location to see if that helps

Oggy6868 commented 2 years ago

What do you mean with > gain by .2 in the app

tmabile1 @.***> schrieb am Mi., 20. Apr. 2022, 04:25:

Can try lowering your antenna gain by .2 in the app and reassert your location to see if that helps

— Reply to this email directly, view it on GitHub https://github.com/helium/miner/issues/1306#issuecomment-1103395681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYMKXROHPUF23YKI6OCIVBLVF5TJHANCNFSM5KMBY6RQ . You are receiving this because you commented.Message ID: @.***>

tmabile1 commented 2 years ago

If you have a 5.8dbi antenna, try to bring it down to 5.6dbi on your miner if it allows it. I was having the same issue and when I dropped the gain I am now getting over 80% successful witnesses.

Oggy6868 commented 2 years ago

Okay I have an 8 dbi antenna. Then I do 7,8 dbi?

tmabile1 @.***> schrieb am Mi., 20. Apr. 2022, 13:42:

If you have a 5.8dbi antenna, try to bring it down to 5.6dbi on your miner if it allows it. I was having the same issue and when I dropped the gain I am now getting over 80% successful witnesses.

— Reply to this email directly, view it on GitHub https://github.com/helium/miner/issues/1306#issuecomment-1103835172, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYMKXRI22RX5SAFIVNKXIM3VF7URDANCNFSM5KMBY6RQ . You are receiving this because you commented.Message ID: @.***>

tmabile1 commented 2 years ago

Yes, try that then check your witness logs. Let me know if that helps

tmabile1 commented 2 years ago

This is my witness logs

2022-04-20 11:11:24.851 6 [info] <0.26624.3>@miner_poc_handler:handle_info:{74,5} client sending data: <<18,176,1,10,33,0,91,201,202,239,192,146,18,6,204,232,16,247,144,158,17,3,119,178,7,46,6,208,91,136,91,166,88,20,132,147,172,241,16,160,244,132,219,235,201,229,243,22,24,223,1,34,32,11,9,235,133,13,60,7,189,186,42,33,43,55,35,91,191,104,22,255,96,210,219,52,232,11,187,117,38,175,141,79,59,42,72,48,70,2,33,0,212,95,99,12,60,193,243,89,237,250,166,101,213,171,136,40,200,125,102,170,135,58,177,207,78,138,193,70,41,61,208,195,2,33,0,174,203,40,236,55,90,148,99,103,166,193,141,216,198,89,227,247,241,42,200,232,118,88,161,106,66,25,241,0,44,141,26,53,0,0,128,64,61,154,249,97,68,74,8,83,70,57,66,87,49,50,53>> 2022-04-20 11:11:24.849 6 [info] <0.26577.3>@miner_onion_server:send_witness:{251,37} successfully sent witness to challenger "/p2p/11DbMn9cU8aXTF1whhnNMEU5Q76rd4RTU5P7aTe6NTS3wgS4Csp" with RSSI: -112, Frequency: 903.9, SNR: 4.0 2022-04-20 11:11:23.456 6 [info] <0.26577.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -112, Frequency: 903.9, SNR: 4.0 2022-04-20 11:10:53.455 6 [warning] <0.26577.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/11DbMn9cU8aXTF1whhnNMEU5Q76rd4RTU5P7aTe6NTS3wgS4Csp": not_found 2022-04-20 11:10:53.350 6 [info] <0.26577.3>@miner_onion_server:send_witness:{188,13} sending witness at RSSI: -112, Frequency: 903.9, SNR: 4.0 2022-04-20 11:10:53.350 6 [info] <0.2872.0>@miner_onion_server:decrypt:{372,13} could not decrypt packet received via radio: treating as a witness 2022-04-20 11:10:53.349 6 [info] <0.2872.0>@miner_onion_server:decrypt:{362,13} sending witness at RSSI: -112, Frequency: 903.9, SNR: 4.0 2022-04-20 11:02:28.400 6 [info] <0.25325.3>@miner_poc_handler:handle_info:{74,5} client sending data: <<18,177,1,10,33,0,91,201,202,239,192,146,18,6,204,232,16,247,144,158,17,3,119,178,7,46,6,208,91,136,91,166,88,20,132,147,172,241,16,215,153,140,189,143,187,229,243,22,24,207,1,34,32,158,10,95,4,78,175,184,218,172,140,116,158,189,130,114,112,102,121,182,151,58,151,101,198,194,64,182,232,149,248,31,34,42,71,48,69,2,32,82,239,8,30,89,145,141,111,73,108,178,226,214,149,245,47,195,164,210,21,75,11,204,177,68,213,66,111,46,244,253,92,2,33,0,155,242,221,132,41,204,35,202,116,209,90,224,83,15,32,129,92,72,216,119,246,40,38,223,141,17,22,157,232,248,79,123,53,0,0,0,65,61,0,32,98,68,64,3,74,8,83,70,57,66,87,49,50,53>> 2022-04-20 11:02:28.399 6 [info] <0.25313.3>@miner_onion_server:send_witness:{251,37} successfully sent witness to challenger "/p2p/11auFXqYwnMDdoFyFYNVh8VetPA4HCf8pzSN4wYsSgGbyB13wsR" with RSSI: -104, Frequency: 904.5, SNR: 8.0 2022-04-20 11:02:27.555 6 [info] <0.25313.3>@miner_onion_server:send_witness:{188,13} sending witness at RSSI: -104, Frequency: 904.5, SNR: 8.0 2022-04-20 11:02:27.554 6 [info] <0.2872.0>@miner_onion_server:decrypt:{372,13} could not decrypt packet received via radio: treating as a witness 2022-04-20 11:02:27.554 6 [info] <0.2872.0>@miner_onion_server:decrypt:{362,13} sending witness at RSSI: -104, Frequency: 904.5, SNR: 8.0 2022-04-20 10:39:46.986 6 [info] <0.18599.3>@miner_onion_handler:handle_info:{78,5} client sending data: <<88,97,0,95,51,75,96,48,55,88,169,216,169,59,155,91,84,27,101,144,222,50,191,238,129,5,242,246,51,9,175,81,117,119,125,12,190,161,159,67,43,230>> 2022-04-20 10:38:26.727 6 [info] <0.18139.3>@miner_poc_handler:handle_info:{74,5} client sending data: <<18,176,1,10,33,0,91,201,202,239,192,146,18,6,204,232,16,247,144,158,17,3,119,178,7,46,6,208,91,136,91,166,88,20,132,147,172,241,16,147,204,128,152,146,145,229,243,22,24,207,1,34,32,156,44,64,154,241,221,30,159,56,151,102,126,100,72,255,64,62,234,148,90,46,80,153,192,101,66,202,175,231,80,14,115,42,70,48,68,2,32,37,252,115,140,61,65,216,123,56,228,153,16,120,146,213,165,176,88,161,82,175,106,114,65,31,66,228,198,157,161,242,48,2,32,15,88,160,70,122,252,37,105,194,170,183,172,106,118,237,27,52,22,146,138,130,211,44,194,216,198,155,141,104,198,25,122,53,154,153,249,64,61,51,19,98,68,64,2,74,8,83,70,57,66,87,49,50,53>> 2022-04-20 10:38:26.724 6 [info] <0.18128.3>@miner_onion_server:send_witness:{251,37} successfully sent witness to challenger "/p2p/112rNLaCK9tDTJxQsZUCEghJRQK2K9gt8AxNpNSaDWuv6NbEBQTg" with RSSI: -104, Frequency: 904.3, SNR: 7.8 2022-04-20 10:38:25.173 6 [info] <0.18128.3>@miner_onion_server:send_witness:{188,13} sending witness at RSSI: -104, Frequency: 904.3, SNR: 7.8 2022-04-20 10:38:25.173 6 [info] <0.2872.0>@miner_onion_server:decrypt:{372,13} could not decrypt packet received via radio: treating as a witness 2022-04-20 10:38:25.173 6 [info] <0.2872.0>@miner_onion_server:decrypt:{362,13} sending witness at RSSI: -104, Frequency: 904.3, SNR: 7.8 2022-04-20 10:24:32.951 6 [info] <0.15274.3>@miner_poc_handler:handle_info:{74,5} client sending data: <<18,178,1,10,33,0,91,201,202,239,192,146,18,6,204,232,16,247,144,158,17,3,119,178,7,46,6,208,91,136,91,166,88,20,132,147,172,241,16,131,141,210,183,243,248,228,243,22,24,201,1,34,32,3,90,145,155,252,23,108,197,123,113,167,90,43,248,55,223,195,88,168,238,172,107,76,193,8,74,190,23,181,143,44,174,42,72,48,70,2,33,0,171,65,134,25,143,228,210,155,56,165,115,200,114,160,35,53,197,6,97,197,131,105,21,119,62,33,165,63,149,216,0,169,2,33,0,255,223,38,117,250,241,157,198,107,214,48,232,123,40,223,61,186,90,0,60,90,156,112,4,246,41,137,153,152,126,226,201,53,0,0,208,64,61,154,57,98,68,64,5,74,8,83,70,57,66,87,49,50,53>> 2022-04-20 10:24:32.951 6 [info] <0.15263.3>@miner_onion_server:send_witness:{251,37} successfully sent witness to challenger "/p2p/11kSNSwmNTrMyKgBjmTK3dfAX69Nm5LCX46512ifG1nhG5oWbkW" with RSSI: -101, Frequency: 904.9, SNR: 6.5 2022-04-20 10:24:32.285 6 [info] <0.15263.3>@miner_onion_server:send_witness:{188,13} sending witness at RSSI: -101, Frequency: 904.9, SNR: 6.5 2022-04-20 10:24:32.284 6 [info] <0.2872.0>@miner_onion_server:decrypt:{372,13} could not decrypt packet received via radio: treating as a witness 2022-04-20 10:24:32.284 6 [info] <0.2872.0>@miner_onion_server:decrypt:{362,13} sending witness at RSSI: -101, Frequency: 904.9, SNR: 6.5 2022-04-20 09:50:11.572 6 [info] <0.8782.3>@miner_poc_handler:handle_info:{74,5} client sending data: <<18,177,1,10,33,0,91,201,202,239,192,146,18,6,204,232,16,247,144,158,17,3,119,178,7,46,6,208,91,136,91,166,88,20,132,147,172,241,16,185,188,163,139,244,188,228,243,22,24,223,1,34,32,243,247,162,199,37,252,177,216,117,207,48,175,169,185,113,154,3,194,81,13,226,142,81,84,86,37,225,98,90,116,117,203,42,71,48,69,2,33,0,154,112,248,4,61,133,192,76,111,169,155,122,143,62,225,50,62,164,146,63,8,136,53,132,227,201,197,70,191,26,169,137,2,32,125,150,244,216,152,59,238,120,170,188,81,1,160,172,19,72,179,230,98,42,136,83,17,235,224,62,213,153,217,140,51,75,53,102,102,230,63,61,51,83,98,68,64,7,74,8,83,70,57,66,87,49,50,53>> 2022-04-20 09:50:11.572 6 [info] <0.8771.3>@miner_onion_server:send_witness:{251,37} successfully sent witness to challenger "/p2p/112epkoMr8iczRuHLE9LAkRKYCwhUESUGFTEAi9EtzMzKZopDy6n" with RSSI: -112, Frequency: 905.3, SNR: 1.8 2022-04-20 09:50:10.877 6 [info] <0.8771.3>@miner_onion_server:send_witness:{188,13} sending witness at RSSI: -112, Frequency: 905.3, SNR: 1.8 2022-04-20 09:50:10.875 6 [info] <0.2872.0>@miner_onion_server:decrypt:{372,13} could not decrypt packet received via radio: treating as a witness 2022-04-20 09:50:10.875 6 [info] <0.2872.0>@miner_onion_server:decrypt:{362,13} sending witness at RSSI: -112, Frequency: 905.3, SNR: 1.8 2022-04-20 09:49:45.609 6 [info] <0.8761.3>@miner_poc_handler:handle_info:{74,5} client sending data: <<18,177,1,10,33,0,91,201,202,239,192,146,18,6,204,232,16,247,144,158,17,3,119,178,7,46,6,208,91,136,91,166,88,20,132,147,172,241,16,183,132,210,134,221,186,228,243,22,24,221,1,34,32,153,98,80,2,185,0,197,121,180,105,151,38,186,111,70,57,76,149,183,162,98,96,229,86,118,30,205,222,43,219,82,132,42,71,48,69,2,33,0,183,189,0,125,161,12,77,83,110,13,9,160,192,208,172,168,199,88,80,155,217,37,140,141,132,196,103,249,29,164,157,139,2,32,80,217,92,157,174,90,63,51,159,195,93,199,202,70,113,213,22,95,202,190,197,11,12,51,225,52,50,119,244,49,154,58,53,0,0,0,64,61,154,57,98,68,64,5,74,8,83,70,57,66,87,49,50,53>> 2022-04-20 09:49:45.608 6 [info] <0.8599.3>@miner_onion_server:send_witness:{251,37} successfully sent witness to challenger "/p2p/11JJ8haGY184JmSwRYPRT3w4qYPALA9PvXC9ta6msD5rRrLYCcx" with RSSI: -111, Frequency: 904.9, SNR: 2.0 2022-04-20 09:49:42.550 6 [info] <0.8599.3>@miner_onion_server:send_witness:{246,37} re-sending witness at RSSI: -111, Frequency: 904.9, SNR: 2.0 2022-04-20 09:49:12.549 6 [warning] <0.8599.3>@miner_onion_server:send_witness:{243,37} failed to dial challenger "/p2p/11JJ8haGY184JmSwRYPRT3w4qYPALA9PvXC9ta6msD5rRrLYCcx": [{"/p2p/11D8wUT38n8ZBJtHTPV7gGvnRpm6x8vkZxdM7ZqsLUK2aVPT3iP/p2p-circuit/p2p/11JJ8haGY184JmSwRYPRT3w4qYPALA9PvXC9ta6msD5rRrLYCcx",timeout_relay_session}] 2022-04-20 09:48:55.973 6 [info] <0.8599.3>@miner_onion_server:send_witness:{188,13} sending witness at RSSI: -111, Frequency: 904.9, SNR: 2.0 2022-04-20 09:48:55.972 6 [info] <0.2872.0>@miner_onion_server:decrypt:{372,13} could not decrypt packet received via radio: treating as a witness 2022-04-20 09:48:55.972 6 [info] <0.2872.0>@miner_onion_server:decrypt:{362,13} sending witness at RSSI: -111, Frequency: 904.9, SNR: 2.0 2022-04-20 09:40:33.366 6 [info] <0.7190.3>@miner_poc_handler:handle_info:{74,5} client sending data: <<18,176,1,10,33,0,91,201,202,239,192,146,18,6,204,232,16,247,144,158,17,3,119,178,7,46,6,208,91,136,91,166,88,20,132,147,172,241,16,129,163,250,178,138,172,228,243,22,24,241,1,34,32,17,195,149,30,241,210,68,110,18,93,113,26,79,208,244,170,209,104,172,31,171,122,69,130,232,123,99,142,78,90,11,194,42,72,48,70,2,33,0,143,250,49,139,43,188,179,16,54,198,80,86,206,129,193,153,224,192,206,114,71,112,157,145,222,22,113,243,255,62,206,151,2,33,0,195,20,92,118,37,103,108,158,171,173,33,10,118,175,123,175,254,112,120,87,109,31,68,134,104,255,136,119,58,231,185,226,53,102,102,134,192,61,154,249,97,68,74,8,83,70,57,66,87,49,50,53>> 2022-04-20 09:40:33.365 6 [info] <0.7179.3>@miner_onion_server:send_witness:{251,37} successfully sent witness to challenger "/p2p/11NVmq67j62qjfUq1yjXAJPmQrzQjxeGFzG6QsbnCZLYzFQhipS" with RSSI: -121, Frequency: 903.9, SNR: -4.2 2022-04-20 09:40:32.749 6 [info] <0.7179.3>@miner_onion_server:send_witness:{188,13} sending witness at RSSI: -121, Frequency: 903.9, SNR: -4.2

Oggy6868 commented 2 years ago

Okay thanks

tmabile1 @.***> schrieb am Mi., 20. Apr. 2022, 13:53:

Yes, try that then check your witness logs. Let me know if that helps

— Reply to this email directly, view it on GitHub https://github.com/helium/miner/issues/1306#issuecomment-1103844513, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYMKXRL356V6EAYX2E3LNETVF7V4RANCNFSM5KMBY6RQ . You are receiving this because you commented.Message ID: @.***>

tmabile1 commented 2 years ago

I have an 8.8dbi antenna that was giving me the same issue. I dropped it down to 8.6 and BINGO, I started getting successful witnesses.

sipidik commented 2 years ago

I face with very low witness rate, do you think I need to try increase max_inbound_connections? Panther x2

Screen Shot 2022-04-21 at 12 18 26
meowshka commented 2 years ago

@siberiatrix I'm sorry it took a while to get back to you. Please make sure you have the latest firmware installed on your hotspot. If you have modified the configuration file, you might not be getting the latest updates automatically. Please reach out to the manufacturer of your hotspot to reset it to its default OEM settings.

tmabile1 commented 2 years ago

If you have a 5.8dbi antenna change it to 5.6dbi if your miner allows it.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Oggy6868 @.> Sent: Tuesday, April 19, 2022 9:41:57 PM To: helium/miner @.> Cc: tmabile1 @.>; Comment @.> Subject: Re: [helium/miner] failed to send witness (Issue #1306)

What do you mean with > gain by .2 in the app

tmabile1 @.***> schrieb am Mi., 20. Apr. 2022, 04:25:

Can try lowering your antenna gain by .2 in the app and reassert your location to see if that helps

— Reply to this email directly, view it on GitHub https://github.com/helium/miner/issues/1306#issuecomment-1103395681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYMKXROHPUF23YKI6OCIVBLVF5TJHANCNFSM5KMBY6RQ . You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhelium%2Fminer%2Fissues%2F1306%23issuecomment-1103412194&data=05%7C01%7C%7Ca156a8cf34404c99636f08da22775682%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637860193193161706%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aNXBiztmQg9OlylVrWL4MAYw64RBRyvvzAD7wCc8eNA%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAYZP3P3LB66AWQYV4QV7WE3VF5VHLANCNFSM5KMBY6RQ&data=05%7C01%7C%7Ca156a8cf34404c99636f08da22775682%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637860193193161706%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=MBrptZVkQEn%2FYtYFMdCNdbYemF6uf9wbMoJJ2iqaLfE%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>