Service Fabric can't connect to guest executable on UDP (Unreal Engine Server) -
i'm trying deploy unreal server guest executable service fabric. i've been fallowing blog post:
http://haishibai.blogspot.com/2017/03/setting-up-highly-available-minecraft.html
except i'm not using containers , use windows based service.
on local cluster works. can connect client deployed server.
when trying connect remote server, can't connect it.
when looking @ service fabric managment page seems server process working (it have proper process id).
in loadbalancing service have port forwarding on udp/7777, though healthprobes on tcp (there no option select udp, don't know if mnatter).
here servicemanifest:
<?xml version="1.0" encoding="utf-8"?> <servicemanifest name="unrealguestpkg" version="1.0.0" xmlns="http://schemas.microsoft.com/2011/01/fabric" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"> <servicetypes> <!-- name of servicetype. useimplicithost attribute indicates guest executable service. --> <statelessservicetype servicetypename="unrealguesttype" useimplicithost="true" /> </servicetypes> <!-- code package service executable. --> <codepackage name="code" version="1.0.0"> <!-- setupentrypoint optional element used specify program executed before service's code launched. --> <!-- <setupentrypoint> <exehost> <program></program> </exehost> </setupentrypoint> --> <entrypoint> <exehost> <program>actionrpggame\binaries\win64\actionrpggameserver.exe</program> <arguments>-log</arguments> <workingfolder>codebase</workingfolder> <!-- uncomment log console output (both stdout , stderr) 1 of service's working directories. --> <!-- <consoleredirection fileretentioncount="5" filemaxsizeinkb="2048"/> --> </exehost> </entrypoint> </codepackage> <!-- config package contents of config directoy under packageroot contains independently-updateable , versioned set of custom configuration settings service. --> <configpackage name="config" version="1.0.0" /> <resources> <endpoints> <!-- endpoint used communication listener obtain port on listen. please note if service partitioned, port shared replicas of different partitions placed in code. --> <endpoint name="unrealguesttypeendpoint" port="7777" protocol="udp" /> </endpoints> </resources> </servicemanifest>
1.you seem missing service endpoint configuration.
<resources> <endpoints> <!-- endpoint used communication listener obtain port on listen. please note if service partitioned, port shared replicas of different partitions placed in code. --> <endpoint name="serviceendpoint" port="7777" /> </endpoints> </resources>
- udp isn't supported probes on load balancer. so, expose second service endpoint uses tcp, health endpoint.
Comments
Post a Comment