Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

Using system wide proxy setting in Linux

  • 3 réponses
  • 0 a ce problème
  • 57 vues
  • Dernière réponse par hinko.kocevar

more options

I have the HTTP_PROXY, HTTPS_PROXY and FTP_PROXY (and their lowercase counterparts) exported and then the firefox binary is started from the shell script. The settings in firefox say it will 'Use system proxy settings'. Nevertheless I do not see the proxy being used as I can not access the web pages that need the proxy. The 'about:config' also does not show that firefox picked up any proxy related information from the shell environment.

I know the proxy address is correct because if I use brave browser instead of firefox (same shell script that launches brave) I can reach the web pages behind the proxy as expected.

I have the HTTP_PROXY, HTTPS_PROXY and FTP_PROXY (and their lowercase counterparts) exported and then the firefox binary is started from the shell script. The settings in firefox say it will 'Use system proxy settings'. Nevertheless I do not see the proxy being used as I can not access the web pages that need the proxy. The 'about:config' also does not show that firefox picked up any proxy related information from the shell environment. I know the proxy address is correct because if I use brave browser instead of firefox (same shell script that launches brave) I can reach the web pages behind the proxy as expected.

Solution choisie

If your proxy is set up in the following format: "<proxy_user>:<proxy_password>@<proxy_host>", you have to add a scheme (http://).

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (3)

more options

If the 'Manual proxy configuration' is used instead I can access the web pages behind the proxy. But this is not what I want to do; I would like firefox to pick up the system wide proxy settings.

Cela vous a-t-il été utile ?

more options

Solution choisie

If your proxy is set up in the following format: "<proxy_user>:<proxy_password>@<proxy_host>", you have to add a scheme (http://).

Cela vous a-t-il été utile ?

more options

I only have "<proxy_host>:<proxy_port>". Nevertheless adding "http://" in front of it solved the issue for me.

Would be really nice if this was documented somewhere (apologizes if it is , but I couldn't spot it)..

Cela vous a-t-il été utile ?

Poser une question

Vous devez vous identifier avec votre compte pour répondre aux messages. Veuillez poser une nouvelle question, si vous n’avez pas encore de compte.