My Firefox can not use the shadowsocks, but my Safari and Chrome can use them.
This is the Firefox's network settings.
The operation system is macOS Sierra
The Firefox version is 55.0.3 (64 bit)
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
In brief: since other browsers, including the built-in Safari, are already using the proxy correctly, you probably already have it set up in the system proxy settings. Therefore, you just need to tell Firefox to use the system proxy settings with the 3rd option. Note that this is actually the default setting.
In Firefox's connection settings you have five basic options:
- No proxy: Choose this if you don't want to use a proxy.
- Auto-detect proxy settings for this network: Choose this if you want Firefox to automatically detect the proxy settings for your network.
Use system proxy settings: Choose this if you want to use the proxy settings configured for your operating system.
This is the default setting.
- Manual proxy configuration: Choose this if you have a list of one or more proxy servers. Ask your system administrator for the configuration information. Each proxy requires a hostname and a port number.
- Automatic proxy configuration URL: Choose this if you have a proxy configuration (.pac) file. Enter the URL and click okay to save changes and load the proxy configuration.
You have chosen the auto-detect option, the 2nd option in the list, but this does not work how you probably think it does. In this case, "auto-detect" means it uses WPAD to try to find a PAC file. This PAC file can also be specified in the 5th option, "automatic proxy configuration URL". These are often used in enterprise networks to configure a large number of clients at the same time.
What you probably want instead is to use the default system proxy settings (3rd option), which is also the same as the default behaviour as Safari and Chrome. This is assuming you've somehow already set up the desired proxy as a system default - which is probably true because Safari is using it.
Alternatively, you can set up the proxy manually, which means Firefox will keep trying to use it even if you change your system defaults. You said you are using shadowsocks; this is a SOCKS5-based proxy and you can set it manually by enabling the 4th option and filling in only the SOCKS line with the appropriate settings - looking at shadowsocks recommendations that's probably
localhost with the port
1080. You will probably also want to enable the "Proxy DNS when using SOCKS v5" option a little further down.