rhel-labs / instruqt

All lab.redhat.com Instruqt code is stored here.
https://www.redhat.com/en/interactive-labs/enterprise-linux
17 stars 14 forks source link

Resolving issues with Red Hat Insights Advisor lab - console.redhat.com tab not showing #142

Closed craig-br closed 1 year ago

craig-br commented 1 year ago

Resolving issues with Red Hat Insights Advisor lab

myee111 commented 1 year ago

Which browser are you using @craig-br ?

myee111 commented 1 year ago

@craig-br as well, is this insights-workshop?

craig-br commented 1 year ago

@myee111 I believe it is insights-workshop. https://lab.redhat.com/tracks/insights-workshop

I think it's because it's running in an iframe. We had this issue with other Instruqt labs and web consoles. Browser debugger output:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://sentry.io/api/1218778/envelope/?sentry_key=95926e24757b46c7bab55f8f49f72857&sentry_version=7&sentry_client=sentry.javascript.react%2F7.28.1. (Reason: CORS request did not succeed). Status code: (null).

smcbrien commented 1 year ago

I've verified the problem. However, the lab does not require Web Console. We'll either update the lab to open Web Console in a separate browser tab (which is the method that works on the other labs that utilize Web Console) or we'll remove the tab from the environment thereby 'fixing the glitch'.