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

[Bug]: 多服务器负载均衡和多服务器最低延迟无法使用 #6429

Closed
2 tasks done
C0cho opened this issue Jan 5, 2025 · 18 comments
Closed
2 tasks done

[Bug]: 多服务器负载均衡和多服务器最低延迟无法使用 #6429

C0cho opened this issue Jan 5, 2025 · 18 comments
Labels
bug Something isn't working

Comments

@C0cho
Copy link

C0cho commented Jan 5, 2025

预期情况

负载均衡

实际情况

无法使用负载均衡

复现方法

有节点信息已删除

日志信息

Custom] [Xray]多服务器负载均衡 (多选)
v2rayN - V7.5.1 - X64 |
启动服务(2025/01/05 10:02:38)...
2025/01/05 10:02:38 from 127.0.0.1:54145 accepted //mtalk.google.com:5228 [socks >> proxy]
2025/01/05 10:02:38 from 127.0.0.1:54146 accepted //mtalk.google.com:5228 [socks >> proxy]
Xray 24.11.30 (Xray, Penetrates Everything.) 98a72b6 (go1.23.3 darwin/amd64)
A unified platform for anti-censorship.
2025/01/05 10:02:38 [Info] infra/conf/serial: Reading config: &{Name:config.json Format:json}
2025/01/05 10:02:38 [Warning] core: Xray 24.11.30 started
2025/01/05 10:02:39 [Warning] [2016189599] app/proxyman/inbound: connection ends > proxy/http: failed to read http request > malformed HTTP request "\x00"
2025/01/05 10:02:39 from tcp:127.0.0.1:54151 accepted tcp:www.google.com:443 [socks >> direct]
2025/01/05 10:02:40 from tcp:127.0.0.1:54169 accepted tcp:gateway-us-east1-c.discord.gg:443 [socks >> direct]
2025/01/05 10:02:40 当前延迟: -1 ms,none
2025/01/05 10:02:43 from tcp:127.0.0.1:54173 accepted tcp:34.107.243.93:443 [socks >> direct]
2025/01/05 10:02:43 from tcp:127.0.0.1:54175 accepted tcp:34.107.243.93:443 [socks >> direct]
2025/01/05 10:02:47 from 127.0.0.1:54182 accepted //www.google.com:443 [socks >> direct]
2025/01/05 10:02:48 from 127.0.0.1:54198 accepted //www.google.com:443 [socks >> direct]
2025/01/05 10:02:49 from 127.0.0.1:54215 accepted //beacons3.gvt2.com:443 [socks -> block]
2025/01/05 10:02:49 from 127.0.0.1:54216 accepted //beacons3.gvt2.com:443 [socks -> block]

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

@C0cho C0cho added the bug Something isn't working label Jan 5, 2025
@LFWQSP2641
Copy link

最低延迟无法使用应该是因为调整路由规则绕过大陆,移除最后一行规则后,被final第一个节点direct兜底了
image

@C0cho
Copy link
Author

C0cho commented Jan 5, 2025

我发每次设置多服务器负载均衡都是这个配置,然后需要手动修改成端口规则
{
"type": "field",
"balancerTag": "proxy-round",
"domain": [
"domain:googleapis.cn",
"domain:gstatic.com"
]
}

@C0cho
Copy link
Author

C0cho commented Jan 5, 2025

最低延迟无法使用和多服务器负载均衡会在后面版本更新吗

2dust added a commit that referenced this issue Jan 5, 2025
@2dust
Copy link
Owner

2dust commented Jan 5, 2025

https://github.com/2dust/v2rayN/actions
下载最后版本,重新产生一次配置,测试

@LFWQSP2641
Copy link

https://github.com/2dust/v2rayN/actions 下载最后版本,重新产生一次配置,测试

崩溃了

Application: v2rayN.exe
CoreCLR Version: 8.0.1124.51707
.NET Version: 8.0.11
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentOutOfRangeException: 参数值必须大于零。 (Parameter 'textRunProperties.FontRenderingEmSize')
   at System.Windows.Media.TextFormatting.TextCharacters..ctor(CharacterBufferReference characterBufferReference, Int32 length, TextRunProperties textRunProperties)
   at System.Windows.Media.TextFormatting.TextCharacters..ctor(String characterString, Int32 offsetToFirstChar, Int32 length, TextRunProperties textRunProperties)
   at MS.Internal.Text.SimpleLine.GetTextRun(Int32 dcp)
   at MS.Internal.TextFormatting.TextRunCacheImp.FetchTextRun(FormatSettings settings, Int32 cpFetch, Int32 cpFirst, Int32& offsetToFirstCp, Int32& runLength)
   at MS.Internal.TextFormatting.FormatSettings.FetchTextRun(Int32 cpFetch, Int32 cpFirst, TextRun& textRun, Int32& runLength)
   at MS.Internal.TextFormatting.SimpleTextLine.Create(FormatSettings settings, Int32 cpFirst, Int32 paragraphWidth, Double pixelsPerDip)
   at MS.Internal.TextFormatting.TextFormatterImp.FormatLineInternal(TextSource textSource, Int32 firstCharIndex, Int32 lineLength, Double paragraphWidth, TextParagraphProperties paragraphProperties, TextLineBreak previousLineBreak, TextRunCache textRunCache)
   at MS.Internal.TextFormatting.TextFormatterImp.FormatLine(TextSource textSource, Int32 firstCharIndex, Double paragraphWidth, TextParagraphProperties paragraphProperties, TextLineBreak previousLineBreak, TextRunCache textRunCache)
   at System.Windows.Controls.TextBlock.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.StackPanel.StackMeasureHelper(IStackMeasure measureElement, IStackMeasureScrollData scrollData, Size constraint)
   at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.WrapPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Primitives.ToolBarPanel.MeasureGeneratedItems(Boolean asNeededPass, Size constraint, Boolean horizontal, Double maxExtent, Size& panelDesiredSize, Double& overflowExtent)
   at System.Windows.Controls.Primitives.ToolBarPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.Controls.ToolBar.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.ToolBarTray.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Decorator.MeasureOverride(Size constraint)
   at System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Window.MeasureOverrideHelper(Size constraint)
   at System.Windows.Window.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Interop.HwndSource.SetLayoutSize()
   at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
   at System.Windows.Window.SetRootVisualAndUpdateSTC()
   at System.Windows.Window.SafeCreateWindowDuringShow()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.Show()
   at v2rayN.Views.MainWindow.ShowHideWindow(Nullable`1 blShow) in /home/runner/work/v2rayN/v2rayN/v2rayN/v2rayN/Views/MainWindow.xaml.cs:line 366
   at v2rayN.Views.MainWindow.<OnProgramStarted>b__4_0() in /home/runner/work/v2rayN/v2rayN/v2rayN/v2rayN/Views/MainWindow.xaml.cs:line 154
   at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
--- End of stack trace from previous location ---
   at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
   at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
   at System.Windows.Threading.Dispatcher.Invoke(Action callback)
   at v2rayN.Views.MainWindow.OnProgramStarted(Object state, Boolean timeout) in /home/runner/work/v2rayN/v2rayN/v2rayN/v2rayN/Views/MainWindow.xaml.cs:line 152
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.RegisteredWaitHandle.PerformCallback(Boolean timedOut)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

@LFWQSP2641
Copy link

guiNConfig.json中的UiItem->CurrentFontSize改为大于零的值就好了

@LFWQSP2641
Copy link

默认是0

@2dust
Copy link
Owner

2dust commented Jan 5, 2025

guiNConfig.json中的UiItem->CurrentFontSize改为大于零的值就好了

反馈的好

@LFWQSP2641
Copy link

https://github.com/2dust/v2rayN/actions 下载最后版本,重新产生一次配置,测试

可以用了

@C0cho
Copy link
Author

C0cho commented Jan 5, 2025

windows和mac都有同样的问题,https://github.com/2dust/v2rayN/actions我该怎么操作?

@2dust
Copy link
Owner

2dust commented Jan 5, 2025

感谢反馈,应该可以了。
业务代码逻辑是一样的,当然所有的平台都会有问题

@C0cho
Copy link
Author

C0cho commented Jan 5, 2025

这个还需要自己去打包吗?我没有环境啊

@2dust
Copy link
Owner

2dust commented Jan 5, 2025

不用,等下发布了

@rzhy1
Copy link

rzhy1 commented Jan 5, 2025

更新之后,字体突然变的很小,guiNConfig.json中的UiItem下默认没有CurrentFontSize,添加了也不行

@wenwinds
Copy link

wenwinds commented Jan 5, 2025

更新之后,字体突然变的很小,guiNConfig.json中的UiItem下默认没有CurrentFontSize,添加了也不行

打开主界面,上右竖三点有字体设置,自己调即可。

@rzhy1
Copy link

rzhy1 commented Jan 5, 2025

更新之后,字体突然变的很小,guiNConfig.json中的UiItem下默认没有CurrentFontSize,添加了也不行

打开主界面,上右竖三点有字体设置,自己调即可。

OK 了

@2dust
Copy link
Owner

2dust commented Jan 5, 2025

字体是在全新打开时有点问题,下一版修复;

@2dust
Copy link
Owner

2dust commented Jan 5, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants