Confusing error messages when using faulty api url #1920

Closed
opened 2022-05-19 18:40:51 +00:00 by dpschen · 3 comments
Member
Was testing this preview branch: https://1939-feature-feature-task-related-tas--vikunja-frontend-preview.netlify.app/
dpschen added the
kind/bug
label 2022-05-19 18:40:51 +00:00

I think this belongs here too:

When setting an api url without /api/v1 it looks like it would work, but it's actually not. This gives an false impression. (Should actually show up with sso login)

grafik

I think this belongs here too: When setting an api url without `/api/v1` it looks like it would work, but it's actually not. This gives an false impression. (Should actually show up with sso login) ![grafik](/attachments/75e18841-2c64-47c9-91fc-47090fcbd5ee)
Owner

@yksflip Your API is not reachable, that's why it won't show the sso login. (Vikunja should give you an error message in that case) The problem is not with the url having or not having the /api/v1 suffix in it.

@yksflip Your API is not reachable, that's why it won't show the sso login. (Vikunja should give you an error message in that case) The problem is not with the url having or not having the `/api/v1` suffix in it.

upsi, I think when I took the screenshot it was actually reachable, after that I was fiddeling around with our deployment and broke it.

You can actually reproduce this on try.vikunja.io:

  1. change the api domain to: https://try.vikunja.io/asdasda
  2. get a positive notice
  3. try to login
  4. http error 405

what I'd expect:

  1. change url to smth invalid
  2. get error notice
upsi, I think when I took the screenshot it was actually reachable, after that I was fiddeling around with our deployment and broke it. You can actually reproduce this on try.vikunja.io: 1. change the api domain to: https://try.vikunja.io/asdasda 2. get a positive notice 3. try to login 4. http error 405 what I'd expect: 1. change url to smth invalid 2. get error notice
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1920
No description provided.