redmine behind pound proxy
Added by Dirk Goj about 11 years ago
Hi there.
Having a couple of problems since upgrading redmine from 1.2.1 to 2.3.2 few weeks ago.
We're running redmine behind a pound proxy. Actual there're problems when users try to unwatch tickets, or sometimes, when a file is to be attached to a ticket.
Already switched on the debug logging, but found nothing related to those problems. Then we used firebug to get following message (where mgmt03 is the machine redmine is running on) :
This method may not be used
HTTP Error: 501
Pound@mgmt03
No I think that many of the probls depends on pound and found following in the pound log:
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /stylesheets/application.css?1380122770 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /stylesheets/jquery/jquery-ui-1.9.2.css?1380122770 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /javascripts/jstoolbar/jstoolbar-textile.min.js?1380122770 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /stylesheets/application.css?1380122770 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /javascripts/jstoolbar/lang/jstoolbar-de.js?1380122770 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /javascripts/jstoolbar/jstoolbar-textile.min.js?1380122770 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /javascripts/i18n/jquery.ui.datepicker-de.js?1380122769 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /javascripts/jstoolbar/lang/jstoolbar-de.js?1380122770 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /javascripts/attachments.js?1380122769 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /javascripts/i18n/jquery.ui.datepicker-de.js?1380122769 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /javascripts/context_menu.js?1380122769 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /javascripts/attachments.js?1380122769 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /javascripts/context_menu.js?1380122769 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /images/delete.png?1380122768 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:09 mgmt03 pound: 192.168.108.21 GET /images/delete.png?1380122768 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:10 mgmt03 pound: 192.168.108.21 GET /images/link_break.png?1380122768 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:10 mgmt03 pound: 192.168.108.21 GET /images/link_break.png?1380122768 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:10 mgmt03 pound: 192.168.108.21 GET /stylesheets/jstoolbar.css?1380122770 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:10 mgmt03 pound: 192.168.108.21 GET /stylesheets/jstoolbar.css?1380122770 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:11 mgmt03 pound: 192.168.108.21 GET /stylesheets/context_menu.css?1380122770 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:11 mgmt03 pound: 192.168.108.21 GET /javascripts/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js?1380122769 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:11 mgmt03 pound: 192.168.108.21 GET /stylesheets/context_menu.css?1380122770 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:11 mgmt03 pound: 192.168.108.21 GET /javascripts/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js?1380122769 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:11 mgmt03 pound: 192.168.108.21 GET /images/edit.png?1380122768 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:11 mgmt03 pound: 192.168.108.21 GET /images/edit.png?1380122768 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:12 mgmt03 pound: 192.168.108.21 GET /javascripts/application.js?1380122769 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:12 mgmt03 pound: 192.168.108.21 GET /javascripts/application.js?1380122769 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:12 mgmt03 pound: 192.168.108.21 GET /images/add.png?1380122768 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:12 mgmt03 pound: 192.168.108.21 GET /images/add.png?1380122768 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:12 mgmt03 pound: 192.168.108.21 GET /images/calendar.png?1380122768 HTTP/1.1 - HTTP/1.1 401 Authorization Required
Oct 21 12:44:12 mgmt03 pound: 192.168.108.21 GET /images/calendar.png?1380122768 HTTP/1.1 - HTTP/1.1 304 Not Modified
Oct 21 12:44:26 mgmt03 pound: (7fed04857700) e501 bad request "DELETE /watchers/watch?object_id=22433&object_type=issue HTTP/1.1" from 192.168.108.21
Oct 21 12:46:34 mgmt03 pound: (7fed051bc700) e501 bad request "DELETE /watchers/watch?object_id=22433&object_type=issue HTTP/1.1" from 192.168.108.21
Oct 21 12:46:34 mgmt03 pound: (7fed05b62700) e501 bad request "DELETE /watchers/watch?object_id=22433&object_type=issue HTTP/1.1" from 192.168.108.21
Oct 21 12:46:34 mgmt03 pound: (7fed0495b700) e501 bad request "DELETE /watchers/watch?object_id=22433&object_type=issue HTTP/1.1" from 192.168.108.21
Oct 21 12:46:35 mgmt03 pound: (7fed03ef2700) e501 bad request "DELETE /watchers/watch?object_id=22433&object_type=issue HTTP/1.1" from 192.168.108.21
Filtered out the log-entries comming from me machine.
Already tried to google something, but searchung for "pound" brings a lot of stuff and in combination with redmine as search term there's nothing really helpful :)
May anyone having a hint or tip or solution ;)
Currently used versions:
Pound:
pound -V
starting...
Version 2.6
Configuration switches:
--enable-cert1l
Redmine:
Environment:
Redmine version 2.3.2.stable.12119
Ruby version 1.8.7-p352 (2011-06-30) [x86_64-linux]
Rails version 3.2.13
Environment production
Database adapter MySQL
Redmine plugins:
redmine_http_auth 0.3.0-dev-redmine-2.x
Thx for any suggestion....
Dirk
Replies (2)
RE: redmine behind pound proxy - Added by Jan Niggemann (redmine.org team member) about 11 years ago
Can you please post your pound configuration, especially the backend settings for redmine and the listener settings?
The use of the config switch enable-cert makes me guess you're using a HTTPS listener?
Pound is usually playing nice, I suspect it has something to do with the http_auth plugin...
7fed04857700
What's this?
RE: redmine behind pound proxy - Added by Dirk Goj about 11 years ago
Hi Jan.
Already found something in the pound.cfg missing...
Added the line xHTTP 2 to the ListenHTTP-Section and at the moment watch/unwatch a ticket is working...
Now here're the redmine-sections of the pound config:
_User "pound"
Group "pound"
Control "/var/lib/pound/pound.cfg"
LogLevel 1
LogFacility local1
TimeOut 30000
ConnTO 300
- redmine
ListenHTTP
Address 192.168.110.19
Port 80
xHTTP 2
Err414 "/data/web/pound/Err414.html"
Err500 "/data/web/pound/Err500.html"
Err501 "/data/web/pound/Err501.html"
Err503 "/data/web/pound/Err503.html"
Service
Redirect "https://redmine.hmm.lan"
End
End
ListenHTTPS
Address 192.168.110.19
Port 443
xHTTP 2
Cert "/data/config/common/redmine.pem"
Err414 "/data/web/pound/Err414.html"
Err500 "/data/web/pound/Err500.html"
Err501 "/data/web/pound/Err501.html"
Err503 "/data/web/pound/Err503.html"
Service
HeadRequire "Host: redmine.hmm.lan"
BackEnd
Address 127.0.0.1
Port 10000
End
End
Service
HeadDeny "Host: redmine.hmm.lan"
Redirect "https://redmine.hmm.lan"
End
End_
May it helps...
The 7fed04857700 comes from the pound-process, but I don't know what it means :) Seems to identify the connection pipe internaly used by pound - not sure :)
Thx for your suggestions and help. Keep you informed...
Dirk