Bad Request (400)
Hi, i installed the docker compose without Caddy, and i get a Bad Request (400). Now what?
Did you set the ALLOWED_HOSTS environment variable? Please check if the value is correct.
How to set it so all connections are allowed? or Localhost for example
You can set it to localhost or you can use * as a wildcard. It's not recommended, but you could.
Alrighty. Well, i use Cloudflare Tunnel for the domains. so i guess i should use the domain ill give it from there?
Yup
Alright. We use Microsoft at work (Teams etc) and not slack. Will this work with that?
Only Slack is supported. You can still use the dashboard for new hires though, but you cannot use the bot. related to https://github.com/chiefonboarding/ChiefOnboarding/issues/262
Alright. Well i entered my domain like this: https://onb.websiteadres.com but it does not work
Try to remove https://
Nope, does not work sadly...
I even opend the port 7777 in the firewall, but it does not show...
Can you try with the wildcard option?
Yes that works. But is it safe that way? haha
I would suggest using the actual domain, but now we at least know that setting is indeed the issue.
If there is a port attached to the domain name, then try with including that too.
Alright. Ill try that. It would be so awesome to have this in a LXC container in proxmox. I just now noticed your the create; well fcking done man! Super vet gedaan!
Ok so. If i install it with *, i can acces it on the pc, but not via the domain configurd via cludflare via the tunnel aiming at the ip+port
I just now noticed your the create; well fcking done man! Super vet gedaan!
Dankje :)
but not via the domain configurd via cludflare via the tunnel aiming at the ip+port
What error do you get there? With * it should be accessible from any domain.
Deze site is niet bereikbaar. I first thought it was the tunnel, but the other stuff works.. hmm
That doesn't sound like an error related to chiefonboarding. something else is probably not right.
Jeah trying to figure out what exactly. btw i did notice not all is translated to Dutch. Will that still come along?
Can you give some examples?
Maybe i need to add HTTP_INSECURE=True? Not sure do, because cloudflare handles the SSL
That might do the trick, feel free to try. Does it hit the logs when you try to access it?
Hmm did replace * with the ip, and then it load, but once i try to login: Verboden (403) CSRF-verificatie mislukt. Aanvraag afgebroken.
U ziet deze melding, omdat deze website vereist dat een CSRF-cookie wordt meegestuurd bij het verzenden van formulieren. Dit cookie is om veiligheidsredenen vereist om er zeker van te zijn dat uw browser niet door derden wordt gekaapt.
Als u cookies in uw webbrowser hebt uitgeschakeld, schakel deze dan weer in, op zijn minst voor deze website, of voor ‘same-origin’-aanvragen.
Meer informatie is beschikbaar met DEBUG=True.
ALso, if i remove the Stack in Docker, it somehow keeps the information. But cant find any Volume attached to it.
Nice.
See this: https://github.com/chiefonboarding/ChiefOnboarding/issues/319
Did you set the BASE_URL correctly? Otherwise, you can also set the CSRF_TRUSTED_ORIGINS to the cloudflare url (this time, it's full url, including https)
But cant find any Volume attached to it.
Info only gets saved in the postgres database. You likely have a pgdata volume.
But cant find any Volume attached to it.
Info only gets saved in the postgres database. You likely have a
pgdatavolume.
Nope, nothing like that in Volumes.
Ok, got it working now! https://prnt.sc/70rFKG0JwDrT
Seems the DNS records did take quite long to update xD