MISP / misp-dashboard

A live dashboard for a real-time overview of threat intelligence from MISP instances
GNU Affero General Public License v3.0
192 stars 66 forks source link

Too many redirects cause inability to display #154

Closed f47sh33p closed 3 years ago

f47sh33p commented 3 years ago

I set up the misp-dashboard as per the manual. I installed MISP and misp-dashboard on the same server. Therefore, I did not change the config.conf.

When I started the program and accessed it, it did not display correctly. I tried to run it with curl and found that many redirects occurred. The result was as follows.

image

What settings should I make to resolve this?

f47sh33p commented 3 years ago

There seems to be a problem with the login process. After commenting out all @login_required, the dashboard was displayed successfully. image

mokaddem commented 3 years ago

Hello, This tool can be useful to diagnose the issue. My guess is you haven't properly configured config.conf and are trying to use secure cookie with SSL disabled or badly configured. Please review the setting and let me know if it solved your issue. Thanks!

f47sh33p commented 3 years ago

Hello Thanks for the advice. I modified the config.cfg and it worked!

$ diff config/config.cfg.org config/config.cfg
16c16
< session_cookie_secure = True
---
> session_cookie_secure = False

Many thanks!