-
Notifications
You must be signed in to change notification settings - Fork 65
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
Switch+WiiU: Bypasses configured proxy #72
Comments
Presumably other Switch homebrews may also have this issue, and a similar fix should work. |
Unsure of what it does differently, but nxdumptool does not have this issue I can confirm |
Is the issue still present? I wonder if updating underlying libcurl libraries resolved it. |
It's still an issue. |
Thanks- just confirming. I also should have mentioned the newer build in my last comment (from the Actions tab): https://github.com/fortheusers/hb-appstore/suites/8429699834/artifacts/373293764. This uses the newer libcurl. |
It's still an issue both on Switch and WiiU! |
Ahh, okay. it sounds like we may need to manually, per each platform, load proxy settings and apply them directly using Curl opt flags: https://curl.se/libcurl/c/CURLOPT_PROXY.html The strange thing is that it seems system proxies should be handled, but maybe this behavior is bugged or doesn't work for some reason in hb-appstore: devkitPro/curl@af8d070 |
For reference: hb-appstore curl code: https://github.com/fortheusers/libget/blob/d341dd58df4e6d231ec4840f64a12394a480c7ab/src/Utils.cpp#L198-L202 nxdumptool (for comparison): https://github.com/DarkMatterCore/nxdumptool/blob/14acd00559e7266029326c16eab0d2cc687d3176/source/core/http.c#L118 Probably to troubleshoot this, it's worth taking the curl example app, to see if 1. that works with the system proxy, and 2. whether or not manually loading it fixes it: https://github.com/switchbrew/switch-examples/tree/master/network/curl And then try to remove or add curl flags to hb-appstore code until it behaves like the example. |
I don't see any curl option for proxy settings there. Are you sure, nxdumptool works behind a proxy? |
Attached is a build of the curl_example that I mentioned earlier: It displays an error if it fails to connect. It could be that one of the curl flags that hb-appstore adds on (such as the SSL certificate one) interferes with the proxy. |
Describe the bug
A proxy is configured in the Wi-Fi profile, without which the console cannot access the Internet. However, the App Store establishes a connection directly, which logically fails.
Platform:
Switch + WiiU
To Reproduce
Simply enter a proxy in the WiFi profile and do not allow direct connections to the Internet.
The text was updated successfully, but these errors were encountered: