Web Interface not working in chrome only


#1

Hi Community,

I am having a rather strange problem. I am able to login to graylog from both Firefox and Safari using an nginx reverse proxy, but for Chrome I am getting the following:

Can you guide me towards debugging this error?

Cheers,
Abdul


(Jochen) #2

What happens when you open https://gstaging.gtarget.info/api/ in your web browser?
What errors are shown on the “Network” tab of the Developer Console of your web browser?
What’s the URI of your Graylog web interface? Is it also HTTPS?


#3

Hi Jochen,

It is referring to “too many redirects”. Here’s my web configuration:

rest_listen_uri = http://127.0.0.1:9000/api/
web_listen_uri = https://127.0.0.1:9000/

and the nginx configuration is:

server {

   listen 443 ssl default_server;

   server_name gstaging.gtarget.info;

   sub_filter_once     off;

   sub_filter_types    *;

   sub_filter          'http://127.0.0.1:9000' 'https://gstaging.gtarget.info';

   location / {

       proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;

       proxy_set_header    Host $http_host;

       proxy_set_header    X-Forwarded-Server $host;

       proxy_set_header    Accept-Encoding "";

       proxy_set_header    X-Graylog-Server-URL https://gstaging.gtarget.info/api/;

       proxy_pass          http://127.0.0.1:9000;

   }

}

#4

This problem was resolved after clearing Chrome’s history and changing the system time to match my zone. Thanks a lot.
Cheers


(system) #5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.