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

ETIMEDOUT when renderToStream with Image inside PDF file #2979

Open
wvpelt opened this issue Nov 25, 2024 · 0 comments
Open

ETIMEDOUT when renderToStream with Image inside PDF file #2979

wvpelt opened this issue Nov 25, 2024 · 0 comments

Comments

@wvpelt
Copy link

wvpelt commented Nov 25, 2024

Describe the bug
When using renderToStream inside a server component, I receive:
request to https://www.mydomain.com/logo.png failed, reason: connect ETIMEDOUT

To Reproduce
Steps to reproduce the behavior including code snippet (if applies):

  1. Create a server component for PDF creation
  2. Use renderToStream and provide a PDF Component which has an Image inside referencing an image on the server.
  3. See error

I've tried several url's to this file: https://www.mydomain.com, http://localhost:port, http://127.0.0.1:port, http://serverip.xx.xx.xx:port

{logoUrl && (
  <Image
    style={styles.image}
    source={logoUrl}
  />
)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant