Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Eclipse plugin not using proxy (407 authentication required)
Eclipse plugin not using proxy (407 authentication required) [message #1862292] Wed, 22 November 2023 15:54 Go to next message
Dan Moldoveanu is currently offline Dan MoldoveanuFriend
Messages: 4
Registered: May 2023
Junior Member
Hello,

I am developing an eclipse plugin and recently I found a bug which is getting painful since I'm not finding a proper solution - my eclipse plugin is made so that it has to get some information from an site from external web. The problem is that when using proxy (with username and password - and ONLY when authentication is required), my plugin is not taking into consideration the user and the pass for the proxy and I get 407 Authentication Required as a response to each HttpRequest executed (for e.g. a corporate proxy that has to be added in order to get to the external web)
If for example I'm trying to use a proxy without user and password, everything is working fine.
I tested to see if the connection is getting through the proxy and it is (of course without the user and pass). I noticed the calls in the logs of the proxy server.
My question is - does anyone encounter this before? Do I have to somehow pass the host, port, user, pass to the HttpClient from the IDE? If not, why does it work without authentication and not working with it?

Some additional info would be that the connectivity to that specific website is made through a service layer that is imported as a maven depedency in the project (also written by me). The funny part is that I use the exact same service layer for the Eclipse plugin, but also for an Intellij plugin and in the Intellij one, everything is working properly and I don't get the 407 Authentication Required. (the calls are made exactly the same because they both use the same service layer).

Any ideas would be very helpful!
Thanks alot! :)
Re: Eclipse plugin not using proxy (407 authentication required) [message #1862656 is a reply to message #1862292] Tue, 19 December 2023 11:23 Go to previous messageGo to next message
Dan Moldoveanu is currently offline Dan MoldoveanuFriend
Messages: 4
Registered: May 2023
Junior Member
Hello, any ideas? I would appreciate it a lot!
Re: Eclipse plugin not using proxy (407 authentication required) [message #1862758 is a reply to message #1862656] Thu, 28 December 2023 02:11 Go to previous messageGo to next message
danson pasquale is currently offline danson pasqualeFriend
Messages: 1
Registered: July 2023
Junior Member
Greetings, do you have any suggestions? Please know how much I would value it!



Re: Eclipse plugin not using proxy (407 authentication required) [message #1863318 is a reply to message #1862758] Thu, 25 January 2024 19:29 Go to previous message
Rolf Theunissen is currently offline Rolf TheunissenFriend
Messages: 260
Registered: April 2012
Senior Member
Been a while that I was in Eclipse, proxy issues are always tricky because hardly any developer had accès to a proxy environment.

You give very little information about your implementation. What is the Eclipse version, on which OS are you developing?

On Windows you might run into this issue https://github.com/eclipse/ecf/issues/73
Previous Topic:Is there a way to add a toolbar item right beside quickaccess
Next Topic:Run multiple instances of an RCP product/applications
Goto Forum:
  


Current Time: Wed Dec 04 12:04:48 GMT 2024

Powered by FUDForum. Page generated in 0.02964 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top