Skip to content
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

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

Open
HeathiamRinny opened this issue Aug 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@HeathiamRinny
Copy link

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 HeathiamRinny added the bug Something isn't working label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants