eclipse-platform / eclipse-platform/eclipse.platform

Proxy messages written to log that cannot be satisfied

Offen
#258 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
165
Forks
174
Ø Merge
2 T. 8 Std.
Gemergte PRs (30 T.)
22

Beschreibung

Using the `org.eclipse.core.net`and `org.eclipse.ui.net` bundles in Eclipse or in an RCP application if proxy settings are set in Preferences each time there are messages such as:

```
!MESSAGE System property https.proxyHost is not set but should be 192.168.1.10.
!MESSAGE System property https.proxyPort is not set but should be 3128.
!MESSAGE System property https.proxyHost is not set but should be 192.168.1.10.
!MESSAGE System property https.proxyPort is not set but should be 3128.
```

I've traced this to a check the code does here:

https://github.com/eclipse-platform/eclipse.platform/blob/master/team/bundles/org.eclipse.core.net/src/org/eclipse/core/internal/net/ProxyType.java

I've tried setting these system properties manually but then get different messages (even if the system has proxy settings):

```
!MESSAGE The HTTP proxy is enabled in the preferences but disabled in the system settings
!MESSAGE The SSL proxy is enabled in the preferences but disabled in the system settings
!MESSAGE The SSL proxy is enabled in the preferences but disabled in the system settings
```

So how does one satisfy these requirements?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginnen Sie mit team/bundles/org.eclipse.core.net/src/org/eclipse/core/internal/net/ProxyType.java und prüfen Sie, wie die Proxy-Einstellungen von org.eclipse.core.net und org.eclipse.ui.net gegen die Systemeigenschaften https.proxyHost und https.proxyPort geprüft werden. Reproduzieren Sie die protokollierten Meldungen mit aktivierten Proxy-Einstellungen und bestimmen Sie anschließend, wie die Abweichung zwischen den Einstellungen und den Systemeinstellungen erwartungsgemäß behandelt werden soll; abgeschlossen ist die Aufgabe, wenn die Proxy-Konfiguration keine nicht erfüllbaren oder irreführenden Meldungen mehr erzeugt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
networking
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.