-
-
Notifications
You must be signed in to change notification settings - Fork 510
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
Internet.Avatar Randomizer - Access to s3 Storage is diabled #336
Comments
Hi @nfMalde, thanks very much for the heads up.
I'd like to try to see if we can get this hosted for Bogus. |
What about randomuser.me? I tried the service like the reporter in the related ticket and its quite nice. |
It's possible. Looks like The unfortunate part of all this is that previously, the S3 storage bucket had over 1000 avatar images. I ran a small LINQPad script running against Wayback Machine recovering the avatar images from the S3 bucket. Of 1254, only 4 didn't make it.
Here's the backup of 1250 avatars: faces.zip I'll see what kind of options are available to host these and maybe Thanks, |
Hi @nfMalde, The issue should be fixed in Bogus If you'd like to help host, you can Pin the following root CID folder:
The root folder can be browsed viewed here: There are a few ways the community can help host these files all over the world. I'll outline some of the easiest ways below: Option 1: IPFS DesktopProbably the easiest is to install IPFS Desktop on any machine. Once installed,
That's it! Now the files will be globally distributed and decentralized. The more the community helps host, the more resilient the URLs will be. Option 2: IPFS on Dockerversion: '3'
services:
ipfs:
restart: always
image: ipfs/go-ipfs:latest
environment:
- IPFS_PROFILE=server
- IPFS_PATH=/ipfsdata
volumes:
- ./data:/ipfsdata
ports:
- "4001:4001"
- "127.0.0.1:8080:8080"
- "127.0.0.1:8081:8081"
- "127.0.0.1:5001:5001"
Option 3: IPFS via CLI on Windows
Then separately, in a new command window:
Hope this helps and solves our problem. Hopefully, we can migrate to IPFS and away from centralized services that Bogus might rely on in the future. Thanks, |
Hi @bchavez ! Thanks, Malte |
Version Information
|
What locale are you using with Bogus?
en
What is the expected behavior?
Random Aavatar can be downloaded
What is the actual behavior?
403 Forbidde
Please provide a stack trace.
Sample Image Url
https://s3.amazonaws.com/uifaces/faces/twitter/urrutimeoli/128.jpg
Any possible solutions?
Reactivate S3 Storage for "Faces" or use another Store
How do you reproduce the issue?
Use Bogus.Internet.Avater
Do you have a unit test that can demonstrate the bug?
No
Can you identify the location in Bogus' source code where the problem exists?
https://github.com/bchavez/Bogus/blob/master/Source/Bogus/data/en.locale.json#L1837
If the bug is confirmed, would you be willing to submit a PR?
No
Possible related:
https://github.com/Marak/faker.js/issues/464
The Avatar Urls were usally downloadable. Now it seems like the S3 storage they are located on is offline or set to private.
Possible WorkArround for now: Use Bogus.Image.LoremFlickr() with a fixed size for avatars to archive generating dummy avatars.
The text was updated successfully, but these errors were encountered: