Skip to content
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

Leaderboard <iframe> widget "refuse to connect" #3305

Open
blahner opened this issue Jan 13, 2023 · 5 comments
Open

Leaderboard <iframe> widget "refuse to connect" #3305

blahner opened this issue Jan 13, 2023 · 5 comments
Labels

Comments

@blahner
Copy link

blahner commented Jan 13, 2023

I am trying to embed our CodaLab competition leaderboard into another website. I am using CodaLab's generated iframe, but I get the message on the webpage "codalab.lisn.upsaclay.fr refused to connect." (see attached image).
codalaberror

Specifically, here is CodaLab's generated leaderboard widget iframe code that is not working:
<iframe src="http://codalab.lisn.upsaclay.fr/competitions/leaderboard_widget/9304/" style="height: 500px; width: 100%; border: none;"></iframe>

Screen Shot 2023-01-12 at 7 05 38 PM

I tried it with Chrome, Edge, and Firefox browsers. All do not work.
From what I can find online, it seems that the issue is the website desired to be in the iframe (i.e. CodaLab) has a Content Security Policy set to disallow their webpages from being included in iframes. Thus, the website (in this case CodaLab) would need to change their policy.
Can you confirm that this is the issue? If not, do you know any fixes? I appreciate your help!

Edit: Updating with new image of error message describing the root cause of the issue. Looking at this StackOverflow discussion, it seems that CodaLab would need to edit their IIS config file. Can this be done?
image (6)

@Didayolo
Copy link
Member

Good catch.

This seems to be a bug that appeared with the Python3 version of CodaLab.

It may be linked this other access denied:

We need to make some testing on our side. @dtuantran any thoughts on this?

@alexlascelles
Copy link

Hi @Didayolo, I am one of the other organizers for this competition. Thank you and @dtuantran very much for looking into this! Please let us know if there's any more info we can provide to help fix this bug.

@blahner
Copy link
Author

blahner commented Feb 6, 2023

Hi @Didayolo @dtuantran , just want to follow up on this post to see if there's any solutions. Thanks!

@DeepDuke
Copy link

It seems the iframe is still not working

@Didayolo
Copy link
Member

@DeepDuke Thank you for reporting that the problem persists. Unfortunately, right now, nobody is working on this problem.

As CodaLab is an open-source community project, you are kindly invited to contribute if you think that you can find the source of the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants