UnityRenderStreaming icon indicating copy to clipboard operation
UnityRenderStreaming copied to clipboard

[BUG]: Error: ConnectFailure (mono-io-layer-error (111)) ---> System.Net.Sockets.SocketException: mono-io-layer-error (111)

Open HeathiamRinny opened this issue 1 year ago • 0 comments

Package version

3.1.0-exp.7

Environment

* OS:APK / Oculus Quest 2
* Unity version: Unity 6000.7f1
* Graphics API: OpenGL3
* Browser:X

Steps To Reproduce

This error appear : Signaling: HTTP request error. url:http://192.168.1.182/signaling?fromtime=1722603235614 exception:System.Net.WebException: Error: ConnectFailure (mono-io-layer-error (111)) ---> System.Net.Sockets.SocketException: mono-io-layer-error (111) 08-02 14:57:41.314 23049 23344 E Unity : at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x00000] in <00000000000000000000000000000000>:0 08-02 14:57:41.314 23049 23344 E Unity : at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x00000] in <00000000000000000000000000000000>:0 08-02 14:57:41.314 23049 23344 E Unity : at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <00000000000000000000000000000000>:0 08-02 14:57:41.314 23049 23344 E Unity : --- End of stack trace from previous location where exception was thrown --- 08-02 14:57:41.314 23049 23344 E Unity : 08-02 14:57:41.314 23049 23344 E Unity : at System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00000] in <00000000000000000000000000000

I build the application for Oculus Quest 2. I added the permission in a custom manifest (Internet Permissions, Network permission) and the feature android.hardware.wifi as well as the property android:usesCleartextTraffic=“true". My firewall is deactivated.

Current Behavior

This error appear : Signaling: HTTP request error. url:http://192.168.1.182/signaling?fromtime=1722603235614 exception:System.Net.WebException: Error: ConnectFailure (mono-io-layer-error (111)) ---> System.Net.Sockets.SocketException: mono-io-layer-error (111) 08-02 14:57:41.314 23049 23344 E Unity : at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x00000] in <00000000000000000000000000000000>:0 08-02 14:57:41.314 23049 23344 E Unity : at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x00000] in <00000000000000000000000000000000>:0 08-02 14:57:41.314 23049 23344 E Unity : at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <00000000000000000000000000000000>:0 08-02 14:57:41.314 23049 23344 E Unity : --- End of stack trace from previous location where exception was thrown --- 08-02 14:57:41.314 23049 23344 E Unity : 08-02 14:57:41.314 23049 23344 E Unity : at System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00000] in <00000000000000000000000000000

I build the application for Oculus Quest 2. I added the permission in a custom manifest (Internet Permissions, Network permission) and the feature android.hardware.wifi as well as the property android:usesCleartextTraffic=“true". My firewall is deactivated.

Expected Behavior

The connect happens without any errors.

Anything else?

Manifest.txt Here is the full manifest.

HeathiamRinny avatar Aug 02 '24 13:08 HeathiamRinny