Lan without internet and PUN

Options
Hi, I'm trying to create a local server for some tests, but I'm having some trouble.
I have my PhotonServer installed in a windows pc with a router, and I'm connecting directly to the server. The game connects to the lobby OK, but when we try to create a room we receive this error:

Operation 227 failed in a server-side plugin. Check the configuration in the Dashboard. Message from server-plugin: Failed to create game on http://photon-photon-pluginsdk-v1.webscript.io/GameCreate?

We tried the same thing, but connected our server to the internet and everything worked well, but we need it to run without internet. What do we need to do to make that happen?

Answers

  • JohnTube
    JohnTube ✭✭✭✭✭
    edited April 2016
    Options
    Hi @carlossdparaujo,

    You can find your answer here.

    The issue is related to the default configuration of LoadBalancing GameServer which contains a sample of plugin setup using our webhooks plugin. You can disable it or remove it altogether. It can be found in "deploy\Loadbalancing\GameServer\bin\Photon.LoadBalancing.dll.config".


    It's this part:
    <PluginSettings Enabled="true">
        <Plugins>
          <Plugin
                  Name="WebHooksPlugin1.2"
                  Version=""
                  AssemblyName="PhotonHive.WebhooksPlugin1.2.dll"
                  Type="Photon.Hive.Plugin.WebHooks.PluginFactory"
                  BaseUrl="http://photon-photon-pluginsdk-v1.webscript.io"
                  IsPersistent="true"
                  HasErrorInfo="true"
                  PathClose="GameClose"
                  PathCreate="GameCreate"
                  PathEvent="GameEvent"
                  PathGameProperties="GameProperties"
                  PathJoin="GameJoin"
                  PathLeave="GameLeave"
                  PathLoad="GameCreate"  />
        </Plugins>
      </PluginSettings>
    
  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @carlossdparaujo,

    Please bear in mind that you still need internet connection on the machine running Photon Server to verify license(s).
  • wangyongyou
    Options
    ;)