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

Faker.image.avatar() fails #3380

Open
8 of 10 tasks
jovpet opened this issue Jan 28, 2025 · 1 comment
Open
8 of 10 tasks

Faker.image.avatar() fails #3380

jovpet opened this issue Jan 28, 2025 · 1 comment
Labels
c: bug Something isn't working m: image Something is referring to the image module p: 1-normal Nothing urgent question Further information is requested s: awaiting more info Additional information are requested

Comments

@jovpet
Copy link

jovpet commented Jan 28, 2025

Pre-Checks

Describe the bug

it seems like the faker.image.avatar() server is down. https://cloudflare-ipfs.com returns dns error
all other image related services work fine. I noticed this 2 days ago, and I initially thought it was a temporary DNS issue, but it seems it persists.

Minimal reproduction code

https://cloudflare-ipfs. com

faker.image.avatar()

Additional Context

No response

Environment Info

System:
    OS: Linux 5.15 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
    CPU: (16) x64 AMD Ryzen 7 5800X 8-Core Processor
    Memory: 24.99 GB / 31.29 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 22.11.0 - ~/.nvm/versions/node/v22.11.0/bin/node
    Yarn: 1.22.22 - /usr/bin/yarn
    npm: 10.9.0 - ~/.nvm/versions/node/v22.11.0/bin/npm

Which module system do you use?

  • CJS
  • ESM

Used Package Manager

yarn

@jovpet jovpet added c: bug Something isn't working s: pending triage Pending Triage labels Jan 28, 2025
@ST-DDT
Copy link
Member

ST-DDT commented Jan 28, 2025

Which version of faker are you using?

We deprecated the cloudflare-ipf images a while ago due to their bad uptime.

Since v9.0.2 faker.image.avatar() no longer returns images from that origin.
So please update to the latest version or switch to faker.image.avatarGitHub().

Does this solve your issue?

@ST-DDT ST-DDT added question Further information is requested p: 1-normal Nothing urgent m: image Something is referring to the image module s: awaiting more info Additional information are requested and removed s: pending triage Pending Triage labels Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: bug Something isn't working m: image Something is referring to the image module p: 1-normal Nothing urgent question Further information is requested s: awaiting more info Additional information are requested
Projects
None yet
Development

No branches or pull requests

2 participants