-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UriFormatException: Invalid URI: Invalid port specified. #35
Comments
Can you try this one? |
Hi @greggman the issue with the URI was gone and its having this different issue. SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. System.Net.Sockets.Socket.ReceiveFrom (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint& remoteEP) (at <3845a180c26b4889bc2d47593a665814>:0) EDIT: Problem will not happen when firewall is disable. |
Running the sample 2d platform scene gives this error.
UriFormatException: Invalid URI: Invalid port specified.
UnityEngineInternal.WebRequestUtils.MakeInitialUrl (System.String targetUrl, System.String localUrl) (at C:/buildslave/unity/build/Modules/UnityWebRequest/Public/WebRequestUtils.cs:548)
UnityEngine.Networking.UnityWebRequest.set_url (System.String value) (at C:/buildslave/unity/build/Modules/UnityWebRequest/Public/UnityWebRequest.bindings.cs:400)
UnityEngine.Networking.UnityWebRequest..ctor (System.String url, System.String method) (at C:/buildslave/unity/build/Modules/UnityWebRequest/Public/UnityWebRequest.bindings.cs:176)
HappyFunTimes.HFTSite+Informer+d__15.MoveNext () (at Assets/HappyFunTimes/HappyFunTimesCore/Server/HFTSite.cs:90)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
HappyFunTimes.Informer:Inform(Boolean, MonoBehaviour, Byte[], String) (at Assets/HappyFunTimes/HappyFunTimesCore/Server/HFTSite.cs:72)
HappyFunTimes.d__8:MoveNext() (at Assets/HappyFunTimes/HappyFunTimesCore/Server/HFTSite.cs:241)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
HappyFunTimes.HFTSite:Init(Options) (at Assets/HappyFunTimes/HappyFunTimesCore/Server/HFTSite.cs:175)
HappyFunTimes.HFTManager:StartServer() (at Assets/HappyFunTimes/HappyFunTimesCore/HFTManager.cs:272)
HappyFunTimes.HFTManager:Start(HFTRuntimeOptions, GameObject) (at Assets/HappyFunTimes/HappyFunTimesCore/HFTManager.cs:57)
HappyFunTimes.HFTConnectionManager:StartHappyFunTimes() (at Assets/HappyFunTimes/HappyFunTimesCore/HFTConnectionManager.cs:54)
HappyFunTimes.PlayerSpawner:StartHappyFunTimes() (at Assets/HappyFunTimes/HappyFunTimesCore/PlayerSpawner.cs:104)
HappyFunTimes.PlayerSpawner:Start() (at Assets/HappyFunTimes/HappyFunTimesCore/PlayerSpawner.cs:172)
https://imgs.info/i/k7tFw
The text was updated successfully, but these errors were encountered: