Skip to content

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

Open
@HeathiamRinny

Description

@HeathiamRinny

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @karasusan@HeathiamRinny

      Issue actions

        [BUG]: Error: ConnectFailure (mono-io-layer-error (111)) ---> System.Net.Sockets.SocketException: mono-io-layer-error (111) · Issue #1001 · Unity-Technologies/UnityRenderStreaming