-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spurious text '[object Object]' on home page #1151
Comments
Hiya, can you please create a test account for me on the server you link to? Please feel free to email me details at dan at fusionauth dot io. Also, what is the output if you run this javascript in your console?
|
Thanks for reporting @NikolayMetchev - we've seen reports of this a few times in the past and have been un-able to track it down and recreate! Hopefully we'll nail it with your report! |
Hmmm. Interesting. So a couple of things. I can't resolve login.posttrade.dev.ptnonprod.com, I assume because that is an internal domain name not broadcast to the internet. I can login to paxos-dev.fusionauth.io with the credentials you provided. Unfortunately, I don't see the issue (I thought it might be locale related, but setting my locale to I have a few further troubleshooting steps that I'd love your help with. Can you log in to paxos-dev.fusionauth.io (rather than using the Can you tell me if you are behind a proxy? https://www.whatismyip.com/proxy-check/ will display that info, for example. Can you visit https://paxos-dev.fusionauth.io/admin/proxy-config-test and https://login.posttrade.dev.ptnonprod.com/admin/proxy-config-test and share the results? Thanks! |
Hi, I am not behind a proxy. I am VPN'd into our corporate network though. the two proxy-config-test urls result in a blank page. |
If I log in with Safari the problem doesn't reproduce. |
So I just emptied the chrome cash and hard reloaded and the problem has gone away. |
I probably shouldn't have done that because I can't reproduce it anymore. |
Well, at least we have a workaround :) . I hopped on a VPN and was unable to replicate. Let's leave this bug open and see if it pops up again. Please feel free to delete or disable my account on the dev server. |
Actually it is back! Happy to do a screen share to help with debugging. |
It might be related to SAML as that is what I am using to log in. |
Hiya @NikolayMetchev , Hmmm. I appreciate the offer of a screenshare! Before we do that, though, can you record a HAR file and send that over to me, please? https://toolbox.googleapps.com/apps/har_analyzer/ has steps. I would like to take a look at what you are seeing and determine if there's some way to replicate it locally, or some other clues, before doing a screenshare. |
I have emailed you the har file. |
@NikolayMetchev thanks, received! I looked at it and the only thing that jumps out is the cookies saving off state for the audit and event logs. Do you see the issue when you clear cache and login immediately, or is it after browsing around a bit in the admin UI? Also, are there any logs in the System -> Logs section (which are server side logs) that line up with the issue you are seeing? I looked at those logfiles but didn't know what time you were seeing the error. I consulted with a team member and we had some ideas of additional troubleshooting steps we could take internally. I'll see if they make sense and get back to you. I do think I can say with some certainty that this is a UI bug and not going to affect functionality at all. |
I logged in and out a few times from a few different instances of Fusion Auth. |
As an aside, functionally what we are doing when we load that page is opening an iframe which loads a hidden page that makes a POST request to ourselves. We then inspect this POST request for the correct proxy headers to see if everything is configured correctly and if the user should expect any issues with the configuration at runtime. To do this, we are using the Window Example screenshot of what I would expect to be shown when a proxy configuration is not correct: If this is re-creatable on a system we have access to, we could add some debug info to the JavaScript and see what is being sent to the |
I noticed just now that the problem had gone away. So I logged out and logged back in straight away and that has reproduced it. So I think it has something to do with logging out and back in again. You might want to try that Dan with the account I created for you. |
Thanks @NikolayMetchev , I have tried that, but will try again. |
FYI @NikolayMetchev I have modified the javascript with additional logging which will show up in your javascript console. |
So it looks like the code that is populating the proxy information is called two times with different messages. It's not clear to me exactly why, but they are different enough that we can distinguish between them. |
@NikolayMetchev do you have any chrome extensions installed, if so, which ones? It looks like it is common for Chrome extensions to use the |
It does seem to be extension related - I get the [object Object] consistently when running the wappalyzer addin which injects a tag onto the page. Disabling the addin makes the object Object go away. |
Great, thanks for the confirmation @Oceanswave . We have a fix coming out shortly under https://github.com/FusionAuth/fusionauth-app/pull/38 that will resolve it. The bug is that we made an assumption that nobody else was going to be using the Bad assumption, fix forthcoming. |
spurious text '[object Object]' on home page
Description
please see screen shot for example of some spurious text at the top of the home page.
Affects versions
1.23.3
1.25.0
Steps to reproduce
Login and observer
Expected behavior
the spurious text not to be there
Screenshots
Platform
(Please complete the following information)
Additional context
This is on a Fusion Auth hosted version here:
https://login.posttrade.dev.ptnonprod.com/
The text was updated successfully, but these errors were encountered: