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

[BUG-UI/UX] Pdf do not render correctly in HF Spaces #4754

Open
leiyre opened this issue Apr 29, 2024 · 0 comments
Open

[BUG-UI/UX] Pdf do not render correctly in HF Spaces #4754

leiyre opened this issue Apr 29, 2024 · 0 comments
Assignees
Labels
area: ui Indicates that an issue or pull request is related to the User Interface (UI) severity: major Indicates that the issue is blocking for users or needs to be addressed soon team: frontend Indicates that the issue or pull request is owned by the frontend team type: bug Indicates an unexpected problem or unintended behavior

Comments

@leiyre
Copy link
Member

leiyre commented Apr 29, 2024

Describe the bug
Records with PDF works fine in Docker but do not render correctly inside an HF Spaces, has also been reported when the FE and BE are hosted separately in an ec2 instance

To Reproduce
Steps to reproduce the behavior:

  1. Go to a dataset with records with PDF in HF Spaces
  2. See empty record and error in console:
    Mixed Content: The page at 'https://...' was loaded over HTTPS, but requested an insecure frame 'http://...'. This request has been blocked; the content must be served over HTTPS.
    This happens even if we are pointing to a PDF with https

Expected behavior
Render it correctly

Environment (please complete the following information):

  • OS [e.g. iOS]:
  • Browser [e.g. chrome, safari]:
  • Argilla Version [e.g. 1.0.0]:
  • ElasticSearch Version [e.g. 7.10.2]:
  • Docker Image (optional) [e.g. argilla:v1.0.0]:
@leiyre leiyre self-assigned this Apr 29, 2024
@leiyre leiyre added area: ui Indicates that an issue or pull request is related to the User Interface (UI) type: bug Indicates an unexpected problem or unintended behavior labels Apr 29, 2024
@dosubot dosubot bot added severity: major Indicates that the issue is blocking for users or needs to be addressed soon team: frontend Indicates that the issue or pull request is owned by the frontend team labels Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ui Indicates that an issue or pull request is related to the User Interface (UI) severity: major Indicates that the issue is blocking for users or needs to be addressed soon team: frontend Indicates that the issue or pull request is owned by the frontend team type: bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant