Operation JoinLobby (229) not allowed on current server (NameServer)
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on Fusion.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
Operation JoinLobby (229) not allowed on current server (NameServer)
Dim
2022-04-28 11:32:38
Hi, my team and I are trying to connect and host games using the same build and we ran into a problem where only my colleague can host games. And I can only connect to his games but can't host and when trying to host myself I get these errors below. These errors only happen on quest build but don't happen in the editor. If you have any idea what could be the problem or if you have more information about what those errors mean it would be greatly appreciated. happy to provide more information if you need it.
[Fusion/RealtimeSDK] Operation JoinLobby (229) not allowed on current server (NameServer)
UnityEngine.Debug:LogError (object,UnityEngine.Object)
Fusion.FusionUnityLogger:Log<Fusion.Log/DefaultContext> (Fusion.LogType,string,Fusion.Log/DefaultContext&,string) (at Assets/Photon/Fusion/Scripts/FusionUnityLogger.cs:123)
Fusion.Log:ErrorInternal (object,string) (at Fusion/Fusion.Common/Log.T4.cs:253)
Fusion.Log:ErrorRealtime (object) (at Fusion/Fusion.Common/Log.T4.cs:97)
Fusion.CloudServices/<>c:
Fusion.Photon.Realtime.Async.Log:Error (object) (at Fusion/Fusion.Realtime/RealtimeExtensions/Log.cs:118)
Fusion.Photon.Realtime.Debug_:LogError (string) (at Fusion/Fusion.Realtime/RealtimeExtensions/Log.cs:13)
Fusion.Photon.Realtime.LoadBalancingClient:DebugReturn (ExitGames.Client.Photon.DebugLevel,string) (at Fusion/Fusion.Realtime/Realtime/LoadBalancingClient.cs:2564)
Fusion.Photon.Realtime.LoadBalancingClient:CheckIfOpCanBeSent (byte,Fusion.Photon.Realtime.ServerConnection,string) (at Fusion/Fusion.Realtime/Realtime/LoadBalancingClient.cs:2478)
Fusion.Photon.Realtime.LoadBalancingClient:OpJoinLobby (Fusion.Photon.Realtime.TypedLobby) (at Fusion/Fusion.Realtime/Realtime/LoadBalancingClient.cs:1520)
Fusion.CloudServices:JoinSessionLobby (Fusion.SessionLobby,string) (at Fusion/Fusion.Runtime/CloudServices/CloudServices.cs:224)
Fusion.NetworkRunner/
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Fusion.StartGameResult>:Start<Fusion.NetworkRunner/
Fusion.NetworkRunner:JoinSessionLobby (Fusion.SessionLobby,string,Fusion.Photon.Realtime.AuthenticationValues,Fusion.Photon.Realtime.AppSettings)
FNVR2.Networking.ServerManager/
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1
FNVR2.Networking.ServerManager:Login ()
FNVR2.Networking.ServerManager/
System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<FNVR2.Networking.ServerManager/
FNVR2.Networking.ServerManager:HostOrJoinAny ()
FNVR2.Networking.MultiplayerManager/
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
[Fusion] Fusion.StartGameException
See next error log entry for details.
UnityEngine.Debug:LogError (object,UnityEngine.Object)
Fusion.FusionUnityLogger:Log<Fusion.Log/DefaultContext> (Fusion.LogType,string,Fusion.Log/DefaultContext&,string) (at Assets/Photon/Fusion/Scripts/FusionUnityLogger.cs:123)
Fusion.FusionUnityLogger:LogException<Fusion.Log/DefaultContext> (string,Fusion.Log/DefaultContext&,System.Exception) (at Assets/Photon/Fusion/Scripts/FusionUnityLogger.cs:135)
Fusion.Log:Exception<Fusion.NetworkRunner> (Fusion.NetworkRunner,System.Exception) (at Fusion/Fusion.Common/Log.cs:114)
Fusion.NetworkRunner/
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Fusion.StartGameException>:Start<Fusion.NetworkRunner/
Fusion.NetworkRunner:ShutdownWithException (System.Exception)
Fusion.NetworkRunner/
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Fusion.StartGameResult>:Start<Fusion.NetworkRunner/
Fusion.NetworkRunner:JoinSessionLobby (Fusion.SessionLobby,string,Fusion.Photon.Realtime.AuthenticationValues,Fusion.Photon.Realtime.AppSettings)
FNVR2.Networking.ServerManager/
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1
FNVR2.Networking.ServerManager:Login ()
FNVR2.Networking.ServerManager/
System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<FNVR2.Networking.ServerManager/
FNVR2.Networking.ServerManager:HostOrJoinAny ()
FNVR2.Networking.MultiplayerManager/
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
StartGameException: Error
Fusion.NetworkRunner+
UnityEngine.Debug:LogException(Exception)
Fusion.FusionUnityLogger:LogException(String, DefaultContext&, Exception) (at Assets/Photon/Fusion/Scripts/FusionUnityLogger.cs:139)
Fusion.Log:Exception(NetworkRunner, Exception) (at Fusion/Fusion.Common/Log.cs:114)
Fusion.
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start(
Fusion.NetworkRunner:ShutdownWithException(Exception)
Fusion.
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start(
Fusion.NetworkRunner:JoinSessionLobby(SessionLobby, String, AuthenticationValues, AppSettings)
FNVR2.Networking.
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start(
FNVR2.Networking.ServerManager:Login()
FNVR2.Networking.
System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start(
FNVR2.Networking.ServerManager:HostOrJoinAny()
FNVR2.Networking.
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
[Fusion] Failed Operation with Reason: Error
UnityEngine.Debug:LogError (object,UnityEngine.Object)
Fusion.FusionUnityLogger:Log<Fusion.NetworkRunner> (Fusion.LogType,string,Fusion.NetworkRunner&,string) (at Assets/Photon/Fusion/Scripts/FusionUnityLogger.cs:123)
Fusion.Log:Error<Fusion.NetworkRunner> (Fusion.NetworkRunner,object) (at Fusion/Fusion.Common/Log.T4.cs:239)
Fusion.NetworkRunner/
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Fusion.StartGameException>:Start<Fusion.NetworkRunner/
Fusion.NetworkRunner:ShutdownWithException (System.Exception)
Fusion.NetworkRunner/
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Fusion.StartGameResult>:Start<Fusion.NetworkRunner/
Fusion.NetworkRunner:JoinSessionLobby (Fusion.SessionLobby,string,Fusion.Photon.Realtime.AuthenticationValues,Fusion.Photon.Realtime.AppSettings)
FNVR2.Networking.ServerManager/
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1
FNVR2.Networking.ServerManager:Login ()
FNVR2.Networking.ServerManager/
System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<FNVR2.Networking.ServerManager/
FNVR2.Networking.ServerManager:HostOrJoinAny ()
FNVR2.Networking.MultiplayerManager/
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
[Fusion] Fusion.Photon.Realtime.Async.DisconnectException
See next error log entry for details.
UnityEngine.Debug:LogError (object,UnityEngine.Object)
Fusion.FusionUnityLogger:Log<Fusion.Log/DefaultContext> (Fusion.LogType,string,Fusion.Log/DefaultContext&,string) (at Assets/Photon/Fusion/Scripts/FusionUnityLogger.cs:123)
Fusion.FusionUnityLogger:LogException<Fusion.Log/DefaultContext> (string,Fusion.Log/DefaultContext&,System.Exception) (at Assets/Photon/Fusion/Scripts/FusionUnityLogger.cs:135)
Fusion.Log:Exception<Fusion.NetworkRunner> (Fusion.NetworkRunner,System.Exception) (at Fusion/Fusion.Common/Log.cs:114)
Fusion.NetworkRunner/
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Fusion.StartGameException>:Start<Fusion.NetworkRunner/
Fusion.NetworkRunner:ShutdownWithException (System.Exception)
Fusion.NetworkRunner/
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException (System.Exception)
Fusion.NetworkRunner/
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException (System.Exception)
Fusion.CloudServices/
System.Threading.Tasks.TaskCompletionSource`1
Fusion.Photon.Realtime.Async.OperationHandler:SetException (System.Exception) (at Fusion/Fusion.Realtime/RealtimeExtensions/OperationHandler.cs:44)
Fusion.Photon.Realtime.Async.OperationHandler:OnDisconnected (Fusion.Photon.Realtime.DisconnectCause) (at Fusion/Fusion.Realtime/RealtimeExtensions/OperationHandler.cs:84)
Fusion.Photon.Realtime.ConnectionCallbacksContainer:OnDisconnected (Fusion.Photon.Realtime.DisconnectCause) (at Fusion/Fusion.Realtime/Realtime/LoadBalancingClient.cs:4120)
Fusion.Photon.Realtime.LoadBalancingClient:OnStatusChanged (ExitGames.Client.Photon.StatusCode) (at Fusion/Fusion.Realtime/Realtime/LoadBalancingClient.cs:3072)
ExitGames.Client.Photon.PeerBase/<>c__DisplayClass109_0:
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:440)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1771)
ExitGames.Client.Photon.PhotonPeer:Service () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1685)
Fusion.Photon.Realtime.LoadBalancingClient:Service () (at Fusion/Fusion.Realtime/Realtime/LoadBalancingClient.cs:1399)
Fusion.Photon.Realtime.Async.LoadBalancingClientAsyncExtensions/<>c__DisplayClass10_0/<
UnityEngine.UnitySynchronizationContext:ExecuteTasks ()
DisconnectException: DisconnectByClientLogic
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)
Fusion.CloudServices+
--- End of stack trace from previous location where exception was thrown ---
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)
Fusion.NetworkRunner+
--- End of stack trace from previous location where exception was thrown ---
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)
Fusion.NetworkRunner+
UnityEngine.Debug:LogException(Exception)
Fusion.FusionUnityLogger:LogException(String, DefaultContext&, Exception) (at Assets/Photon/Fusion/Scripts/FusionUnityLogger.cs:139)
Fusion.Log:Exception(NetworkRunner, Exception) (at Fusion/Fusion.Common/Log.cs:114)
Fusion.
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start(
Fusion.NetworkRunner:ShutdownWithException(Exception)
Fusion.
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException(Exception)
Fusion.
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException(Exception)
Fusion.
System.Threading.Tasks.TaskCompletionSource`1:TrySetException(Exception)
Fusion.Photon.Realtime.Async.OperationHandler:SetException(Exception) (at Fusion/Fusion.Realtime/RealtimeExtensions/OperationHandler.cs:44)
Fusion.Photon.Realtime.Async.OperationHandler:OnDisconnected(DisconnectCause) (at Fusion/Fusion.Realtime/RealtimeExtensions/OperationHandler.cs:84)
Fusion.Photon.Realtime.ConnectionCallbacksContainer:OnDisconnected(DisconnectCause) (at Fusion/Fusion.Realtime/Realtime/LoadBalancingClient.cs:4120)
Fusion.Photon.Realtime.LoadBalancingClient:OnStatusChanged(StatusCode) (at Fusion/Fusion.Realtime/Realtime/LoadBalancingClient.cs:3072)
ExitGames.Client.Photon.<>c__DisplayClass109_0:
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands() (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:440)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands() (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1771)
ExitGames.Client.Photon.PhotonPeer:Service() (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1685)
Fusion.Photon.Realtime.LoadBalancingClient:Service() (at Fusion/Fusion.Realtime/Realtime/LoadBalancingClient.cs:1399)
Fusion.Photon.Realtime.Async.<
UnityEngine.UnitySynchronizationContext:ExecuteTasks()
Comments
Hi @Dim ,
Can you try to connect to a different Region?
Just change the "Fixed Region" at the "PhotonAppSettings" file.
Also, can you update the SDK to the latest and check again?
--
Ramon Melo
Photon Fusion Team
Back to top