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

http links doesn't work #11

Open
Reuniko opened this issue Sep 25, 2024 · 1 comment
Open

http links doesn't work #11

Reuniko opened this issue Sep 25, 2024 · 1 comment

Comments

@Reuniko
Copy link

Reuniko commented Sep 25, 2024

I use my own web server via http (not https) protocol to watch movies,
while USharpVideo accepts links like http://.../video/Deca-Dence/%5bHorribleSubs%5d%20Deca-Dence%20-%2001%20%5b720p%5d.mkv
USharpVideoSubtitles throws an error for links like http://.../video/Deca-Dence/%5bHorribleSubs%5d%20Deca-Dence%20-%2001%20%5b720p%5d.ass

InvalidOperationException: Insecure connection not allowed UnityEngine.Networking.UnityWebRequest.SendWebRequest () (at <87b3274d0f3f44a8b2eda26428f9024a>:0) VRC.SDK3.StringLoading.VRCStringDownload.StartAtCorrectTime (System.Threading.CancellationToken cancellationToken) (at <f810a23416cf490ab7988797eeaacde8>:0) Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask1[TStateMachine].GetResult (System.Int16 token) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/CompilerServices/StateMachineRunner.cs:218)
Cysharp.Threading.Tasks.UniTaskExtensions+<>c.b__16_0 (System.Object state) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTaskExtensions.cs:572)
UnityEngine.Debug:LogException(Exception)
Cysharp.Threading.Tasks.UniTaskScheduler:PublishUnobservedTaskException(Exception) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTaskScheduler.cs:90)
Cysharp.Threading.Tasks.<>c:b__16_0(Object) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTaskExtensions.cs:576)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore1:TrySetException(Exception) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTaskCompletionSource.cs:167) Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask1:SetException(Exception) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/CompilerServices/StateMachineRunner.cs:210)
VRC.SDK3.StringLoading.d__33:MoveNext()
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask1:Run() (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/CompilerServices/StateMachineRunner.cs:189) Cysharp.Threading.Tasks.AwaiterActions:Continuation(Object) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTask.cs:21) Cysharp.Threading.Tasks.UniTaskCompletionSourceCore1:TrySetResult(Object) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.WaitWhilePromise:MoveNext() (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTask.WaitUntil.cs:234)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore() (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update() (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run() (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/Internal/PlayerLoopRunner.cs:104)
`

@jacklul
Copy link
Owner

jacklul commented Sep 25, 2024

Looks like this might be related to https://feedback.vrchat.com/bug-reports/p/1346-http-urls-no-longer-work-with-string-loading

So most likely nothing I can do on my side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants