Comments (13)
Can you show your .env file please?
from watcher.
Please look this issue: #8
from watcher.
After changing the file you need to do this:
docker-compose down
docker-compose up
from watcher.
# Time Zone
TZ=Europe/Brussels
# SECURITY WARNING: In production please put DJANGO_DEBUG environment variable to False
DJANGO_DEBUG=False
# SECURITY WARNING: keep the secret key used in production secret!
# use 'openssl rand -base64 33' to generate
DJANGO_SECRET_KEY=xxxxxxxxxxx
# In case of "Bad Request" Error when accessing Watcher web interface.
# Fill this variable with your Watcher Server Instance IP.
# It is limited to a single IP address. Please use this syntax: ALLOWED_HOST=X.X.X.X
ALLOWED_HOST=192.168.240.10
# DJANGO EMAIL CONFIGURATION
EMAIL_FROM=xxxxx
SMTP_SERVER=xxxxxxx
WATCHER_URL=https://xxxxxx
# THE HIVE SETUP
THE_HIVE_URL=https://xxxxxxx
THE_HIVE_KEY=xxxxxxxx
THE_HIVE_CASE_ASSIGNEE=xavier
# MISP Setup
MISP_URL=https://xxxxxxxx
MISP_VERIFY_SSL=False
MISP_KEY=xxxxxxxxx
# Optional
MISP_TICKETING_URL=
# LDAP Setup
AUTH_LDAP_SERVER_URI=
AUTH_LDAP_BIND_DN=
AUTH_LDAP_BIND_PASSWORD=
AUTH_LDAP_BASE_DN=
AUTH_LDAP_FILTER=(uid=%(user)s)
# Searx Setup
SEARX_HOSTNAME=10.10.10.3:8080
SEARX_PROTOCOL=http://
# automaticaly update settings to the new version
# comment this line if you made / will make some modifications to the settings
SEARX_COMMAND=-f
# If you have a proxy, please fill these variables
HTTP_PROXY=
HTTPS_PROXY=
from watcher.
The configuration seems okay...
Please do this:
-
Set
DJANGO_DEBUG
toTrue
-
docker-compose down
-
docker-compose up
-
Try to access Watcher via FQDN and upload a screenshot here.
Thx
from watcher.
from watcher.
Okay, so as you can see ALLOWED_HOST
variable is set to 192.168.240.10
.
So you need to add the IP value that you have hidden "You may need to add X.X.X.X to ALLOWED_HOST"
from watcher.
But the hidden value is my FQDN... That's why I don't understand ;-)
Sorry, I had to mention this immediately
from watcher.
The condition to be satisfied is that the host header (or X-Forwarded-Host if USE_X_FORWARDED_HOST is enabled) should match one of the values in ALLOWED_HOSTS.
from watcher.
Try to put your FQDN instead.
from watcher.
Or you can do this: ALLOWED_HOST=*
but it is less secure...
from watcher.
It worked with the FQDN set as allowed_host!
Nope, no "*" ;-)
Tx!
from watcher.
I updated the documentation related to this issue: 42a632e
from watcher.
Related Issues (20)
- Bad Request (400)
- [Improvements] SMTP auth/TLS? HOT 2
- Scrape error Watcher HOT 10
- Unknown
- Cannot create super user HOT 3
- searx dontainer restart always HOT 4
- Word Cloud and Trendy Words are not populating HOT 2
- [Improvements] Data Leak Keywords - RegEX support
- Error response from daemon: pull access denied for searx/searx-checker, repository does not exist HOT 2
- searx-checker: The image for the service you're trying to recreate has been removed. HOT 2
- Monitoring certificate SSL request (certstream) HOT 1
- Watcher does not respond to the configuration change for the host address in the .env file. HOT 1
- Twitter Feeds are no longer actualised using latest docker build HOT 1
- Question: Monitor for information leaks -> what sources? HOT 3
- Question: Move to 7/7 days and 24/24h HOT 2
- [ Feature request ] Add THE_HIVE_VERIFY_SSL HOT 1
- MySQLdb._exceptions.OperationalError: Illegal mix of collations HOT 6
- Mastodon support HOT 3
- Monitor products or companies HOT 1
- Twitter feeds stopped working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from watcher.