Re: [graylog2] graylog-server 2.0.1 not working through reverse proxy

2016-05-30 Thread Martin René Mortensen
Thank you, but you might want to revise that. localhost isnt enough, you need to be able to specify normal proxy exclusions, like .domain. If you have multiple graylog servers they should not use proxy to communicate. Brgds. Martin On Monday, 30 May 2016 14:30:02 UTC+2, Dennis Oelkers wrote:

Re: [graylog2] graylog-server 2.0.1 not working through reverse proxy

2016-05-30 Thread Dennis Oelkers
Hey Martin, we have now implemented a function to disable the proxy for requests going to localhost. It is already merged and will be included in the next release of Graylog. Thanks for your support, D. > On 27.05.2016, at 12:19, Dennis Oelkers wrote: > >> On

Re: [graylog2] graylog-server 2.0.1 not working through reverse proxy

2016-05-27 Thread Dennis Oelkers
> On 27.05.2016, at 10:18, Martin René Mortensen > wrote: > > > On Friday, 27 May 2016 09:39:46 UTC+2, Dennis Oelkers wrote: > Do you have the http_proxy_uri configuration directive set in your config > file, by any chance? > > ah yes, I do, if it uses the

Re: [graylog2] graylog-server 2.0.1 not working through reverse proxy

2016-05-27 Thread Martin René Mortensen
On Friday, 27 May 2016 09:39:46 UTC+2, Dennis Oelkers wrote: > > Do you have the http_proxy_uri configuration directive set in your config > file, by any chance? > > ah yes, I do, if it uses the http_proxy to access its internal interfaces, that would cause these errors - I see. The response

Re: [graylog2] graylog-server 2.0.1 not working through reverse proxy

2016-05-27 Thread Dennis Oelkers
Do you have the http_proxy_uri configuration directive set in your config file, by any chance? The response you are getting from the server for the /cluster/metrics/multiple call implies that it cannot connect back to itself (the response for the node id is null), although you can do the call

Re: [graylog2] graylog-server 2.0.1 not working through reverse proxy

2016-05-26 Thread Martin René Mortensen
On Thursday, 26 May 2016 17:20:44 UTC+2, Dennis Oelkers wrote: > > What happens when you do something like: > > curl -XPOST -u admin -v -H "Content-Type: application/json" -d > '{"metrics": []}' http://localhost:12900/cluster/metrics/multiple > > looks good: * Trying 127.0.0.1... *

Re: [graylog2] graylog-server 2.0.1 not working through reverse proxy

2016-05-26 Thread Dennis Oelkers
What happens when you do something like: curl -XPOST -u admin -v -H "Content-Type: application/json" -d '{"metrics": []}' http://localhost:12900/cluster/metrics/multiple and curl -XPOST -u admin -v -H "Content-Type: application/json" -H "Accept: application/json” -d '{"metrics": []}'

Re: [graylog2] graylog-server 2.0.1 not working through reverse proxy

2016-05-26 Thread Martin René Mortensen
Well the POST requests worked with authorization, but said it didnt understand me. I tried with another api request that seemed to work fine when I authenticate properly. # curl -i -X GET http://localhost:12900/system/inputs -u admin Enter host password for user 'admin': HTTP/1.1 200 OK

Re: [graylog2] graylog-server 2.0.1 not working through reverse proxy

2016-05-26 Thread Dennis Oelkers
> On 26.05.2016, at 10:53, Martin René Mortensen > wrote: > Exactly what its saying. but it doesnt make any sense. > 2016-05-26T09:20:46.527+02:00 WARN [ProxiedResource] Unable to call > http://localhost:12900/system/metrics/multiple on node > , result:

Re: [graylog2] graylog-server 2.0.1 not working through reverse proxy

2016-05-26 Thread Martin René Mortensen
On Thursday, 26 May 2016 10:33:03 UTC+2, Dennis Oelkers wrote: > > Hey Martin, > > > On 26.05.2016, at 09:19, Martin René Mortensen > wrote: > > > > After upgrading and reconfiguring my apache proxy for the new > graylog-server 2.0.1 according to >

Re: [graylog2] graylog-server 2.0.1 not working through reverse proxy

2016-05-26 Thread Dennis Oelkers
Hey Martin, > On 26.05.2016, at 09:19, Martin René Mortensen > wrote: > > After upgrading and reconfiguring my apache proxy for the new graylog-server > 2.0.1 according to > http://docs.graylog.org/en/2.0/pages/configuring_webif.html I can get it to > login

[graylog2] graylog-server 2.0.1 not working through reverse proxy

2016-05-26 Thread Martin René Mortensen
After upgrading and reconfiguring my apache proxy for the new graylog-server 2.0.1 according to http://docs.graylog.org/en/2.0/pages/configuring_webif.html I can get it to login and see messages, but some pages are blank or wont load. In web browser debug mode I can see It seems that graylog