Re: [galaxy-dev] anybody seen 403s after a recent upgrade?

2013-01-10 Thread Nate Coraor
On Jan 9, 2013, at 3:51 PM, Langhorst, Brad wrote:

 grr - actually - no it's not fixed 
 
 I didn't see it on a few refreshes, but apparently it was temporary - or I 
 was hallucinating.

These problems are tricky to debug because they involve a lot of config 
fiddling and retrying.  I'd suggest setting mod_rewrite to debug:

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriteloglevel

And modifying Galaxy to debug what is received from Apache:

http://lists.bx.psu.edu/pipermail/galaxy-dev/2010-January/001676.html

One other suggestion that has come up in the past: SELinux can interfere with 
Apache/Galaxy communication, so if it's enabled, I would suggest disabling it 
and testing to see if that has an effect.

--nate

 
 
 brad
 On Jan 9, 2013, at 3:27 PM, Brad Langhorst langho...@neb.com
 wrote:
 
 Hmmm
 I reconsulted the docs and commented these lines. All seems well again after 
 an apache restart.  
 I had been running like this for a year or more, and only observed problems 
 after the most recent update
 
 
 #RewriteCond %{IS_SUBREQ} ^false$
 #RewriteCond %{LA-U:REMOTE_USER} (.+)
 #RewriteRule . - [E=RU:%1]
  RequestHeader set REMOTE_USER %{AUTHENTICATE_sAMAccountName}e
 
 I just cargo culted those in to begin with… I don't really know what they do.
 
 
 Brad
 
 On Jan 9, 2013, at 1:21 PM, Nate Coraor n...@bx.psu.edu
 wrote:
 
 On Jan 7, 2013, at 10:43 PM, Langhorst, Brad wrote:
 
 galaxy.web.framework WARNING 2013-01-07 22:06:30,044 User logged in as 
 '(null)' externally, but has a cookie as 'langho...@neb.com' invalidating 
 session
 10.254.254.86 - - [07/Jan/2013:22:06:30 -0400] GET 
 /api/histories/4c8cd68e0b9ed4a7 HTTP/1.1 403 - 
 http://galaxy.neb.com/history; Mozilla/5.0 (Macintosh; Intel Mac OS X 
 10.8; rv:17.0) Gecko/20100101 Firefox/17.0
 
 Hi Brad,
 
 Your proxy server appears to no longer be passing the REMOTE_USER header 
 correctly.  Did anything change there?
 
 --nate
 
 
 i did not observe this before today… but maybe I've screwed things up in 
 my hg fiddling today.
 Did anybody else see this?
 
 manual refreshes work, but automatic ones don't
 
 
 Brad
 --
 Brad Langhorst
 langho...@neb.com
 
 
 
 
 
 ___
 Please keep all replies on the list by using reply all
 in your mail client.  To manage your subscriptions to this
 and other Galaxy lists, please use the interface at:
 
 http://lists.bx.psu.edu/
 
 
 --
 Brad Langhorst
 langho...@neb.com
 
 
 
 
 
 
 --
 Brad Langhorst
 langho...@neb.com
 
 
 
 
 
 


___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/


Re: [galaxy-dev] anybody seen 403s after a recent upgrade?

2013-01-09 Thread Nate Coraor
On Jan 7, 2013, at 10:43 PM, Langhorst, Brad wrote:

 galaxy.web.framework WARNING 2013-01-07 22:06:30,044 User logged in as 
 '(null)' externally, but has a cookie as 'langho...@neb.com' invalidating 
 session
 10.254.254.86 - - [07/Jan/2013:22:06:30 -0400] GET 
 /api/histories/4c8cd68e0b9ed4a7 HTTP/1.1 403 - 
 http://galaxy.neb.com/history; Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; 
 rv:17.0) Gecko/20100101 Firefox/17.0

Hi Brad,

Your proxy server appears to no longer be passing the REMOTE_USER header 
correctly.  Did anything change there?

--nate

 
 i did not observe this before today… but maybe I've screwed things up in my 
 hg fiddling today.
 Did anybody else see this?
 
 manual refreshes work, but automatic ones don't
 
 
 Brad
 --
 Brad Langhorst
 langho...@neb.com
 
 
 
 
 
 ___
 Please keep all replies on the list by using reply all
 in your mail client.  To manage your subscriptions to this
 and other Galaxy lists, please use the interface at:
 
 http://lists.bx.psu.edu/


___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/


[galaxy-dev] anybody seen 403s after a recent upgrade?

2013-01-07 Thread Langhorst, Brad
galaxy.web.framework WARNING 2013-01-07 22:06:30,044 User logged in as '(null)' 
externally, but has a cookie as 'langho...@neb.commailto:langho...@neb.com' 
invalidating session
10.254.254.86 - - [07/Jan/2013:22:06:30 -0400] GET 
/api/histories/4c8cd68e0b9ed4a7 HTTP/1.1 403 - http://galaxy.neb.com/history; 
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20100101 
Firefox/17.0

i did not observe this before today… but maybe I've screwed things up in my hg 
fiddling today.
Did anybody else see this?

manual refreshes work, but automatic ones don't


Brad
--
Brad Langhorst
langho...@neb.commailto:langho...@neb.com





___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/