-
Notifications
You must be signed in to change notification settings - Fork 39
HTTP proxy with authentication is broken #218
Comments
Huh. I assumed librest (being a core Gnome library) would handle this transparently for us. I doubt we can support Scenario 1 because there's no obvious way to prompt for credentials (and there's so many edge cases for needing re-authentication in the middle of various different requests). What does We should try to get Scenario 2 working, though. [Edit] Quick question - is your username just a username, or does it have non-alphanumeric characters? (e.g. [email protected] when working for Example Inc) [Edit2] And Gnome definitely appears to support authentication on proxies (which I'd expect, or else it wouldn't work in various business environments) - https://unix.stackexchange.com/a/38967/23581 |
Also, based on this old Corebird bug can you run |
here it's user@laptop:~$ wget http://www.google.com
--2020-11-28 13:06:20-- http://www.google.com/
Resolviendo www.google.com (www.google.com)... falló: Fallo temporal en la resolución del nombre.
wget: no se pudo resolver la dirección del equipo “www.google.com”
user@laptop:~$ |
The username is simple, like |
Yes, the auth can be set in gnome control panel, embedded in the hostname of the proxy, the result is the scenario 2... |
It prints nothing about proxys at the start (before the typical output) |
I have created an test env: Local squid a proxy in a private network without internet access, and the proxy is set in the environment (does not mind the if via shell env or Gnome panel) BUT without authentication... And it works, I will implement the authentication schema (basic) during the day to test it. |
Okay, thanks. Good to know that we transparently handle unauthenticated proxies that are set by the system 🙂 |
Any luck with the authenticated proxy? |
Not tried again, sorry. Busy here closing the year at work, the next week will be free and will try & feedback |
No problem. Completely understand. |
I think that proxies are outside our control and the various libraries that we use should just silently do the right thing for us, but I don't have a system to test on. I'll close this unless there's anything that we're clearly doing wrong. |
Describe the bug
I'm behind a HTTP proxy server (squid) with authentication (basic) and cawbird does not work, on the log it showing "Proxy Authentication Required"
To Reproduce
Steps to reproduce the behavior:
Scenario 1:
Scenario 2:
Expected behavior
Scenario 1:
Cawbird detects the proxy, detects it needs an auth credentials and ask for it.
Scenario 2:
Cawbird detects the proxy and the auth credentials in the environment and use them.
System details:
Additional context
Add any other context about the problem here.
Running
G_MESSAGES_DEBUG=cawbird cawbird
can give useful debug output.See file debug.txt
The text was updated successfully, but these errors were encountered: