question

etienne-faivre-d-arcier avatar image
etienne-faivre-d-arcier asked

Playfab Multiplayer SDK can't connect

Hello,

I choosed Playfab for my multiplayer game made with unity. I followed the basics of setting up a simple server which is up and running both locally and is deployed online.

I'm doing a RequestMultiplayerServerRequest to get the information of which server to connect to, and I receive some informations :

Server address : 52.226.168.61
Server build ID bc253c52-9166-4c25-ab9a-484575223dc3
Server ID 498ad9b0418d995ae86854981e101754424b00465fb58658d5fac0d5f523fbdb
Server SessionID: 15f3e612-37f9-411b-8eef-4c32c9d288d5
Server Port : 30000

Which is fine, but when I'm trying to connect, I'm just having a time out message from my transport (I tried Telepathy and Kcp) poping after 10.000ms, and I can't find any documentation about this... Can you help ? (I tried to connect with port 30 000 and 7777 but nothing new happened)

My Title ID is : (69186) Zigglox

Thank you !

Custom Game Servers
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Seth Du avatar image Seth Du ♦ commented ·

I am not sure how you implement the server. Please the sample on MpsSamples/UnityMirror at master PlayFab/MpsSamples (github.com), and it shows how to use Unity Mirror to listen the connection from the clients. Telepathy and KCP is not natively supported, you may need to manually implement and allocate ports.

0 Likes 0 ·

1 Answer

·
etienne-faivre-d-arcier avatar image
etienne-faivre-d-arcier answered

Hello SethDu,
Thank you for your reply !

I already did tested out this sample, but on upload it is marked as Unhealthy.

I've already grabbed some code from here (MpsSample), and my server build is running and open to requests but not for connection.. Everything works like a charm in the MockVmAgent, but it doesn't work online, another idea ?

Thank you

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Seth Du avatar image Seth Du ♦ commented ·

May I ask have you checked the 'Server Build' option in build settings?

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.