ProxyPass -> worker xyz already used by another worker

Alles, was den Apache betrifft, kann hier besprochen werden.

ProxyPass -> worker xyz already used by another worker

Postby vogone » 19. January 2011 11:25

Hallo Apache Friends,

ich bekomme die Warnung :
worker https://server.de:9999/X/ already used by another worker

Auszug aus der config:

ProxyPass /path1/X https://server.de:9999/X/
ProxyPass /path2/X https://server.de:9999/X/

Was mach ich falsch? Wie wäre es richtig?

Gruß
Vogone
vogone
 
Posts: 10
Joined: 10. January 2011 10:02

Re: ProxyPass -> worker xyz already used by another worker

Postby Nobbie » 19. January 2011 12:32

Einen ProxyPass weglassen.
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: ProxyPass -> worker xyz already used by another worker

Postby vogone » 19. January 2011 12:49

.... aber wie wird dann der richtige Einsprungpunkt gefunden?
vogone
 
Posts: 10
Joined: 10. January 2011 10:02

Re: ProxyPass -> worker xyz already used by another worker

Postby Nobbie » 19. January 2011 19:55

Die Frage ich verstehe ich leider nicht.

Man benutzt Reverse Proxys dazu, um über den "Umweg" eines vorgeschalteten Apaches einen meistens sonst nicht öffentlich erreichbaren Server doch zu erreichen. Anscheinend mag es Apache nicht (wobei das ja zunächst nur eine Warnung ist - ist das ein Fehler? Ein Abbruch?) und motzt es zumindest an, wenn man zwei verschiedene Pfade als ReverseProxy benutzt (was ja zugebenerweise keinen Sinn hat).
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: ProxyPass -> worker xyz already used by another worker

Postby vogone » 20. January 2011 10:11

Hi!

Wenn z.B. unterschiedliche Pfade zu unterschiedlichen Arten der Anmeldung führen, muss man irgendwo unterscheiden.
das habe ich noch dazu gefunden:

https://issues.apache.org/bugzilla/show ... i?id=44350

The second configuration(s) will not cause this error since the only reason for
this error is multiple ProxyPass directives with the same URL backend.

i.e
ProxyPass /xyz http://webproxy/app1/
ProxyPass /abc http://webproxy/app1/

should cause it.

Note that the above is not a problem with ProxyPass, but it does warn you
in the interests of making sure that it is not a misconfiguration, but lets
you do it any way.

Wenn ich das richtig interpretiere, kann ich die Warnung ignorieren.
vogone
 
Posts: 10
Joined: 10. January 2011 10:02

Re: ProxyPass -> worker xyz already used by another worker

Postby Nobbie » 20. January 2011 10:55

vogone wrote:Wenn z.B. unterschiedliche Pfade zu unterschiedlichen Arten der Anmeldung führen, muss man irgendwo unterscheiden.


Das verstehe ich erneut nicht. Wie will denn der Reverse Proxy selbst unterscheiden, dass er hier verschiedene Anmeldungen durchführen muss, nur weil er über verschiedene Pfade angesprungen wurde? Dieser Pfad steht dem Backend doch gar nicht zu Verfügung, d.h. er weiß überhaupt nicht, über welchen Pfad der Request kommt?!

vogone wrote:das habe ich noch dazu gefunden:

https://issues.apache.org/bugzilla/show ... i?id=44350

The second configuration(s) will not cause this error since the only reason for
this error is multiple ProxyPass directives with the same URL backend.

i.e
ProxyPass /xyz http://webproxy/app1/
ProxyPass /abc http://webproxy/app1/

should cause it.

Note that the above is not a problem with ProxyPass, but it does warn you
in the interests of making sure that it is not a misconfiguration, but lets
you do it any way.


Na also, 100%ig das, was ich vermutet habe. Es wird zwar angemotzt, aber Apache führt es dennoch aus. Dennoch solltest Du überlegen, ob das eine sinnvolle Konfiguration ist, die Warnung hat schon ihre Berechtigung.
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: ProxyPass -> worker xyz already used by another worker

Postby vogone » 20. January 2011 13:58

... wenn ich nur eine bessere config wüste. :?
vogone
 
Posts: 10
Joined: 10. January 2011 10:02


Return to Apache

Who is online

Users browsing this forum: No registered users and 242 guests