Hi Tamas,
It is the same proxy but a different protocol, http and https.

Joga
________________________________
Von: Tamás Cservenák <ta...@cservenak.net>
Gesendet: Mittwoch, 28. August 2024 11:49
An: Maven Users List <users@maven.apache.org>
Cc: users@maven.apache.org
Betreff: Re: Proxy issue with 3.9.x. Works in 3.8.x

Howdy,

see documentation:
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmaven.apache.org%2Fsettings.html%23proxies&data=05%7C02%7C%7C6ed1d3c9e4eb47f0d92908dcc746c4d6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638604353956056807%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=9cB4YVoNi08%2FGwRygBA8g5B7y%2F0NumbldK0q0z8d6DY%3D&reserved=0<https://maven.apache.org/settings.html#proxies>

important bit:
"active: true if this proxy is active. This is useful for declaring a
set of proxies, but only one may be active at a time."

Your snippet has two active proxies, so which one is it? (in this case
Maven iterates and grabs first)

Thanks
T

On Mon, Aug 26, 2024 at 4:31 PM Joga Singh <joga.si...@outlook.de> wrote:
>
> Hi Guys,
> I am having issues while using a proxy with Authentication. I use the below 
> settings.xml
> With 3.9.x, I get Authentication Required (407) error.  If I use the propery 
> "-Dmaven.resolver.transport=wagon", it works fine. Similarily, it works fine 
> with 3.8.x version.
>
> Is there anything special, I need to do for transport=native or I am missing 
> something?
>
> ==============
> <settings 
> xmlns="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmaven.apache.org%2FSETTINGS%2F1.0.0&data=05%7C02%7C%7C6ed1d3c9e4eb47f0d92908dcc746c4d6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638604353956070633%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=bQaupaPi5cZYjy%2B1IiLX7r3%2FfIriSb9Gb%2FpD5TkVJB4%3D&reserved=0<http://maven.apache.org/SETTINGS/1.0.0>"
>  
> xmlns:xsi="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance&data=05%7C02%7C%7C6ed1d3c9e4eb47f0d92908dcc746c4d6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638604353956073634%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=4HWIwv19DbxHGvu0S8%2FUhBp76nLc3m1O92M77cahS5A%3D&reserved=0<http://www.w3.org/2001/XMLSchema-instance>"
>  
> xsi:schemaLocation="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmaven.apache.org%2FSETTINGS%2F1.0.0&data=05%7C02%7C%7C6ed1d3c9e4eb47f0d92908dcc746c4d6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638604353956076462%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=TEaZfXFFd34ojCiPclEjXRHKYPikMq5LGPfK%2BXO5EpU%3D&reserved=0
>  
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmaven.apache.org%2Fxsd%2Fsettings-1.0.0.xsd&data=05%7C02%7C%7C6ed1d3c9e4eb47f0d92908dcc746c4d6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638604353956079262%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=FH75m737EIxQJu6SjSzatMyx5cdg1z5LfOguOlGfmjE%3D&reserved=0";><https://maven.apache.org/xsd/settings-1.0.0.xsd>
>   <proxies>
>     <proxy>
>       <id>https-proxy</id>
>       <active>true</active>
>       <protocol>https</protocol>
>       <host>10.xx.xx.xx</host>
>       <port>3128</port>
>       <username>xxx</username>
>       <password>xxxx</password>
>     </proxy>
>    <proxy>
>       <id>http-proxy</id>
>       <active>true</active>
>       <protocol>http</protocol>
>       <host>10.xx.xx.xx</host>
>       <port>3128</port>
>       <username>xxx</username>
>       <password>xxxx</password>
>     </proxy>
>   </proxies>
> </settings>
> ========================
>
> Best regards,
>
> Joga

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to