We used UnityWebRequest before but wanted to switch to BestHTTP for proper HTTP2 support.
With UnityWebRequest, we were able to proxy all requests through Charles' Proxy to inspect the outgoing request without any further setup.
After switching over to BestHTTP, it seems that it's bypassing the system's proxy settings.
We tried setting the global proxy manually, but then the TLS handshake fails.
The manual proxy setup:
HTTPManager.Proxy = new HTTPProxy(new Uri("http://localhost:8888"));
The stacktrace:
Can't resume session: StatusCode: 0, Message: user_canceled(90), Content: , StackTrace: ...
Seen on the proxy:
user_canceled (90) - The handshake was canceled for some reason unrelated to a protocol failure
Is there any way to configure BestHTTP to use MacOS' system proxy setting?
Or at least understand why the manual proxy setup fails?
Thanks for your time!
We used
UnityWebRequestbefore but wanted to switch toBestHTTPfor proper HTTP2 support.With UnityWebRequest, we were able to proxy all requests through Charles' Proxy to inspect the outgoing request without any further setup.
After switching over to BestHTTP, it seems that it's bypassing the system's proxy settings.
We tried setting the global proxy manually, but then the TLS handshake fails.
The manual proxy setup:
The stacktrace:
Seen on the proxy:
Is there any way to configure BestHTTP to use MacOS' system proxy setting?
Or at least understand why the manual proxy setup fails?
Thanks for your time!