E.filter is not a function Error and Info window is empty

http://10.10.2.37:3456/api/v1/info

{“version”:“0.13.1+71-fba333866d”,“frontend_url”:"",“motd”:"",“link_sharing_enabled”:true,“max_file_size”:“20MB”,“registration_enabled”:true,“available_migrators”:null,“task_attachments_enabled”:true,“enabled_background_providers”:null,“totp_enabled”:true}

Do you have any errors in the browser console? What requests does the frontend make? (From the network tab of the inspection tools)

Now i get the error “missing or malformed jwt”:
1

I’ve pushed a possible fix, please update to the latest version and try again. You might need to clear your browser cache afterwards.

Updated, restarted apache2 and cleared my cache.

Still the same error in the browser console?

4

Okay, well that does not make sense. Have you tried with another browser? (It should work with chrome nevertheless, just trying to find out where the problem is located)

I see a request to /api/v1/tasks/all in your network pane which has a return code of 200 which should not work since you’re not logged in. Maybe that is the cause of the e.filter is not a function error message, but that should not prevent you from logging in. Could you show me the response of the request in the network tab nevertheless?

I just downloaded Firefox… same problem. The error message “e.filter is not a function” appears. I just created an account (no response if creation was successfol or not?!). After reloading the registration page, i got to the following page:

On this page i think i cant do anything.

What’s interesting about this is you’re experiencing bugs fixed since quite some time. You’re using the newest version of the frontend, so it should work.

no response if creation was successfol or not?!

You either get logged in directly or get a message if you need to confirm your email address.

There should be a token saved in localstorage now since it appears you’re logged in. Could you send me that? (Via pm if you want)

Are you able to log in through a private browsing window?

Do you have any script blockers enabled that might prevent accessing local storage?

Do you mean the browser local storage? Here:

In a private browsing windows i cant login. If i put my credentials into the fields and click on the login button, it just shows me nothing and i cant login. Even if i reload the page.

Yes, exactly. That token entry should not be undefined which seems like there’s a bug somewhere.

What requests happen if you’re logging in? What data is sent to them, what response comes back?

Can you try removing the token entry from localstorage and trying again? Though if that works, it should also work in private browsing mode.

If i delete the token and try to login, tho token will be regenerated with the same values (undefined).

What does the api return from the /api/v1/login request?

I need to see the post payload and response from the request in the networking tab.

I’ve just fixed a bug which might have caused the issue (https://kolaente.dev/vikunja/frontend/commit/5283f006f591e915dcb0262d5af91b6e6152b1dc). Could you update the frontend and try again?

How can i get the changes?

Just update the same way you did before, getting the updated version from dl.vikunja.io (https://dl.vikunja.io/frontend/vikunja-frontend-master.zip).

So, we did a bit more debugging and it seems to have been a mix of configuring the api url in the frontend and registration not working (which I’ve fixed in https://kolaente.dev/vikunja/frontend/commit/5283f006f591e915dcb0262d5af91b6e6152b1dc). It works now.

1 Like