dyhkwong / Exclave

A fork of SagerNet powered by V2Ray and its derivatives
https://t.me/exclavian
Other
609 stars 38 forks source link

两个问题:TUIC、TUIC5缺少“允许不安全的连接”;订阅内容过长时提示错误 #96

Closed X-Z-GitHub closed 2 months ago

X-Z-GitHub commented 2 months ago

提交问题之前,请确保您使用的是最新版本。


描述问题

  1. TUIC、TUIC5 协议没有“允许不安全的连接”选项。造成这种格式的节点“tuic://...&allow_insecure=1...”被导入后是不可用的。
  2. 订阅获取的内容或者从文件导入的内容过长时,提示“IndexOutOfBoundsException”,导入会失败。我测试的情况是500KB、10000行的内容。
dyhkwong commented 2 months ago

1、TUIC/TUIC5 是直接用的原始 TUIC 作为插件,但是 TUIC 本身不支持“允许不安全的连接”,所以支持不了。 2、提供脱敏后的订阅以及日志。

X-Z-GitHub commented 2 months ago

1、TUIC/TUIC5 是直接用的原始 TUIC 作为插件,但是 TUIC 本身不支持“允许不安全的连接”,所以支持不了。 2、提供脱敏后的订阅以及日志或者私聊 https://t.me/dyhkwong

  1. 我查了一下,明白了。sing-box和mihomo重新实现了tuic,它们可能加了一些新东西。
  2. 从文件导入后,没有什么日志内容。 测试.txt
dyhkwong commented 2 months ago

c249a8d

https://bitbucket.org/snakeyaml/snakeyaml/issues/1098

09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2: java.lang.IndexOutOfBoundsException
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at java.io.StringReader.read(StringReader.java:94)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.reader.StreamReader.update(SourceFile:43)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(SourceFile:3)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.reader.StreamReader.peek(SourceFile:2)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(SourceFile:46)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(SourceFile:15)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(SourceFile:7)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntryValue.produce(SourceFile:13)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntryKey.produce(SourceFile:77)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(SourceFile:9)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.comments.CommentEventsCollector$1.peek(SourceFile:2)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.comments.CommentEventsCollector$1.peek(SourceFile:1)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.comments.CommentEventsCollector.collectEvents(SourceFile:4)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.comments.CommentEventsCollector.collectEvents(SourceFile:1)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.composer.Composer.composeScalarNode(SourceFile:128)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.composer.Composer.composeNode(SourceFile:169)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(SourceFile:154)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.composer.Composer.composeNode(SourceFile:184)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.composer.Composer.composeValueNode(SourceFile:1)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(SourceFile:21)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(SourceFile:154)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.composer.Composer.composeNode(SourceFile:189)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.composer.Composer.getNode(SourceFile:59)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.composer.Composer.getSingleNode(SourceFile:17)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(SourceFile:3)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.Yaml.loadFromReader(SourceFile:24)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at org.yaml.snakeyaml.Yaml.loadAs(SourceFile:2)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at io.nekohasekai.sagernet.group.RawUpdater.parseRaw(SourceFile:65)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at io.nekohasekai.sagernet.group.RawUpdater.doUpdate(SourceFile:17)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at io.nekohasekai.sagernet.group.GroupUpdater$Companion$executeUpdate$2.invokeSuspend(SourceFile:320)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at kotlinx.coroutines.DispatchedTask.run(SourceFile:107)
09-20 21:16:25.302 18754 18846 W GroupUpdater$Companion$executeUpdate$2:    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:127)