WebODM icon indicating copy to clipboard operation
WebODM copied to clipboard

Error Invalid HTTP_HOST header:

Open AnthonyCoughlin opened this issue 9 years ago • 3 comments

I've recently cloned and updated webodm to run the newest version. Now receiving this error when opening the browser. I'm using windows 10.

Thanks for the help.

webodm_hosterror

AnthonyCoughlin avatar Feb 11 '17 14:02 AnthonyCoughlin

Hi @AnthonyCoughlin thanks for reporting the problem!

This error was introduced from the Django core update. Nice catch!

I have made some changes to settings.py by adding a value of '*' in the ALLOWED_HOSTS variable. This should fix the error you are experiencing.

pierotofy avatar Feb 11 '17 15:02 pierotofy

That's what I read earlier, something like ALLOWED_HOSTS = ['*'] should allow all hosts. Thanks for the quick response @pierotofy.

Running ./webodm.sh update and will attempt to restart WebODM, then let you know the result.

AnthonyCoughlin avatar Feb 11 '17 15:02 AnthonyCoughlin

Up and running! Thanks again for the fast response @pierotofy

AnthonyCoughlin avatar Feb 11 '17 16:02 AnthonyCoughlin