AzurLaneAutoScript icon indicating copy to clipboard operation
AzurLaneAutoScript copied to clipboard

natcat绑定错误的局域网IP

Open zxc7895531 opened this issue 8 months ago • 0 comments

在提问之前...

  • [X] 我已经搜索了现有的 issues
  • [X] 我在提问题之前至少花费了 5 分钟来思考和准备
  • [X] 我已经阅读了 Wiki 中的 常见问题(FAQ)
  • [X] 我正在使用最新版的 Alas

描述你的问题

在使用网卡级VPN或其他软件时,nc会出现绑定IP错误的情况,导致无法nc回传

如何复现

以我的环境为例 1.启动WireGuard链接 2.启动ALAS并开启任务 3.等待超时并报错

预期行为

No response

相关 Logs

10.1.0.8为WireGuard的IP,正确局域网IP应该为192.168.1.115

错误

INFO     23:10:54.062 │ <<< DETECT DEVICE >>>                                      
INFO     23:10:54.065 │ Here are the available devices, copy to                    
         Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"         
INFO     23:10:54.067 │ 127.0.0.1:62001                                            
INFO     23:10:54.069 │ Connecting to local emulator, using host 10.1.0.8          
INFO     23:10:54.072 │ Reverse server listening on 10.1.0.8:20443, client can send
         data to 10.1.0.8:20443                                                    
WARNING  23:10:59.087 │ b"nc: can't connect to remote host (10.1.0.8): Network is  
         unreachable\n"                                                            
ERROR    23:10:59.089 │ AdbTimeout: reverse server accept timeout

成功

INFO     23:11:23.278 │ <<< DETECT DEVICE >>>                                      
INFO     23:11:23.279 │ Here are the available devices, copy to                    
         Alas.Emulator.Serial to use it or set Alas.Emulator.Serial="auto"         
INFO     23:11:23.281 │ 127.0.0.1:62001                                            
INFO     23:11:23.282 │ Connecting to local emulator, using host 192.168.1.115     
INFO     23:11:23.283 │ Reverse server listening on 192.168.1.115:20498, client can
         send data to 192.168.1.115:20498                                          
INFO     23:11:23.515 │ <<< APP RESTART >>>                                        
INFO     23:11:23.517 │ App stop: com.bilibili.azurlane                            
INFO     23:11:23.557 │ App start: com.bilibili.azurlane   

截图

No response

还有别的吗?

No response

zxc7895531 avatar Jun 13 '24 15:06 zxc7895531