Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I've made up an intranet for the company I work with. The intranet requires the user to log in with their Google account to get access. As such, I've also set up an embed code for Google Calendars using the default iframe embed and used a little php to swap out the calendar to look at the user's email to show the appropriate calendar to them (ex: logging in as joe#gmail.com will populate the calendar with joe#gmail.com's address while logging in as jill#gmail.com will populate the calendar with jill#gmail.com's address).
This has worked well for most people, but there are some troubles we are running into with certain browsers and the errors are very inconsistent, which has made troubleshooting difficult. Also, when I check the source code, the correct email is showing up in the iframe so the php swapping is likely not the issue.
Example 1: I log in with Firefox on Windows 10. The calendar works as expected.
Example 2: I log in with Chrome on Windows 10. The calendar shows, but events do not display. No errors are given.
Example 3: Co-worker #1 logs in with Chrome on Windows 10. The calendar works as expected.
Example 4: Co-worker #2 logs in with Chrome on Windows 10. He gets a "You do not have permission to view one or more calendars" error despite the source code clearly pointing to only his personal calendar, which he undoubtedly has access to (He is also logged into his Google account on Google itself, so it's not a conflict there either).
Example 5: I log in with Chrome on Windows 10 in Incognito Mode. The calendar works as expected.
Example 6: I log in with Edge on Windows 10. The calendar works on the initial log in, but the moment I navigate to another page, the calendar still displays but all events disappear with no errors displayed. This persists until I log in again.
Example 7: Co-worker #3 logs in with Chrome on Mac OSX. The calendar works on the initial log in, but the moment she navigates to another page, the calendar still displays but all events disappear with no errors displayed. This persists until she logs in again. (This is consistent across any browser she uses)
Example 8: Co-worker #4 logs in with Chrome on Mac OSX. The calendar works as expected.
Ultimately I'm just lost on where to start with searching for these errors and narrowing down what the cause is. Clearing caches only seems to work sometimes, and other times even causes a different error to start popping up. Does anyone have any idea what could be causing these inconsistent errors and where to start looking for fixing this issue?
This is still an intermitttent issue when using embedded Iframe calendar with a different browser.
Here are some suggested solutions for this issue:
Clearing the cache and cookies
Before integrating the calendar, click the Customize button from the Google Calendar Settings on how to embed on your website then try to explore.
From this github post, rullzer suggest an idea of a cleaner approach to handle cookies on IFRAME to migrate to lax samesite cookies for all cookies.
This only makes the cookies more secure. Plus it makes sure that if
you embed some public page somewhere everbody will see the exact same
thing. (as the IFRAME won't send any cookies then resulting in a true
'publicpage' rendering).
Related
We have an Application Developed in ASP.NET inside which we have added an embedded Power Bi Dashboard using iFrame.
The Dashboard is working as expected in Chrome but facing the following issues with IE and Edge.
On IE the Dashboard is not being Displayed when viewed from the Embedded Application and upon clicking the power bi Sign-In button (shown within the Iframe), the application as a whole gets redirected to app.Powerbi.com/.... When you click the back button and refresh, still the sign-in prompt is shown in the iframe.
On Edge, the behavior is same as in IE, except that you click the back button from the app.powerbi.com website and then refresh the page, then the report renders correctly within the Iframe.
I tried clearing the Cache and Cookies, tried adding *.microsoft.com site and *app.powerbi.com to trusted sites list(per power bi forums) but still not working.
I suggest you check for the latest Windows updates and try to install it. Then after again try to test this issue on your side.
If the issue persists then hard refresh the page. Clear all the data for that site and again try to load the page.
I tested the issue with IE 11.1.18362.0 and Microsoft Edge 44.18362.1.0. As per my testing results, both browsers display the Power BI dashboard in ASP.NET site without any issue.
Output in IE 11:
Output in MS Edge:
If the issue persists then try to check the console to see whether there is any error or warning message. It can help to narrow down the issue.
I've created a custom speech model and deployed it. When I select the endpoint I can export the logs at the bottom of the page. Logging is enabled for this endpoint and it worked until 2 weeks ago. Now, when i click the "Export log" button, the spinner appears for a second or two but it does not show the list of logs. I took a look on the HTTP answer, which contained json data, telling me that there should be a lot of logs ready for download.
So my assumption is that this might be an error of the page? I've tried it using latest Firefox and Chrome browser. Edge does not work either. Deleting cookies and cache data does not work either.
There is a bug in the current UI of Speech Studio Portal, and thanks for reporting this, we will fix in our next release, which will come in this week.
I have a customer portal with a few reports in it. When I click a report link on the parent page to view a report, a new window opens (window.open) which contains an ASPX page, containing a reportviewer control.
The report runs (less than 30 seconds):
But then something strange occurs.
If I remain on the parent page, 15 minutes later, the browser is unresponsive. I cannot browse to any other pages on the site, I need to close and reopen the browser to continue. If I do NOT choose a report, 15 minutes later the browser is fine.
I've used network tools to see what the network calls looks like, and all I get is that a call was initiated.. nothing indicating a hung HTTP call, etc. It just.. stops.. If i browse the site immediately after running the report, it's fine! But if I hang out on the parent page after running the report (even after closing the child report window) I get the unresponsiveness.
There is a limited set of compatible browsers, especially on older versions of SQL Server SSRS. I would always recommend IE, which it looks like you are not using?
Here's the compatibility info (for SQL 2016, there's a version selector at the top of the page):
https://msdn.microsoft.com/en-us/library/ms156511.aspx#bkmk_reportviewer
Not really the solution, but finally found a more permanent fix for this. I developed a separate website that hosts my ReportViewerControl. I then developed a web form that loads with a meta refresh, after 3 seconds the page will "refresh" and redirect to my secondary ReportViewerControl website.
Something "goofy" was happening here, the session was getting locked up, almost like the more complex the report, the longer the session was locked up, the more of a chance the browser hanging. Something with the meta refresh and the secondary website causes the session to be completely disconnected (I think???)
There's probably no other person in the world that will have this issue, but if it does, at least others know my story =]
Our customer experienced multiple errors on a demonstration to a customer of theirs.
The site is asp.net 3.5 based and has been running pretty well lately. They said 2 hours later site was ok again... (needless to say they are not happy)
The traces in the health log look very weird, it appeared to be as if incomplete pages were returning to the server for processing..
A fair of of the errors were errors generated by scriptresource.axd with bits of the page source showing up as part of the url... very very odd. I'd never seen this before...
I was talking to their lead tester who then told me this only happened during a webex (cisco sharing product) demo and was fine after...
Is it possible the webex session could have impacted the site http stream between client and server...
This is a known IE8 issue. I bet you will see Trident/4.0 for all "broken" requests in the user agent field. (Google for "IE8 4K bug")
You can either run a different browser or appply the latest IE8 patch (this issue has already been fixed)
I have a very unusual problem that actually took me quite some time to even locate the root cause. I have an ASP.Net 3.5 web application running on Windows Server 2003. I was getting reports from users that said every so often the application would refresh on its own, without user interaction. This was unusual as I have not coded any client side refreshes. After much troubleshooting I narrowed this down to an issue with Internet Explorer (both 7 & 8). FF, Chrome, and Opera do not exhibit this behavior.
Basically, this only happens the first time a user visits the site on a new instance of IE (either a new window or new tab). If the user goes to any page within the site, and then does not interact with the site again, after 6 minutes the browser refreshes! After that refresh, as long as it is the same instance of IE, no matter what page on the site you visit, and no matter how long you let it sit, you never see the refresh again. This has really baffled me, and has become a major problem as this app has data entry forms that take longer than 6 minutes to complete. Unfortunately, if the user gets caught by this refresh bug, anything they entered is lost because of the post.
I need help!! Any advice or options to try would be greatly appreciated. Thanks!
(no, I cannot require them to use a better browser as this is a corporate environment with restrictions set to use IE for non-technical users)
It's a stretch, but maybe you have a 3rd party component that's adding a meta refresh tag only for IE (see http://www.w3schools.com/tags/att_meta_http_equiv.asp (refresh value)). Or maybe there is client-side code generated somewhere only in the case of IE that puts a location.reload() or location.href = someLocation a client-side script block in your markup.
Have you compared the HTML markup in IE and and FireFox? Are they the same? That's where I would start. If they end up being the same, look at script references and search for location.reload() or location.href.
And actually maybe before that, run IE without Add Ons enabled and see if it refreshes. To run without addons, do this at the command line, "C:\Program Files\Internet Explorer\iexplore.exe" -extoff