API Access from https failed #1912
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#1912
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi there,
I received the following error on a fresh vikunja installation.
In Chrome Developer Console
FWIW I set the whole thing up with traefik, docker compose and vikunja. CORS defaults to true. Perhaps you would have an idea where this issue comes from?
Does it work? Are you able to use the frontend?
No, it didn't work, as the frontend could not communicate with the backend
Can you show your config? Did you configure an API Url in the frontend container?
Sorry, upon closer inspection, chrome cached a misconfigured API frontend page, and I couldn't get it to work. However, when I switch to a different profile, it will work. Do you have any suggestion on how to clearing the cache? I unregistered the workers but it still didn't work.
If you manually changed the api URL in the frontend, it is saved in local storage. But you should be able to just change it back.
Does it work if you open the page in a private window?
Sadly manually changing the API URL doesn't work if I refresh the page. I have to do a hard reset in developer tools to get it working correctly.
You mean in local storage? That's where the api url is stored when manually changed.
Just to be sure we're on the same page here, you're changing the API url in the frontend here:
and then in the input field that pops up after clicking on "change" - is that correct?
exactly, yes
Can you reproduce that on try?
Huh I failed to reproduce that on try. FWIW I first used the env variable
VIKUNJA_API_URL
to a wrong value. Then I removed the env and restarted from docker compose, but it stuck to the chrome. Firefox and safari worked fine though.That sounds like the problem is solved?
Yep, I'll close it for now. Thanks for the help.