Yellowing throws "Error loading dashboard" after login on Firefox and Incognito modes

Machiel Treffers shared this question 13 days ago
Answered

Hi all,

I currently experience an issue with our Yellowfin 9.4.2 environment, where some users receive an "Error loading dashboard" after logging on.

/1b6880d4d929284efdfe4d6c275079a8

I can reproduce this error for a user when logging into Yellowfin using Firefox (90.0.1). The error does not occur when logging in with the same user on Chrome (91.0.4472.124) or Edge (91.0.864.70) (except when using Incognito mode, then the error occurs too).

When looking at the logs, I can only find:

YF:2021-07-20 09:24:45.620: INFO (i4RequestRegistry) - Request http://yellowfin.our.domain.io/MIEntry.i4 did not have a tab token; treating this as a new tab YF:2021-07-20 09:24:45.622: INFO (MIFormBindingController) - [119695] [CBB28910] [/MIEntry.i4] Opening http://yellowfin.our.domain.io/MIEntry.i4 in a new tab
Any clues on this? Thanks!

Best regards, Machiel

Comments (6)

photo
1

Hi Machiel,

Does your environment use SSO which then redirects to the dashboard on login? The tab token is what Yellowfin uses to push you to the correct dashboard following the login; it seems that Firefox is not holding on to it for some reason.

Do your users with Firefox have any extensions or settings which could prevent cookies/tokens from being stored?

Could you please also check the browser console for any errors when trying to log in, by pressing F12 and clicking on the Console tab, it should look something like:

/6d6d31e0d7e9cf989fdbed6200f8e740

Firefox 90 is rather new, I understand it may not be possible but do you still have access to the previous version to try?

Kind regards,

Chris

photo
1

Hi Chris,

We do use SSO, but the accounts that are faced with this issue, were actually regular local Yellowfin accounts. My personal account is using SSO and is working fine on all browsers. So it also seems to be user specific.


I installed a fresh version of Firefox on my local machine, without any extensions which also showed this behaviour. I agree it must have something to do with cookies/tokens because in all other browsers I only see this behaviour when using Incognito mode.

Browser console return a warning and error mentioning:


jQuery.Deferred exception: form is null @https://yellowfin.my.domain.io/RunDashboard.i4;tab_token=53d557ca-99b8-4b5f-8450-d7f66196509c;m=1&dashUUID=26620d82-5b53-4be4-af3b-1bb14b702b35&primaryOrg=1&clientOrg=1:128:21
Best regards,

Machiel

photo
1

Hi Machiel,

Somewhat confusingly, I am not getting any errors with the latest version of Firefox, logging in to Yellowfin 9.4. Does this behaviour repeat when you have another default dashboard set to appear when logging in? Do you also see it when logging in to the default org, vs a client org?

Kind regards,

Chris

photo
1

Hi Machiel,

Actually, this looks like a bug that was fixed in 9.5.

I see the below description applies to your URL in the error output:

In some cases, the referrer header will not be present in the request. When MultiTab is switched on and Yellowfin redirects a request such as MIEntry.i4 to a dashboard, the generated URL is malformed.

/RunDashboard.i4;tab_token=dba6949a-8db4-4bcf-b5cd-dd1858259eeb;m=1&dashUUID=a0e2b407-b0cb-40f6-aed8-f30c5f43e0a5&primaryOrg=1&clientOrg=1

The & should've been a ?

Let me know if you are able to install/upgrade to a 9.5 test or live environment.

Kind regards,

Chris

photo
1

Hi Chris,

Thank you for the input. This indeed looks like the bug you mention. The URL for the impacted account is indeed generated with a "&" and looks like this:

/RunDashboard.i4;tab_token=b5c42097-7176-4f7c-9ac8-0128ab3ff548&dashUUID=26620d82-5b53-4be4-af3b-1bb14b702b35&primaryOrg=1&clientOrg=1

Replacing it manually with a "?" results in the correct URL.

We are planning an upgrade to 9.6 in the near future. I'll add this issue to the list of possible fixes after upgrade to 9.6

Thanks again for your help.

Kind regards,

Machiel

photo
1

Hi Machiel,

No problem at all. I'll mark this question as answered. Enjoy your week!

Kind regards,

Chris