Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Fix Faker.js images URL returning a 403 / update Faker.js to latest version #1

Closed
255kb opened this issue Nov 20, 2020 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@255kb
Copy link
Member

255kb commented Nov 20, 2020

Describe the bug
All Faker.js images mock hosted on S3 returns a 403.
This is due to Faker.js maintainer's decision to stop working on the lib for free. S3 access was probably cut.
https://github.com/Marak/faker.js/issues/1054
Multiple solution: recreate these helpers in Mockoon, fork Faker.js and update the code, propose help to Faker.js maintainer.

To Reproduce
Use a faker helper like image.avatar

Expected behavior
Images should be available.

Mockoon version:
'>= 1.9.0

OS / OS version:
All

@255kb 255kb self-assigned this Nov 20, 2020
@Distortedlogic
Copy link

this is still happening

@255kb
Copy link
Member Author

255kb commented Feb 15, 2021

@Distortedlogic yes it won't go away anytime soon. The library is not maintained anymore, and its author pulled the plug on the S3 hosting on purpose.
So, I need to come up with a custom implementation.

@255kb 255kb transferred this issue from mockoon/commons Mar 22, 2021
@255kb 255kb added wontfix This will not be worked on bug Something isn't working and removed wontfix This will not be worked on labels May 7, 2021
@255kb
Copy link
Member Author

255kb commented May 7, 2021

Updating to Faker.js latest version will solve the problem

@255kb 255kb changed the title Fix Faker.js images URL returning a 403 Fix Faker.js images URL returning a 403 / update Faker.js to latest version May 7, 2021
@255kb 255kb closed this as completed in f12dcea May 7, 2021
255kb pushed a commit to mockoon/mockoon that referenced this issue May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants