*** gvincent has joined #ara | 06:44 | |
*** gvincent has quit IRC | 07:30 | |
*** altlogbot_2 has quit IRC | 11:05 | |
*** altlogbot_2 has joined #ara | 11:05 | |
ara-slack | alain: When I add this to my docker compose ( in the ara-api container) | 13:59 |
---|---|---|
ara-slack | alain: I still get : | 14:01 |
ara-slack | ara-api_1 | 2019-07-20 14:00:50,086 ERROR django.security.DisallowedHost: Invalid HTTP_HOST header: 'ara-api:8000'. You may need to add 'ara-api' to ALLOWED_HOSTS. | 14:01 |
ara-slack | But now I also get : | 14:01 |
ara-slack | ara-api_1 | 2019-07-20 14:01:42,376 ERROR django.security.DisallowedHost: Invalid HTTP_HOST header: 'localhost:8000'. You may need to add 'localhost' to ALLOWED_HOSTS. | 14:01 |
ara-slack | When called from the ara-web ( which I did not get before ) | 14:02 |
ara-slack | alain: And from inside the container ( ara-api ) - I see that the environment variable IS set | 14:03 |
ara-slack | alain: I have also tried ARA_ALLOWED_HOSTS=ara-api;localhost;127.0.0.1;::1 - it does the same. | 14:04 |
ara-slack | alain: I have not had a chance to look at this since last time ... but I need to take the time now ( note - I also get the error that @aron.pedersen is mentioning.) | 14:06 |
ara-slack | alain: I have about an hour to work on this until I'm sure I will not wake the neighbors mowing the lawn :slightly_smiling_face: | 14:06 |
ara-slack | alain: And I know this reflects my lack of DJANGO knowledge - so I'm aware I may be missing off the rails completely. | 14:08 |
ara-slack | alain: And I know this reflects my lack of DJANGO knowledge - so I'm aware I may be off the rails completely. | 14:08 |
ara-slack | alain: And /root/.ara/server/settings.yaml do not reflect the change I made | 14:16 |
ara-slack | alain: Reading up on Dynconf | 14:25 |
ara-slack | alain: Ok - found that the 'settings.yaml' file is created with my settings ( ARA_ALLOWED_HOSTS='[ "ara-api", "localhost", "127.0.0.1", "::1" ]') when I run ara-manage migrate ( so at container build time ) - but they do not seem to be read in | 15:06 |
ara-slack | alain: Alright ... need a break | 15:16 |
*** logan- has quit IRC | 22:19 | |
*** logan- has joined #ara | 22:20 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!