playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.43k stars 953 forks source link

Insecure connection not allowed error [bug] #3271

Open sensorbtf opened 7 months ago

sensorbtf commented 7 months ago

Hi,

during implementation of newest version of GPGS I get this error (info from console underneath). Is it a problem?

Job failed with exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Insecure connection not allowed at (wrapper managed-to-native) UnityEngine.Networking.UnityWebRequest.BeginWebRequest(UnityEngine.Networking.UnityWebRequest) at UnityEngine.Networking.UnityWebRequest.SendWebRequest () [0x00001] in <1ed9028a981141979c554601915576ad>:0 at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&) at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <07ba9f98d9794cf19aca0392570e5637>:0 --- End of inner exception stack trace --- at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <07ba9f98d9794cf19aca0392570e5637>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <07ba9f98d9794cf19aca0392570e5637>:0 at Google.PortableWebRequest.StartRequest (Google.PortableWebRequest+HttpMethod method, System.String url, System.Collections.Generic.IDictionary`2[TKey,TValue] headers, UnityEngine.WWWForm form) [0x0019e] in /Users/chkuang/Workspace/git/unity-jar-resolver/source/VersionHandlerImpl/src/PortableWebRequest.cs:508 at Google.PortableWebRequest+cAnonStorey6.<>mC () [0x00000] in /Users/chkuang/Workspace/git/unity-jar-resolver/source/VersionHandlerImpl/src/PortableWebRequest.cs:458 at Google.RunOnMainThread.ExecuteNext () [0x0003d] in /Users/chkuang/Workspace/git/unity-jar-resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:486 0x00007ffcf86bea5d (Unity) StackWalker::GetCurrentCallstack 0x00007ffcf86c3a23 (Unity) StackWalker::ShowCallstack 0x00007ffcf966b0dd (Unity) GetStacktrace 0x00007ffcf9d73d66 (Unity) DebugStringToFile 0x00007ffcf7807e97 (Unity) DebugLogHandler_CUSTOM_Internal_Log_Injected 0x000001efaae561ea (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log_Injected (UnityEngine.LogType,UnityEngine.LogOption,string,intptr) 0x000001efaae5608b (Mono JIT Code) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object) 0x000001efaae559fb (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) 0x000001efaae54f1e (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object) 0x000001effac2f25a (Mono JIT Code) UnityEngine.Debug:LogError (object) 0x000001eff8086793 (Mono JIT Code) Google.RunOnMainThread:ExecuteNext () (at /Users/chkuang/Workspace/git/unity-jar-resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:488) 0x000001eff8085de3 (Mono JIT Code) Google.RunOnMainThread:m__12 () (at /Users/chkuang/Workspace/git/unity-jar-resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:536) 0x000001eff8085abc (Mono JIT Code) Google.RunOnMainThread:RunAction (System.Action) (at /Users/chkuang/Workspace/git/unity-jar-resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:343) 0x000001eff80857db (Mono JIT Code) Google.RunOnMainThread:ExecuteAllUnnested (bool) (at /Users/chkuang/Workspace/git/unity-jar-resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:550) 0x000001effabb9cab (Mono JIT Code) Google.RunOnMainThread:ExecuteAll () (at /Users/chkuang/Workspace/git/unity-jar-resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:513) 0x000001effaba9ac8 (Mono JIT Code) UnityEditor.EditorApplication:Internal_CallUpdateFunctions () 0x000001efaa1ba785 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) 0x00007ffd13935f2e (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445) 0x00007ffd13877a54 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066) 0x00007ffd13877b40 (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113) 0x00007ffcf85e20a4 (Unity) scripting_method_invoke 0x00007ffcf85c0044 (Unity) ScriptingInvocation::Invoke 0x00007ffcf85bb015 (Unity) ScriptingInvocation::Invoke 0x00007ffcf870054b (Unity) Scripting::UnityEditor::EditorApplicationProxy::Internal_CallUpdateFunctions 0x00007ffcf90ecb27 (Unity) SceneTracker::Update 0x00007ffcf9209cb4 (Unity) Application::TickTimer 0x00007ffcf9671c2a (Unity) MainMessageLoop 0x00007ffcf96774e6 (Unity) UnityMain 0x00007ff7fa9829fa (Unity) __scrt_common_main_seh 0x00007ffd9115257d (KERNEL32) BaseThreadInitThunk 0x00007ffd926eaa78 (ntdll) RtlUserThreadStart