What reasons could there be that the Vikunja Electron app can not connect to my instance, even though it works just fine in browser? Is there some diagnostic output to use?
If this is helpful for diagnostics, I would be happy to share my instance URL in a PM, but I am not comfortable to do so publicly-
Do you get an error?
You can press ctrl + shift + i to get a browser console, then check the network tab.
I am receiving
“Could not find or use Vikunja installation at “URL”. Please check if the url has the correct format and you can reach it when accessing it directly and try again.”
There seem to be two requests to …/api/v1/info: One on Port 443, returning a CORS error,
and one on Port 3456, which does not seem to get through and aborts after a long time. I am running Vikunja behind a Apache reverse proxy, and the 3456 port should be blocked by the firewall.
The origin header is set to http://127.0.0.1:45735, by the way.
Which port is your vikunja instance reachable at? Did you enable cors?
My vikunja instance is reachable at 443 (as usual for https). I did not enable cors. Is that necessary for the App to work?
Yes.
Maybe it would be a good idea to state in the docs, that this is necessary for the app to work?
Thanks for the hint! I’ve added a note on Desktop Packages, I thought there was one already.