Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DisallowedHost at #157

Open
Pfantom87 opened this issue Dec 21, 2024 · 5 comments
Open

DisallowedHost at #157

Pfantom87 opened this issue Dec 21, 2024 · 5 comments

Comments

@Pfantom87
Copy link

Pfantom87 commented Dec 21, 2024

How do I add an ip address to the exceptions?
error

DisallowedHost at /
Invalid HTTP_HOST header: 'my_ip:1515'. You may need to add 'my_ip' to ALLOWED_HOSTS.
my_ip My address is there

deployed on a terminal server without an interface
I connect from a remote computer for configuration. Returns this error

@Pfantom87
Copy link
Author

Partially repaired
Now the error
/var/run/charon.vici doesn't exist!

@tobiasbrunner
Copy link
Member

Either the IKE daemon is not running or the file is in a different location.

@yolowex
Copy link

yolowex commented Jan 8, 2025

I have the same problem, tried adding the IP to ALLOWED_HOSTS at strongMan/settings/deployment.py but it didn't make a difference.

@tobiasbrunner
Copy link
Member

I have the same problem, tried adding the IP to ALLOWED_HOSTS at strongMan/settings/deployment.py but it didn't make a difference.

Not sure if that file is ever used. As far as I can tell, it's mostly the local (which does not override the value set in base) and production (which has a wildcard set) settings.

@yolowex
Copy link

yolowex commented Jan 8, 2025

I have the same problem, tried adding the IP to ALLOWED_HOSTS at strongMan/settings/deployment.py but it didn't make a difference.

Not sure if that file is ever used. As far as I can tell, it's mostly the local (which does not override the value set in base) and production (which has a wildcard set) settings.

I created the ALLOWED_HOSTS in the local.py and added my IP and now it workes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants