Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Resolved Lobby Service Disabled

Discussion in 'Lobby' started by spinaljack, Aug 4, 2022.

Thread Status:
Not open for further replies.
  1. spinaljack

    spinaljack

    Joined:
    Mar 18, 2010
    Posts:
    942
    upload_2022-8-4_15-18-52.png
    My lobby was working yesterday and today it's disabled itself and I can't press the button to enable it. I've tried on Chrome and Edge.

    I've already entered my payment details and I've sent a support ticket.

    Not a good look for a live game service.

    https://status.cloud.unity3d.com/
    Checking status cloud I can see unity is aware
     
    Last edited: Aug 4, 2022
  2. emilyryan

    emilyryan

    Unity Technologies

    Joined:
    Nov 22, 2019
    Posts:
    129
    Hello! I am sorry to hear you are experiencing problems with Lobby. We are currently investigating this issue and are working as quickly as possible to resolve it. I will keep you posted on this status of this problem. Thank you for your patience and we apologize for the inconvenience.
     
    spinaljack likes this.
  3. emilyryan

    emilyryan

    Unity Technologies

    Joined:
    Nov 22, 2019
    Posts:
    129
    Hello! Thanks for your patience! We believe we have resolved the problem. Are you still experiencing issues?
     
  4. spinaljack

    spinaljack

    Joined:
    Mar 18, 2010
    Posts:
    942
    Lobby service is fixed but I'm still getting frequent errors when using queries or quick joins or create lobbies:
    [Lobby]: Unauthorized, (16401). Message: HTTP/1.1 401 Unauthorized

    This is after signing-in and it works 50% of the time.

    Makes rapid testing difficult.
     
    Last edited: Aug 8, 2022
  5. emilyryan

    emilyryan

    Unity Technologies

    Joined:
    Nov 22, 2019
    Posts:
    129
    Hello! I am sorry to hear you're still experiencing frequent issues! I'm going to reach out to you through a private conversation in the forums to ask a couple of questions about your account. This way I'll be able to ask some information about your account so we can investigate further!
     
  6. emilyryan

    emilyryan

    Unity Technologies

    Joined:
    Nov 22, 2019
    Posts:
    129
    Thank you for providing additional information. We believe this issue has now been resolved, can you let us know if you are still experiencing the intermittent errors? Thanks for your time and cooperation!
     
  7. spinaljack

    spinaljack

    Joined:
    Mar 18, 2010
    Posts:
    942
    Hi,
    I'm still getting unauthorized errors. It works a few times then gets stuck on this error:

    Restarting the editor fixes it but obviously I don't want to be restarting the editor each time I press play.

    Code (CSharp):
    1. [Lobby]: Unauthorized, (16401). Message: HTTP/1.1 401 Unauthorized
    2. UnityEngine.Logger:LogError (string,object)
    3. Unity.Services.Lobbies.Logger:LogError (object) (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/Utils/Logger.cs:17)
    4. Unity.Services.Lobbies.Internal.WrappedLobbyService:ResolveErrorWrapping (Unity.Services.Lobbies.LobbyExceptionReason,System.Exception) (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/SDK/WrappedLobbyService.cs:410)
    5. Unity.Services.Lobbies.Internal.WrappedLobbyService/<TryCatchRequest>d__19`2<Unity.Services.Lobbies.Lobby.QuickJoinLobbyRequest, Unity.Services.Lobbies.Models.Lobby>:MoveNext () (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/SDK/WrappedLobbyService.cs:379)
    6. System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Unity.Services.Lobbies.Response`1<Unity.Services.Lobbies.Models.Lobby>>:SetException (System.Exception)
    7. Unity.Services.Lobbies.Apis.Lobby.LobbyApiClient/<QuickJoinLobbyAsync>d__14:MoveNext () (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/Apis/LobbyApi.cs:451)
    8. System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Unity.Services.Lobbies.Http.HttpClientResponse>:SetResult (Unity.Services.Lobbies.Http.HttpClientResponse)
    9. Unity.Services.Lobbies.Http.HttpClient/<MakeRequestAsync>d__3:MoveNext () (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/Http/HttpClient.cs:47)
    10. System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Unity.Services.Lobbies.Http.HttpClientResponse>:SetResult (Unity.Services.Lobbies.Http.HttpClientResponse)
    11. Unity.Services.Lobbies.Http.HttpClient/<CreateWebRequestAsync>d__7:MoveNext () (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/Http/HttpClient.cs:138)
    12. System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Unity.Services.Lobbies.Http.HttpClientResponse>:SetResult (Unity.Services.Lobbies.Http.HttpClientResponse)
    13. Unity.Services.Lobbies.Http.HttpClient/<>c__DisplayClass7_0/<<CreateWebRequestAsync>b__0>d:MoveNext () (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/Http/HttpClient.cs:135)
    14. System.Threading.Tasks.TaskCompletionSource`1<Unity.Services.Lobbies.Http.HttpClientResponse>:SetResult (Unity.Services.Lobbies.Http.HttpClientResponse)
    15. Unity.Services.Lobbies.Http.UnityWebRequestHelpers/<>c__DisplayClass0_0:<GetAwaiter>b__0 (UnityEngine.AsyncOperation) (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/Http/UnityWebRequestHelpers.cs:34)
    16. UnityEngine.AsyncOperation:InvokeCompletionEvent ()
    Code (CSharp):
    1. Unity.Services.Lobbies.LobbyServiceException: HTTP/1.1 401 Unauthorized ---> Unity.Services.Lobbies.Http.HttpException: HTTP/1.1 401 Unauthorized
    2.   at Unity.Services.Lobbies.Http.ResponseHandler.HandleAsyncResponse (Unity.Services.Lobbies.Http.HttpClientResponse response, System.Collections.Generic.Dictionary`2[TKey,TValue] statusCodeToTypeMap) [0x00066] in D:\Unity\ChickenHorse\Library\PackageCache\com.unity.services.lobby@1.0.1\Runtime\Http\ResponseHandler.cs:101
    3.   at Unity.Services.Lobbies.Http.ResponseHandler.HandleAsyncResponse[T] (Unity.Services.Lobbies.Http.HttpClientResponse response, System.Collections.Generic.Dictionary`2[TKey,TValue] statusCodeToTypeMap) [0x00000] in D:\Unity\ChickenHorse\Library\PackageCache\com.unity.services.lobby@1.0.1\Runtime\Http\ResponseHandler.cs:186
    4.   at Unity.Services.Lobbies.Apis.Lobby.LobbyApiClient.QuickJoinLobbyAsync (Unity.Services.Lobbies.Lobby.QuickJoinLobbyRequest request, Unity.Services.Lobbies.Configuration operationConfiguration) [0x00173] in D:\Unity\ChickenHorse\Library\PackageCache\com.unity.services.lobby@1.0.1\Runtime\Apis\LobbyApi.cs:450
    5.   at Unity.Services.Lobbies.Internal.WrappedLobbyService.TryCatchRequest[TRequest,TReturn] (System.Func`3[T1,T2,TResult] func, TRequest request) [0x0003f] in D:\Unity\ChickenHorse\Library\PackageCache\com.unity.services.lobby@1.0.1\Runtime\SDK\WrappedLobbyService.cs:352
    6.    --- End of inner exception stack trace ---
    7.   at Unity.Services.Lobbies.Internal.WrappedLobbyService.ResolveErrorWrapping (Unity.Services.Lobbies.LobbyExceptionReason reason, System.Exception exception) [0x000c1] in D:\Unity\ChickenHorse\Library\PackageCache\com.unity.services.lobby@1.0.1\Runtime\SDK\WrappedLobbyService.cs:410
    8.   at Unity.Services.Lobbies.Internal.WrappedLobbyService.TryCatchRequest[TRequest,TReturn] (System.Func`3[T1,T2,TResult] func, TRequest request) [0x00124] in D:\Unity\ChickenHorse\Library\PackageCache\com.unity.services.lobby@1.0.1\Runtime\SDK\WrappedLobbyService.cs:379
    9.   at Unity.Services.Lobbies.Internal.WrappedLobbyService.QuickJoinLobbyAsync (Unity.Services.Lobbies.QuickJoinLobbyOptions options) [0x00074] in D:\Unity\ChickenHorse\Library\PackageCache\com.unity.services.lobby@1.0.1\Runtime\SDK\WrappedLobbyService.cs:196
    10.   at Unity.Services.Lobbies.Internal.WrappedLobbyService.QuickJoinLobbyAsync (Unity.Services.Lobbies.QuickJoinLobbyOptions options) [0x0017e] in D:\Unity\ChickenHorse\Library\PackageCache\com.unity.services.lobby@1.0.1\Runtime\SDK\WrappedLobbyService.cs:210
    11.   at Mechabit.UnityLobby.QuickJoinHub () [0x00074] in D:\Unity\ChickenHorse\Assets\Scripts\UnityLobby.cs:230
    12. UnityEngine.Debug:Log (object)
    13. Mechabit.UnityLobby/<QuickJoinHub>d__21:MoveNext () (at Assets/Scripts/UnityLobby.cs:234)
    14. System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Unity.Services.Lobbies.Models.Lobby>:SetException (System.Exception)
    15. Unity.Services.Lobbies.Internal.WrappedLobbyService/<QuickJoinLobbyAsync>d__11:MoveNext () (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/SDK/WrappedLobbyService.cs:210)
    16. System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Unity.Services.Lobbies.Response`1<Unity.Services.Lobbies.Models.Lobby>>:SetException (System.Exception)
    17. Unity.Services.Lobbies.Internal.WrappedLobbyService/<TryCatchRequest>d__19`2<Unity.Services.Lobbies.Lobby.QuickJoinLobbyRequest, Unity.Services.Lobbies.Models.Lobby>:MoveNext () (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/SDK/WrappedLobbyService.cs:386)
    18. System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Unity.Services.Lobbies.Response`1<Unity.Services.Lobbies.Models.Lobby>>:SetException (System.Exception)
    19. Unity.Services.Lobbies.Apis.Lobby.LobbyApiClient/<QuickJoinLobbyAsync>d__14:MoveNext () (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/Apis/LobbyApi.cs:451)
    20. System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Unity.Services.Lobbies.Http.HttpClientResponse>:SetResult (Unity.Services.Lobbies.Http.HttpClientResponse)
    21. Unity.Services.Lobbies.Http.HttpClient/<MakeRequestAsync>d__3:MoveNext () (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/Http/HttpClient.cs:47)
    22. System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Unity.Services.Lobbies.Http.HttpClientResponse>:SetResult (Unity.Services.Lobbies.Http.HttpClientResponse)
    23. Unity.Services.Lobbies.Http.HttpClient/<CreateWebRequestAsync>d__7:MoveNext () (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/Http/HttpClient.cs:138)
    24. System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Unity.Services.Lobbies.Http.HttpClientResponse>:SetResult (Unity.Services.Lobbies.Http.HttpClientResponse)
    25. Unity.Services.Lobbies.Http.HttpClient/<>c__DisplayClass7_0/<<CreateWebRequestAsync>b__0>d:MoveNext () (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/Http/HttpClient.cs:135)
    26. System.Threading.Tasks.TaskCompletionSource`1<Unity.Services.Lobbies.Http.HttpClientResponse>:SetResult (Unity.Services.Lobbies.Http.HttpClientResponse)
    27. Unity.Services.Lobbies.Http.UnityWebRequestHelpers/<>c__DisplayClass0_0:<GetAwaiter>b__0 (UnityEngine.AsyncOperation) (at Library/PackageCache/com.unity.services.lobby@1.0.1/Runtime/Http/UnityWebRequestHelpers.cs:34)
    28. UnityEngine.AsyncOperation:InvokeCompletionEvent ()
     
    Last edited: Aug 15, 2022
  8. spinaljack

    spinaljack

    Joined:
    Mar 18, 2010
    Posts:
    942
    OK so not signing out on application quit seems to be reducing the amount of errors
     
  9. veleek_unity

    veleek_unity

    Ben Randall Unity Technologies

    Joined:
    Aug 25, 2021
    Posts:
    36
    You shouldn't need to _not_ sign out on application quit. If you're still having problems can you please create a new thread in the Authentication forum? The auth team will be more likely to see it there and can help troubleshoot more if necessary.

    I'm not moving this thread because the original issue (enabling Lobby) was related to a Lobby specific configuration thing.
     
  10. emilyryan

    emilyryan

    Unity Technologies

    Joined:
    Nov 22, 2019
    Posts:
    129
    We're going to close out this forum thread since the original question has been answered. Please feel free to make additional posts if you have any other questions! Thanks for your time and we wish you the best with your development!
     
Thread Status:
Not open for further replies.