Page 1 of 1

Login with FQDN name

Posted: 20 Sep 2019, 22:07
by hboxhorn
I have no problem logging into the dynfi server if I use in my browser a IP address. If I use then instead of the IP address the FQDN name I get the error message that I have an "error fteching token!".

What could be the reason for it ?

Thanks

Re: Login with FQDN name

Posted: 24 Sep 2019, 12:24
by Petrus
Hello hboxhorn

Are you running DynFi behind HTTP proxy (like Nginx, Apache HTTP serveur) or you're trying to access DynFi by FQDN directly ?

Re: Login with FQDN name

Posted: 24 Sep 2019, 16:39
by gregober
You should normaly be able to access your dynfi install using either :
http://your.ip.address:9090
or
http://your.fqdn.domain:9090

If you could provide us with more contextual info, we would be able to help you.

Re: Login with FQDN name

Posted: 24 Sep 2019, 20:01
by hboxhorn
I connect directly to the Server without any proxy in between.

Re: Login with FQDN name

Posted: 25 Sep 2019, 14:27
by Petrus
Hi hboxhorn

In case you haven't touched ipAndPort, this should work.
However, if you have set ipAndPort in the configuration (e.g. to bind only to the public IP address), then you should also configure corsAllowOrigin (https://dynfi.com/dynfi-docs/configurat ... lloworigin), e.g. set it to *, so that:
corsAllowOrigin=*
You should be able to limit that to your FQDN.
Let me know if that helped, please.

Re: Login with FQDN name

Posted: 27 Sep 2019, 18:51
by hboxhorn
Hello Petrus,

setting the corsAllowOrigin=* was the solution :)

Thank you so much !
Herb