LorenEteval / Furious

A GUI proxy client based on PySide6. Support Xray-core & hysteria
GNU General Public License v3.0
959 stars 86 forks source link

Custom Routing Issue - Windows 0.4.7 #103

Closed alexsammers1 closed 1 month ago

alexsammers1 commented 1 month ago

Hey Everybody!

I've just updated the 3X-UI to v2.4.1 and Xray to v24.9.19, and the app no longer works with Custom Routing option enabled. I've tried with previous/current Xray to v1.8.23 - same result. It tries to connect, but then fails.

Log:

[2024-09-24 14:14:02,338] [Furious.QtFramework.CoreProcess] [INFO] Xray-core 1.8.23 started
[2024-09-24 14:14:04,849] [Furious.QtFramework.CoreProcess] [ERROR] Xray-core stopped unexpectedly with exitcode 23
[2024-09-24 14:14:04,850] [Furious.Core.CoreManager] [ERROR] core Xray-core start failed
[2024-09-24 14:14:04,856] [Furious.Utility.SystemProxy] [INFO] turn off proxy success
[2024-09-24 14:14:10,944] [Furious.QtFramework.QtGui] [INFO] action is 'Copy'. Checked is False

If you choose any other option, e.g. Global Routing - no issues, connected successfully.

[2024-09-24 14:18:56,922] [Furious.Core.CoreManager] [INFO] RoutingObject: {}
[2024-09-24 14:18:56,927] [Furious.QtFramework.CoreProcess] [INFO] Xray-core 1.8.23 started
[2024-09-24 14:18:59,451] [Furious.Utility.SystemProxy] [INFO] set proxy server 127.0.0.1:10809 success
[2024-09-24 14:19:02,011] [Furious.QtFramework.NetworkStateManager] [INFO] connection test success
[2024-09-24 14:19:07,081] [Furious.QtFramework.NetworkStateManager] [INFO] connection test success
[2024-09-24 14:19:10,715] [Furious.QtFramework.QtGui] [INFO] action is 'Copy'. Checked is False

What could be the issue here? Do I need to revert the 3X-UI to a previous version, or does something need to be updated in the app?

alexsammers1 commented 1 month ago

Quick Note - the Custom Routing stops the server from connecting, if you have any routing rules added to the file. Custom Routing

If it's blank/default option - works fine. Empty Routing

It seems like the app stopped recognizing the routing rules, even if they're added correctly - in my case, copied directly from 3X-UI Panel.

alexsammers1 commented 1 month ago

Update - found the issue. As soon as you add the Routing Rule with geosite, it stops connecting with the error above, e.g.

   {
        "type": "field",
        "outboundTag": "direct",
        "domain": [
          "geosite:category-ru",
          "regexp:.*\\.ru$"
        ]
      }
    ]
  }

Solution - remove geosite and just leave regexp, e.g.

 {
        "type": "field",
        "outboundTag": "direct",
        "domain": [
          "regexp:.*\\.ru$"
        ]
      }
    ]
  }
LorenEteval commented 1 month ago

[2024-09-24 14:14:04,849] [Furious.QtFramework.CoreProcess] [ERROR] Xray-core stopped unexpectedly with exitcode 23

Hi. If Xray-core exited with code 23 it means that the configuration is invalid. It can happen if the geo asset file is not found, bad config, etc.

alexsammers1 commented 1 month ago

Roger - thank you 🤝