OpenSUSE 12.1 zypper cannot connect through proxy

I am having issues getting Zypper to communicate through our corporate proxy server. Based on other threads, I have set my /root/.curlrc to look something like this:

proxy-user = "<user>:<pass>"
proxy = ""

I get this error when using zypper:

zypper  -p  update
Adding repository '' [done]
Repository '' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes

Retrieving repository '' metadata |]
Download (curl) error for '':
Error code: HTTP response: 407
Error message: The requested URL returned error: 407

However, if I use curl immediately afterward to download the failed url, it works:

<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="">
  <data type="other">
    <location href="repodata/other.xml.gz"/>
    <checksum type="sha">56b9a6352952a41ab76d1cae19fb2b751720802f</checksum>
    <open-checksum type="sha">131ffb8b739681492d6743c1a3647aa420d13574</open-checksum>
  <data type="filelists">
    <location href="repodata/filelists.xml.gz"/>
    <checksum type="sha">98b66f16acf14bd19a2508f2d11a08bc48062588</checksum>
    <open-checksum type="sha">3196527b3309b5c42d51926a0898ae7d6373949a</open-checksum>
  <data type="primary">
    <location href="repodata/primary.xml.gz"/>
    <checksum type="sha">89814e8108c993057ec26bc988dd4383098e4a56</checksum>
    <open-checksum type="sha">a806460c17e8846a1b982c6d495635d7c90cde69</open-checksum>

Any ideas?


You do not tell if you checked what HTTP error 407 means. I found HTTP Error 407 Proxy authentication required Explained
This to prevent all others except you to search for it.

Same problemā€¦ how is it possibleā€¦ :S

I use /etc/sysconfig/proxy

and it works