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

Can't dial deal client to retrieve file #850

Closed
lanzafame opened this issue Dec 11, 2019 · 7 comments
Closed

Can't dial deal client to retrieve file #850

lanzafame opened this issue Dec 11, 2019 · 7 comments

Comments

@lanzafame
Copy link
Contributor

I just had the lotus-storage-miner get oom'ed trying to dial a client that just made a storage deal with it to retrieve the file. The client is on the same machine so not sure why it couldn't dial it.

Logs:

2019-12-10T12:40:42.551+1000    INFO    deals   deals/provider.go:272   Handling storage deal proposal!                                                                     
2019-12-10T12:40:42.559+1000    INFO    deals   deals/provider.go:159   incoming deal                                                                                       
2019-12-10T12:40:42.560+1000    INFO    deals   deals/provider.go:180   Deal bafyreieag3ivcwadxbihm6pykzbdxjgodsk4ebcyhzvo3dgmsohy4igjeu updated state to DealAccepted      
2019-12-10T12:41:00.002+1000    INFO    miner   miner/miner.go:173      Time delta between now and our mining base: 30s                                                     
2019-12-10T12:41:00.004+1000    INFO    miner   miner/miner.go:173      Time delta between now and our mining base: 30s                                                     
2019-12-10T12:41:30.002+1000    INFO    miner   miner/miner.go:173      Time delta between now and our mining base: 30s                                                     
2019-12-10T12:41:30.004+1000    INFO    miner   miner/miner.go:173      Time delta between now and our mining base: 30s                                                     
2019-12-10T12:41:34.141+1000    INFO    deals   deals/provider_states.go:94     publishing deal                                                                             
2019-12-10T12:42:00.003+1000    INFO    miner   miner/miner.go:173      Time delta between now and our mining base: 30s                                                     
2019-12-10T12:42:00.005+1000    INFO    miner   miner/miner.go:173      Time delta between now and our mining base: 30s                                                     
2019-12-10T12:42:30.003+1000    INFO    miner   miner/miner.go:173      Time delta between now and our mining base: 30s                                                     
2019-12-10T12:42:30.006+1000    INFO    miner   miner/miner.go:173      Time delta between now and our mining base: 30s                                                     
2019-12-10T12:42:32.741+1000    INFO    deals   deals/provider_states.go:138    fetching data for a deal 112191                                                             
2019-12-10T12:42:32.752+1000    INFO    deals   deals/provider.go:180   Deal bafyreieag3ivcwadxbihm6pykzbdxjgodsk4ebcyhzvo3dgmsohy4igjeu updated state to DealStaged        
2019-12-10T12:42:32.753+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp4 127.0.0.1:38829: connect: connection refused   
2019-12-10T12:42:32.753+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp6 [240e:fe:315b:4d00:6d9:f5ff:fe37:c49c]:40363: c
onnect: network is unreachable                                                                                                                                              
2019-12-10T12:42:32.753+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp4 127.0.0.1:7000: connect: connection refused    
2019-12-10T12:42:32.753+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp4 127.0.0.1:8000: connect: connection refused    
2019-12-10T12:42:32.753+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp4 127.0.0.1:37555: connect: connection refused   
2019-12-10T12:42:32.753+1000    INFO    swarm2  [email protected]/swarm_dial.go:393        got error on dial: dial tcp6 [::1]:46407: connect: connection refused       
2019-12-10T12:42:32.753+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp6 [::1]:40363: connect: connection refused       
2019-12-10T12:42:32.753+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp6 [::1]:39627: connect: connection refused       
2019-12-10T12:42:32.753+1000    INFO    swarm2  [email protected]/swarm_dial.go:393        got error on dial: dial tcp4 127.0.0.1:38283: connect: connection refused   
2019-12-10T12:42:32.753+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp4 127.0.0.1:8000: connect: connection refused    
2019-12-10T12:42:32.755+1000    INFO    storageminer    storage/sectors.go:275  Seal piece for deal 112191                                                                  
2019-12-10T12:42:32.756 INFO filecoin::proofs::api > write_with_alignment: start                                                                                            
2019-12-10T12:42:32.760 INFO filecoin::proofs::api > write_with_alignment: finish                                                                                           
2019-12-10T12:42:32.760+1000    WARN    deals   deals/provider_states.go:212    New Sector: 4 (deal 112191)                                                                 
2019-12-10T12:42:32.760+1000    INFO    deals   deals/provider.go:180   Deal bafyreieag3ivcwadxbihm6pykzbdxjgodsk4ebcyhzvo3dgmsohy4igjeu updated state to DealSealing       
2019-12-10T12:42:32.761+1000    INFO    deals   deals/provider.go:180   Deal bafyreieag3ivcwadxbihm6pykzbdxjgodsk4ebcyhzvo3dgmsohy4igjeu updated state to DealComplete      
2019-12-10T12:42:32.763+1000    INFO    storageminer    storage/sectors.go:166  Sector 4 updated state to Packing 
2019-12-10T12:42:33.433+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp4 61.141.75.93:40538: connect: connection refused
2019-12-10T12:42:33.716+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp4 172.17.0.1:40591: connect: connection refused
2019-12-10T12:42:33.716+1000    INFO    swarm2  [email protected]/swarm_dial.go:393        got error on dial: dial tcp6 [::1]:37279: connect: connection refused
2019-12-10T12:42:33.716+1000    INFO    swarm2  [email protected]/swarm_dial.go:393        got error on dial: dial tcp4 127.0.0.1:40591: connect: connection refused
2019-12-10T12:42:33.761+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp4 192.168.3.2:37555: connect: no route to host
2019-12-10T12:42:34.238+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp4 127.0.0.1:44013: connect: connection refused
2019-12-10T12:42:34.238+1000    INFO    swarm2  [email protected]/swarm_dial.go:393        got error on dial: dial tcp4 192.168.1.56:44013: connect: connection refused
2019-12-10T12:42:34.238+1000    INFO    swarm2  [email protected]/swarm_dial.go:393        got error on dial: dial tcp6 [::1]:44963: connect: connection refused
2019-12-10T12:42:34.405+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp4 127.0.0.1:40621: connect: connection refused
2019-12-10T12:42:34.405+1000    INFO    swarm2  [email protected]/swarm_dial.go:393        got error on dial: dial tcp4 127.0.0.1:35767: connect: connection refused
2019-12-10T12:42:34.405+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp4 127.0.0.1:38353: connect: connection refused
2019-12-10T12:42:34.405+1000    INFO    swarm2  [email protected]/swarm_dial.go:393        got error on dial: dial tcp6 [::1]:35825: connect: connection refused
2019-12-10T12:42:34.405+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp6 [::1]:44409: connect: connection refused
2019-12-10T12:42:34.405+1000    INFO    swarm2  [email protected]/swarm_dial.go:393        got error on dial: dial tcp6 [::1]:35045: connect: connection refused
2019-12-10T12:42:34.405+1000    INFO    swarm2  [email protected]/swarm_dial.go:420        got error on dial: dial tcp4 127.0.0.1:41133: connect: connection refused
@lanzafame
Copy link
Contributor Author

This issue is still occurring on HEAD of testnet-staging

@eee-byte
Copy link

I also encountered the same error

@yanwankun
Copy link

I also encountered the same problem

@ghost
Copy link

ghost commented Dec 12, 2019

I also encountered the same problem,maybe it's libp2p problem,You must have a real public ip,you can't put your dedi in vpc nat network etc.

@whyrusleeping
Copy link
Member

@lanzafame I think the OOM is unrelated (looks like youre also sealing at the same time).

The not being able to dial on the same machine is definitely odd. Needs investigation.

@laser
Copy link
Contributor

laser commented Jun 9, 2020

@lanzafame -

This issue is still occurring on HEAD of testnet-staging

Would you mind pasting the output of:

  • lotus-storage-miner net peers
  • lotus-storage-miner net id
  • lotus net peers (on the shell from which you proposed the storage deal)
  • lotus net id (on the shell from which you proposed the storage deal)

Also: Does this error reproduce consistently (i.e. every time you propose a storage deal from a host which is also running a lotus storage miner)?

@github-actions github-actions bot removed bug labels Jul 29, 2020
@jennijuju
Copy link
Member

Duplicated #2643

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

6 participants