Operation JoinLobby (229) not allowed on current server (NameServer)

The whole answer can be found below.

Please note: The Photon forum is closed permanently. After many dedicated years of service we have made the decision to retire our forum and switch to read-only: we've saved the best to last! And we offer you support through these channels:

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).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

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:b__81_2 (string) (at Fusion/Fusion.Runtime/CloudServices/CloudServices.Utils.cs:187)

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/d__263:MoveNext () (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:448)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Fusion.StartGameResult>:Start<Fusion.NetworkRunner/d__263> (Fusion.NetworkRunner/d__263&)

Fusion.NetworkRunner:JoinSessionLobby (Fusion.SessionLobby,string,Fusion.Photon.Realtime.AuthenticationValues,Fusion.Photon.Realtime.AppSettings)

FNVR2.Networking.ServerManager/d__36:MoveNext () (at Assets/Scripts/Multiplayer/ServerManager.cs:55)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start<FNVR2.Networking.ServerManager/d__36> (FNVR2.Networking.ServerManager/d__36&)

FNVR2.Networking.ServerManager:Login ()

FNVR2.Networking.ServerManager/d__38:MoveNext () (at Assets/Scripts/Multiplayer/ServerManager.cs:82)

System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<FNVR2.Networking.ServerManager/d__38> (FNVR2.Networking.ServerManager/d__38&)

FNVR2.Networking.ServerManager:HostOrJoinAny ()

FNVR2.Networking.MultiplayerManager/d__12:MoveNext () (at Assets/Scripts/Multiplayer/MultiplayerManager.cs:51)

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/d__269:MoveNext () (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:752)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Fusion.StartGameException>:Start<Fusion.NetworkRunner/d__269> (Fusion.NetworkRunner/d__269&)

Fusion.NetworkRunner:ShutdownWithException (System.Exception)

Fusion.NetworkRunner/d__263:MoveNext () (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:459)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Fusion.StartGameResult>:Start<Fusion.NetworkRunner/d__263> (Fusion.NetworkRunner/d__263&)

Fusion.NetworkRunner:JoinSessionLobby (Fusion.SessionLobby,string,Fusion.Photon.Realtime.AuthenticationValues,Fusion.Photon.Realtime.AppSettings)

FNVR2.Networking.ServerManager/d__36:MoveNext () (at Assets/Scripts/Multiplayer/ServerManager.cs:55)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start<FNVR2.Networking.ServerManager/d__36> (FNVR2.Networking.ServerManager/d__36&)

FNVR2.Networking.ServerManager:Login ()

FNVR2.Networking.ServerManager/d__38:MoveNext () (at Assets/Scripts/Multiplayer/ServerManager.cs:82)

System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<FNVR2.Networking.ServerManager/d__38> (FNVR2.Networking.ServerManager/d__38&)

FNVR2.Networking.ServerManager:HostOrJoinAny ()

FNVR2.Networking.MultiplayerManager/d__12:MoveNext () (at Assets/Scripts/Multiplayer/MultiplayerManager.cs:51)

UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)

StartGameException: Error

Fusion.NetworkRunner+d__263.MoveNext () (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:450)

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.d__269:MoveNext() (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:752)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start(d__269&)

Fusion.NetworkRunner:ShutdownWithException(Exception)

Fusion.d__263:MoveNext() (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:459)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start(d__263&)

Fusion.NetworkRunner:JoinSessionLobby(SessionLobby, String, AuthenticationValues, AppSettings)

FNVR2.Networking.d__36:MoveNext() (at Assets/Scripts/Multiplayer/ServerManager.cs:55)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start(d__36&)

FNVR2.Networking.ServerManager:Login()

FNVR2.Networking.d__38:MoveNext() (at Assets/Scripts/Multiplayer/ServerManager.cs:82)

System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start(d__38&)

FNVR2.Networking.ServerManager:HostOrJoinAny()

FNVR2.Networking.d__12:MoveNext() (at Assets/Scripts/Multiplayer/MultiplayerManager.cs:51)

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/d__269:MoveNext () (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:757)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Fusion.StartGameException>:Start<Fusion.NetworkRunner/d__269> (Fusion.NetworkRunner/d__269&)

Fusion.NetworkRunner:ShutdownWithException (System.Exception)

Fusion.NetworkRunner/d__263:MoveNext () (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:459)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Fusion.StartGameResult>:Start<Fusion.NetworkRunner/d__263> (Fusion.NetworkRunner/d__263&)

Fusion.NetworkRunner:JoinSessionLobby (Fusion.SessionLobby,string,Fusion.Photon.Realtime.AuthenticationValues,Fusion.Photon.Realtime.AppSettings)

FNVR2.Networking.ServerManager/d__36:MoveNext () (at Assets/Scripts/Multiplayer/ServerManager.cs:55)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start<FNVR2.Networking.ServerManager/d__36> (FNVR2.Networking.ServerManager/d__36&)

FNVR2.Networking.ServerManager:Login ()

FNVR2.Networking.ServerManager/d__38:MoveNext () (at Assets/Scripts/Multiplayer/ServerManager.cs:82)

System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<FNVR2.Networking.ServerManager/d__38> (FNVR2.Networking.ServerManager/d__38&)

FNVR2.Networking.ServerManager:HostOrJoinAny ()

FNVR2.Networking.MultiplayerManager/d__12:MoveNext () (at Assets/Scripts/Multiplayer/MultiplayerManager.cs:51)

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/d__269:MoveNext () (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:752)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Fusion.StartGameException>:Start<Fusion.NetworkRunner/d__269> (Fusion.NetworkRunner/d__269&)

Fusion.NetworkRunner:ShutdownWithException (System.Exception)

Fusion.NetworkRunner/d__263:MoveNext () (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:459)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException (System.Exception)

Fusion.NetworkRunner/d__265:MoveNext () (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:551)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException (System.Exception)

Fusion.CloudServices/d__51:MoveNext () (at Fusion/Fusion.Runtime/CloudServices/CloudServices.cs:184)

System.Threading.Tasks.TaskCompletionSource`1:TrySetException (System.Exception)

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:b__0 () (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PeerBase.cs:1181)

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/<b__0>d:MoveNext () (at Fusion/Fusion.Realtime/RealtimeExtensions/LoadBalancingClientAsyncExtensions.cs:232)

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+d__51.MoveNext () (at Fusion/Fusion.Runtime/CloudServices/CloudServices.cs:184)

--- 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+d__265.MoveNext () (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:551)

--- 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+d__263.MoveNext () (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:439)

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.d__269:MoveNext() (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:752)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Start(d__269&)

Fusion.NetworkRunner:ShutdownWithException(Exception)

Fusion.d__263:MoveNext() (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:459)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException(Exception)

Fusion.d__265:MoveNext() (at Fusion/Fusion.Runtime/Runner/NetworkRunner.Matchmaking.cs:551)

System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException(Exception)

Fusion.d__51:MoveNext() (at Fusion/Fusion.Runtime/CloudServices/CloudServices.cs:184)

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:b__0() (at D:/Dev/Work/photon-dotnet-sdk/PhotonDotNet/PeerBase.cs:1181)

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.<b__0>d:MoveNext() (at Fusion/Fusion.Realtime/RealtimeExtensions/LoadBalancingClientAsyncExtensions.cs:232)

UnityEngine.UnitySynchronizationContext:ExecuteTasks()

Comments

ramonmelo
2022-06-15 14:50:24

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