Getting error every time I build and run.

I consistently get an error every time I run my project. It continues though, and doesn't usually cause any problems.

Here is the error:
JoinRandomRoom failed. Client is on NameServer (must be Master Server for matchmaking) but not ready for operations (State: ConnectingNameServer) Wait for callback: OnJoinedLobby or OnConnectedToMaster

Here is my code to connect to the server:

using UnityEngine;
using Photon.Pun;

namespace Com.FPSTest {
public class ConnectToServer : MonoBehaviourPunCallbacks {
void Start() {
PhotonNetwork.AutomaticallySyncScene = true;
connect();
}

public override void OnConnectedToMaster() {
PhotonNetwork.JoinRandomRoom();
Debug.Log("Joining random room...");

base.OnConnectedToMaster();
}

public override void OnJoinedRoom() {
Debug.Log("Room joined! Starting game...");
startGame();

base.OnJoinedRoom();
}

public override void OnJoinRandomFailed(short returnCode, string message) {
Debug.Log("No rooms to join! Creating room...");
PhotonNetwork.CreateRoom("");

base.OnJoinRandomFailed(returnCode, message);
}

public void connect() {
Debug.Log("Trying to connect...");

PhotonNetwork.GameVersion = "0.0.0";
PhotonNetwork.ConnectUsingSettings();

Debug.Log("Connected successfully!");
OnConnectedToMaster();
}

public void startGame() {
if(PhotonNetwork.CurrentRoom.PlayerCount == 1) {
PhotonNetwork.LoadLevel(1);
}
}
}
}

Is this error something I should be worried about, or can I just ignore it? If more info is needed, just let me know.