Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.34f1

2022.3.19f1

2023.2.9f1

2023.3.0b6

Issue ID

UUM-62380

Regression

No

“SocketException: An attempt was made to access a socket in a way forbidden by its access permissions.” error is thrown when trying to connect to a socket through a proxy with specific Inbound/Outbound rules

-

How to reproduce:
1. Setup a proxy between two different machines
2. Open the “ProxySocks“ project
3. In the Project window open the “Assets/script.cs”
4. On line 22 make sure to change the IP to the proxy host machine and the port to “8080”
5. Enter Play Mode and observe the Console

Expected result: A message is logged that contains “Received” text
Actual result: A “SocketException: An attempt was made to access a socket in a way forbidden by its access permissions.” error is thrown

Reproduced with: 2021.3.34f1, 2022.3.19f1, 2023.2.9f1, 2023.3.0b6

Reproduced on: Windows 11
Not reproduced on: No other environment tested

Notes:
1. Full error log is provided in the internal comments
2. Detailed instructions on how to setup a proxy are provided in the internal comments

  1. Resolution Note:

    Proxy support was reverted by the mono team upstream for unexplained reasons back in 2017 and never reintroduced. Reintroducing proxy support is a large change and would introduce an unacceptable amount of risk of regressions to mono's web stack.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.