Giter Club home page Giter Club logo

Comments (6)

Ranis1199 avatar Ranis1199 commented on May 25, 2024 1

Nvm, i found mistake. Everything is perfect. Thanks for editing ALLOWED HOST thing.

from watcher.

Felix83000 avatar Felix83000 commented on May 25, 2024

It is restricted to one IP and you can't use brackets, commas or quotation marks in the ALLOWED_HOST variable.
Did you use this syntax:

ALLOWED_HOST=X.X.X.X

from watcher.

Felix83000 avatar Felix83000 commented on May 25, 2024

I updated ALLOWED_HOST documentation in the .env file.

Is everything working now?

from watcher.

Ranis1199 avatar Ranis1199 commented on May 25, 2024

@Felix83000 i've tried this before, didn't work as well. Have tried from pc, laptop and my windows server, still can't get access

Here is my .env file, am i doing something wrong?

TZ=Europe/Paris

# 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={my secret key}


# In case of "Bad Request" Error when accessing Watcher web interface:
# Fill this variable with your Watcher Server Instance IP:
ALLOWED_HOST={My allowed host in X.X.X.X. format}

# DJANGO EMAIL CONFIGURATION
EMAIL_FROM=
SMTP_SERVER=
WATCHER_URL=http://example.url

# THE HIVE SETUP
THE_HIVE_URL=
THE_HIVE_KEY=
THE_HIVE_CASE_ASSIGNEE=watcher

# MISP Setup
MISP_URL={my misp url in X.X.X.X. format}
MISP_VERIFY_SSL=False
MISP_KEY={my misp api in XXXXXXXXXXXXXXXXXXXXXX format}
# 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.

Felix83000 avatar Felix83000 commented on May 25, 2024

The .env file seems to be correct.

Can you access it in local at the http://0.0.0.0:9002 address?

from watcher.

Ranis1199 avatar Ranis1199 commented on May 25, 2024

@Felix83000 i use server version, but at least i see logs. So i think it works.
image

I also have tried to check port 9002 if it's listening, and yeah it works.

root@admin:~# telnet X.X.X.X. 9002
Trying  X.X.X.X...
Connected to  X.X.X.X.

from watcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.