Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved Network Error: Request timeout (just started today)

Discussion in 'Authentication' started by Bunzaga, Nov 20, 2021.

  1. Bunzaga

    Bunzaga

    Joined:
    Jan 9, 2009
    Posts:
    202
    I was able to get authentication working for both Steam, and GPG, and it has been working great (although I don't know where to see the list of my players in the dashboard). Then tonight, I hit Play in the editor, and now I'm getting a request timeout error:

    Curl error 28: Operation timed out after 10000 milliseconds with 0 bytes received

    [Authentication]: Request completed with error: Request timeout
    UnityEngine.Logger:LogWarning (string,object)
    Unity.Services.Authentication.Utilities.Logger:LogWarning (object) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/Logger.cs:16)
    Unity.Services.Authentication.Utilities.WebRequest`1<Unity.Services.Authentication.Models.SignInResponse>:RequestCompleted (long,bool,bool,string,string,System.Collections.Generic.IDictionary`2<string, string>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:198)
    Unity.Services.Authentication.Utilities.WebRequest`1<Unity.Services.Authentication.Models.SignInResponse>:RequestCompleted (UnityEngine.AsyncOperation) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:151)
    UnityEngine.AsyncOperation:InvokeCompletionEvent ()

    [Authentication]: Request failed: 0, Request timeout
    UnityEngine.Logger:LogError (string,object)
    Unity.Services.Authentication.Utilities.Logger:LogError (object) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/Logger.cs:17)
    Unity.Services.Authentication.AuthenticationServiceInternal:HandleServerError<Unity.Services.Authentication.Models.SignInResponse> (Unity.Services.Authentication.AuthenticationAsyncOperation,Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:600)
    Unity.Services.Authentication.AuthenticationServiceInternal:SignInResponseReceived (Unity.Services.Authentication.AuthenticationAsyncOperation,Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:351)
    Unity.Services.Authentication.AuthenticationServiceInternal/<>c__DisplayClass66_0:<StartSigningIn>b__1 (Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:326)
    Unity.Services.Authentication.Utilities.WebRequest`1<Unity.Services.Authentication.Models.SignInResponse>:RequestCompleted (long,bool,bool,string,string,System.Collections.Generic.IDictionary`2<string, string>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:227)
    Unity.Services.Authentication.Utilities.WebRequest`1<Unity.Services.Authentication.Models.SignInResponse>:RequestCompleted (UnityEngine.AsyncOperation) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:151)
    UnityEngine.AsyncOperation:InvokeCompletionEvent ()

    Unity.Services.Core.RequestFailedException: Network Error: Request timeout
    UnityEngine.Debug:LogError (object)
    FunZaga.Plugins.Auth.AuthService:SignInFailed (Unity.Services.Core.RequestFailedException) (at Assets/_bootstrap/ZagaCore/Installers/AuthService/AuthService(Steam).cs:57)
    Unity.Services.Authentication.AuthenticationServiceInternal:SendSignInFailedEvent (Unity.Services.Authentication.AuthenticationAsyncOperation) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:645)
    Unity.Services.Authentication.AuthenticationAsyncOperation:Fail (System.Exception) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationAsyncOperation.cs:49)
    Unity.Services.Authentication.AuthenticationAsyncOperation:Fail (int,string,System.Exception) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationAsyncOperation.cs:27)
    Unity.Services.Authentication.AuthenticationServiceInternal:HandleServerError<Unity.Services.Authentication.Models.SignInResponse> (Unity.Services.Authentication.AuthenticationAsyncOperation,Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:604)
    Unity.Services.Authentication.AuthenticationServiceInternal:SignInResponseReceived (Unity.Services.Authentication.AuthenticationAsyncOperation,Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:351)
    Unity.Services.Authentication.AuthenticationServiceInternal/<>c__DisplayClass66_0:<StartSigningIn>b__1 (Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:326)
    Unity.Services.Authentication.Utilities.WebRequest`1<Unity.Services.Authentication.Models.SignInResponse>:RequestCompleted (long,bool,bool,string,string,System.Collections.Generic.IDictionary`2<string, string>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:227)
    Unity.Services.Authentication.Utilities.WebRequest`1<Unity.Services.Authentication.Models.SignInResponse>:RequestCompleted (UnityEngine.AsyncOperation) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:151)
    UnityEngine.AsyncOperation:InvokeCompletionEvent ()

    RequestFailedException: Network Error: Request timeout
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <695d1cc93cca45069c528c15c9fdd749>:0)
    System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <695d1cc93cca45069c528c15c9fdd749>:0)
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <695d1cc93cca45069c528c15c9fdd749>:0)
    System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <695d1cc93cca45069c528c15c9fdd749>:0)
    System.Runtime.CompilerServices.TaskAwaiter.GetResult () (at <695d1cc93cca45069c528c15c9fdd749>:0)
    FunZaga.Plugins.Auth.AuthService+<SignInWithSteamAsync>d__11.MoveNext () (at Assets/_bootstrap/ZagaCore/Installers/AuthService/AuthService(Steam).cs:182)
    UnityEngine.Debug:LogException(Exception)
    FunZaga.Plugins.Auth.<SignInWithSteamAsync>d__11:MoveNext() (at Assets/_bootstrap/ZagaCore/Installers/AuthService/AuthService(Steam).cs:196)
    System.Threading.Tasks.TaskCompletionSource`1:TrySetException(Exception)
    Unity.Services.Core.Internal.<>c__DisplayClass1_0:<AsTask>g__CompleteTask|0(IAsyncOperation) (at Library/PackageCache/com.unity.services.core@1.1.0-pre.9/Runtime/Core.Internal/AsyncOperation/AsyncOperationExtensions.cs:53)
    Unity.Services.Core.Internal.AsyncOperation:Fail(Exception) (at Library/PackageCache/com.unity.services.core@1.1.0-pre.9/Runtime/Core.Internal/AsyncOperation/AsyncOperation.cs:76)
    Unity.Services.Authentication.AuthenticationAsyncOperation:Fail(Exception) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationAsyncOperation.cs:50)
    Unity.Services.Authentication.AuthenticationAsyncOperation:Fail(Int32, String, Exception) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationAsyncOperation.cs:27)
    Unity.Services.Authentication.AuthenticationServiceInternal:HandleServerError(AuthenticationAsyncOperation, IWebRequest`1) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:604)
    Unity.Services.Authentication.AuthenticationServiceInternal:SignInResponseReceived(AuthenticationAsyncOperation, IWebRequest`1) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:351)
    Unity.Services.Authentication.<>c__DisplayClass66_0:<StartSigningIn>b__1(IWebRequest`1) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:326)
    Unity.Services.Authentication.Utilities.WebRequest`1:RequestCompleted(Int64, Boolean, Boolean, String, String, IDictionary`2) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:227)
    Unity.Services.Authentication.Utilities.WebRequest`1:RequestCompleted(AsyncOperation) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:151)
    UnityEngine.AsyncOperation:InvokeCompletionEvent()
     
  2. Bunzaga

    Bunzaga

    Joined:
    Jan 9, 2009
    Posts:
    202
    I restarted Unity, now I'm getting a different list of errors:

    [Authentication]: Request completed with error: {"title":"PERMISSION_DENIED","detail":"invalid token","details":[],"status":401}

    UnityEngine.Logger:LogWarning (string,object)
    Unity.Services.Authentication.Utilities.Logger:LogWarning (object) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/Logger.cs:16)
    Unity.Services.Authentication.Utilities.WebRequest`1<Unity.Services.Authentication.Models.SignInResponse>:RequestCompleted (long,bool,bool,string,string,System.Collections.Generic.IDictionary`2<string, string>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:198)
    Unity.Services.Authentication.Utilities.WebRequest`1<Unity.Services.Authentication.Models.SignInResponse>:RequestCompleted (UnityEngine.AsyncOperation) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:151)
    UnityEngine.AsyncOperation:InvokeCompletionEvent ()

    [Authentication]: Request failed: 401, {"title":"PERMISSION_DENIED","detail":"invalid token","details":[],"status":401}

    UnityEngine.Logger:LogError (string,object)
    Unity.Services.Authentication.Utilities.Logger:LogError (object) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/Logger.cs:17)
    Unity.Services.Authentication.AuthenticationServiceInternal:HandleServerError<Unity.Services.Authentication.Models.SignInResponse> (Unity.Services.Authentication.AuthenticationAsyncOperation,Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:600)
    Unity.Services.Authentication.AuthenticationServiceInternal:SignInResponseReceived (Unity.Services.Authentication.AuthenticationAsyncOperation,Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:351)
    Unity.Services.Authentication.AuthenticationServiceInternal/<>c__DisplayClass66_0:<StartSigningIn>b__1 (Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:326)
    Unity.Services.Authentication.Utilities.WebRequest`1<Unity.Services.Authentication.Models.SignInResponse>:RequestCompleted (long,bool,bool,string,string,System.Collections.Generic.IDictionary`2<string, string>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:227)
    Unity.Services.Authentication.Utilities.WebRequest`1<Unity.Services.Authentication.Models.SignInResponse>:RequestCompleted (UnityEngine.AsyncOperation) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:151)
    UnityEngine.AsyncOperation:InvokeCompletionEvent ()

    [Authentication]: [ErrorCode:10002] Unity.Services.Authentication.AuthenticationException: invalid token
    UnityEngine.Logger:Log (UnityEngine.LogType,string,object)
    Unity.Services.Authentication.Utilities.Logger:LogException (System.Exception) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/Logger.cs:24)
    Unity.Services.Authentication.AuthenticationAsyncOperation:Fail (System.Exception) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationAsyncOperation.cs:47)
    Unity.Services.Authentication.AuthenticationAsyncOperation:Fail (int,string,System.Exception) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationAsyncOperation.cs:27)
    Unity.Services.Authentication.AuthenticationServiceInternal:HandleServerError<Unity.Services.Authentication.Models.SignInResponse> (Unity.Services.Authentication.AuthenticationAsyncOperation,Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:612)
    Unity.Services.Authentication.AuthenticationServiceInternal:SignInResponseReceived (Unity.Services.Authentication.AuthenticationAsyncOperation,Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:351)
    Unity.Services.Authentication.AuthenticationServiceInternal/<>c__DisplayClass66_0:<StartSigningIn>b__1 (Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:326)
    Unity.Services.Authentication.Utilities.WebRequest`1<Unity.Services.Authentication.Models.SignInResponse>:RequestCompleted (long,bool,bool,string,string,System.Collections.Generic.IDictionary`2<string, string>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:227)
    Unity.Services.Authentication.Utilities.WebRequest`1<Unity.Services.Authentication.Models.SignInResponse>:RequestCompleted (UnityEngine.AsyncOperation) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:151)
    UnityEngine.AsyncOperation:InvokeCompletionEvent ()

    Unity.Services.Authentication.AuthenticationException: invalid token
    UnityEngine.Debug:LogError (object)
    FunZaga.Plugins.Auth.AuthService:SignInFailed (Unity.Services.Core.RequestFailedException) (at Assets/_bootstrap/ZagaCore/Installers/AuthService/AuthService(Steam).cs:57)
    Unity.Services.Authentication.AuthenticationServiceInternal:SendSignInFailedEvent (Unity.Services.Authentication.AuthenticationAsyncOperation) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:645)
    Unity.Services.Authentication.AuthenticationAsyncOperation:Fail (System.Exception) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationAsyncOperation.cs:49)
    Unity.Services.Authentication.AuthenticationAsyncOperation:Fail (int,string,System.Exception) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationAsyncOperation.cs:27)
    Unity.Services.Authentication.AuthenticationServiceInternal:HandleServerError<Unity.Services.Authentication.Models.SignInResponse> (Unity.Services.Authentication.AuthenticationAsyncOperation,Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:612)
    Unity.Services.Authentication.AuthenticationServiceInternal:SignInResponseReceived (Unity.Services.Authentication.AuthenticationAsyncOperation,Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:351)
    Unity.Services.Authentication.AuthenticationServiceInternal/<>c__DisplayClass66_0:<StartSigningIn>b__1 (Unity.Services.Authentication.Utilities.IWebRequest`1<Unity.Services.Authentication.Models.SignInResponse>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:326)
    Unity.Services.Authentication.Utilities.WebRequest`1<Unity.Services.Authentication.Models.SignInResponse>:RequestCompleted (long,bool,bool,string,string,System.Collections.Generic.IDictionary`2<string, string>) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:227)
    Unity.Services.Authentication.Utilities.WebRequest`1<Unity.Services.Authentication.Models.SignInResponse>:RequestCompleted (UnityEngine.AsyncOperation) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:151)
    UnityEngine.AsyncOperation:InvokeCompletionEvent ()

    AuthenticationException: invalid token
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <695d1cc93cca45069c528c15c9fdd749>:0)
    System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <695d1cc93cca45069c528c15c9fdd749>:0)
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <695d1cc93cca45069c528c15c9fdd749>:0)
    System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <695d1cc93cca45069c528c15c9fdd749>:0)
    System.Runtime.CompilerServices.TaskAwaiter.GetResult () (at <695d1cc93cca45069c528c15c9fdd749>:0)
    FunZaga.Plugins.Auth.AuthService+<SignInWithSteamAsync>d__11.MoveNext () (at Assets/_bootstrap/ZagaCore/Installers/AuthService/AuthService(Steam).cs:182)
    UnityEngine.Debug:LogException(Exception)
    FunZaga.Plugins.Auth.<SignInWithSteamAsync>d__11:MoveNext() (at Assets/_bootstrap/ZagaCore/Installers/AuthService/AuthService(Steam).cs:189)
    System.Threading.Tasks.TaskCompletionSource`1:TrySetException(Exception)
    Unity.Services.Core.Internal.<>c__DisplayClass1_0:<AsTask>g__CompleteTask|0(IAsyncOperation) (at Library/PackageCache/com.unity.services.core@1.1.0-pre.9/Runtime/Core.Internal/AsyncOperation/AsyncOperationExtensions.cs:53)
    Unity.Services.Core.Internal.AsyncOperation:Fail(Exception) (at Library/PackageCache/com.unity.services.core@1.1.0-pre.9/Runtime/Core.Internal/AsyncOperation/AsyncOperation.cs:76)
    Unity.Services.Authentication.AuthenticationAsyncOperation:Fail(Exception) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationAsyncOperation.cs:50)
    Unity.Services.Authentication.AuthenticationAsyncOperation:Fail(Int32, String, Exception) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationAsyncOperation.cs:27)
    Unity.Services.Authentication.AuthenticationServiceInternal:HandleServerError(AuthenticationAsyncOperation, IWebRequest`1) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:612)
    Unity.Services.Authentication.AuthenticationServiceInternal:SignInResponseReceived(AuthenticationAsyncOperation, IWebRequest`1) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:351)
    Unity.Services.Authentication.<>c__DisplayClass66_0:<StartSigningIn>b__1(IWebRequest`1) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/AuthenticationServiceInternal.cs:326)
    Unity.Services.Authentication.Utilities.WebRequest`1:RequestCompleted(Int64, Boolean, Boolean, String, String, IDictionary`2) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:227)
    Unity.Services.Authentication.Utilities.WebRequest`1:RequestCompleted(AsyncOperation) (at Library/PackageCache/com.unity.services.authentication@1.0.0-pre.6/Runtime/Utilities/WebRequest.cs:151)
    UnityEngine.AsyncOperation:InvokeCompletionEvent()
     
  3. Bunzaga

    Bunzaga

    Joined:
    Jan 9, 2009
    Posts:
    202
    And now, it is suddenly working just fine....