Local host LoadBalancing server can't creat room

When I Extract Zip,and run loadBalancing without any change of configuration,can't creat room.Whatever by TestClient or by PhontonNetwork.creatroom. I'm sure all Ip are "127.0.0.1".I need help.
Here is TestClient Log:

I:\PhotonServer\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\bin_tools\stardust.client\
Test case: Master
Settings: 5 games per process, 3 players per game, game server at 127.0.0.1:5055
Sending reliable operation every 100 ms

Starting 5 games with 3 players
[14312] Press Return to End
Connecting to 127.0.0.1:5056
[14312] Started game DESKTOP-P403K88(14312)1 with 3 clients
OnOperationReturn: CreateGame failed: ReturnCode: 32752 (Failed to create game on http://photon-photon-pluginsdk-v1.webscript.io/GameCreate? : '未能解析此远程名称: 'photon-photon-pluginsdk-v1.webscript.io'' httpcode=-1 webstatus=1 response='', HttpQueueResult=5.). Disconnecting...
[14312] Started game DESKTOP-P403K88(14312)2 with 3 clients
Connecting to 127.0.0.1:5056
OnOperationReturn: JoinGame failed: ReturnCode: 32758 (Game does not exists). Disconnecting...
OnOperationReturn: JoinGame failed: ReturnCode: 32758 (Game does not exists). Disconnecting...
OnOperationReturn: CreateGame failed: ReturnCode: 32752 (Failed to create game on http://photon-photon-pluginsdk-v1.webscript.io/GameCreate? : '未能解析此远程名称: 'photon-photon-pluginsdk-v1.webscript.io'' httpcode=-1 webstatus=1 response='', HttpQueueResult=5.). Disconnecting...
Connecting to 127.0.0.1:5056
OnOperationReturn: CreateGame failed: ReturnCode: 32752 (Failed to create game on http://photon-photon-pluginsdk-v1.webscript.io/GameCreate? : '未能解析此远程名称: 'photon-photon-pluginsdk-v1.webscript.io'' httpcode=-1 webstatus=1 response='', HttpQueueResult=5.). Disconnecting...
OnOperationReturn: JoinGame failed: ReturnCode: 32758 (Game does not exists). Disconnecting...
OnOperationReturn: JoinGame failed: ReturnCode: 32758 (Game does not exists). Disconnecting...
[14312] Started game DESKTOP-P403K88(14312)3 with 3 clients
Connecting to 127.0.0.1:5056
OnOperationReturn: CreateGame failed: ReturnCode: 32752 (Failed to create game on http://photon-photon-pluginsdk-v1.webscript.io/GameCreate? : '未能解析此远程名称: 'photon-photon-pluginsdk-v1.webscript.io'' httpcode=-1 webstatus=1 response='', HttpQueueResult=5.). Disconnecting...
OnOperationReturn: JoinGame failed: ReturnCode: 32758 (Game does not exists). Disconnecting...
[14312] Started game DESKTOP-P403K88(14312)4 with 3 clients
OnOperationReturn: JoinGame failed: ReturnCode: 32758 (Game does not exists). Disconnecting...
Connecting to 127.0.0.1:5056
OnOperationReturn: CreateGame failed: ReturnCode: 32752 (Failed to create game on http://photon-photon-pluginsdk-v1.webscript.io/GameCreate? : '未能解析此远程名称: 'photon-photon-pluginsdk-v1.webscript.io'' httpcode=-1 webstatus=1 response='', HttpQueueResult=5.). Disconnecting...
OnOperationReturn: JoinGame failed: ReturnCode: 32758 (Game does not exists). Disconnecting...
[14312] Started game DESKTOP-P403K88(14312)5 with 3 clients
OnOperationReturn: JoinGame failed: ReturnCode: 32758 (Game does not exists). Disconnecting...
OnOperationReturn: JoinGame failed: ReturnCode: 32758 (Game does not exists). Disconnecting...
OnOperationReturn: JoinGame failed: ReturnCode: 32758 (Game does not exists). Disconnecting...


Comments

  • Hi @cuckoo,

    Thank you for choosing Photon!

    The Photon Server SDK was not updated for some time.
    Meanwhile, webscript.io has ceased all operations, we used it before for demo purposes.
    Please disable webhooks from LoadBalancing configuration files as shown here.
  • @JohnTube
    Thank you for your reply. I checked the LoadBalancing.dll.config file. The WebHook PluginSetting's Enable has been setted false. and All of the plugins are disable just like the default settings .I don't know why it works.
  • Hi, @cuckoo

    by default, plugins are enabled. check deploy\Loadbalancing\GameServer\bin\Photon.LoadBalancing.dll.config and disable them. also disable them in this file: deploy\Loadbalancing\Master\bin\Photon.LoadBalancing.dll.config

    best,
    ilya
  • @JohnTube what should if i need all the call backs but not be dependent on http://photon-photon-pluginsdk-v1.webscript.io/GameCreate? :

    Or if need to be depended on http://photon-photon-pluginsdk-v1.webscript.io/GameCreate? : is there a way to mimic what this URL does in my own server?

    Very new to multiplayer development please help.
  • Hi @para_nautilus,

    Thank you for choosing Photon!

    You need a web server, your own or a third party one.
    And you also need to implement webhooks endpoints.
    We have examples on github here or here.
  • edited January 30
    @JohnTube Thank you very much exactly what i was trying to find. Now, I just have to figure out how to set them all up :smile: thanks.

    Also was wondering if i can directly copy and deploy http://photon-photon-pluginsdk-v1.webscript.io/ service , and somehow configure it to run on my server.
  • Webscript.io is gone.
    The scripts were made in LUA, I don't think they will be useful to you.
    We migrated those scripts we use internally to webtask.io using nodejs/expressjs.
Sign In or Register to comment.