2dust / v2rayN

A GUI client for Windows, support Xray core and v2fly core and others
https://1.2345345.xyz
GNU General Public License v3.0
69.33k stars 11.48k forks source link

[Bug]: Updating subscription fails. #5712

Closed AESTheProgrammer closed 1 month ago

AESTheProgrammer commented 1 month ago

预期情况

I expected that after updating the subscription I would see a number of servers that I can connect to and see their information (port, ip, protocol, and etc.).. image

实际情况

Configs/Servers are not shown correctly.

image

Configuration of one of the servers: Json file which is the configuration of a single server (outbound and inbound info. and etc.) is not parsed.

image

The subscription URL.
image

复现方法

I can not give away the subscription but all I have done was to add the subscription and update it.

日志信息

Error after updating the subscription.

2024-09-19 13:56:45.8821-DEBUG Base64Decode,The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. 2024-09-19 13:56:45.8821-DEBUG at System.Convert.FromBase64_ComputeResultLength(Char inputPtr, Int32 inputLength) at System.Convert.FromBase64CharPtr(Char inputPtr, Int32 inputLength) at System.Convert.FromBase64String(String s) at v2rayN.Utils.Base64Decode(String plainText) 2024-09-19 13:56:45.9936-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.) 2024-09-19 13:56:45.9936-DEBUG 2024-09-19 13:56:45.9936-ERROR System.NullReferenceException: Object reference not set to an instance of an object. 2024-09-19 13:56:45.9936-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.) 2024-09-19 13:56:45.9936-DEBUG

Log after getting real delay test.

2024-09-19 13:57:49.7024-DEBUG ,
2024-09-19 13:57:49.7024-DEBUG at v2rayN.Handler.CoreHandler.RunProcess(ProfileItem node, CoreInfo coreInfo, String configPath, Boolean displayLog)

额外信息

This problem is occurs in v2rayN 6.55 and 6.43 but does not occur in v2rayN 6.39. I downloaded only the v2rayN with core files.
My geofiles are updated.
Available .Net versions: 6.0.25, 7.0.14, and 8.0.8

我确认已更新至最新版本

我确认已查询历史issues

AESTheProgrammer commented 1 month ago

I have gcc installed.

PS> gcc --version
gcc.exe (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.