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

Image Uploader is not working #856

Open
GoktugOzturk opened this issue Jun 6, 2024 · 5 comments
Open

Image Uploader is not working #856

GoktugOzturk opened this issue Jun 6, 2024 · 5 comments

Comments

@GoktugOzturk
Copy link

Hello,

I've been using factorioprints to share my blueprints for a while.
I wanted to update a blueprint, but when i try to upload the thuımbnail image, loading bar loads upto 100 and then it gets stuck.

These are the warnings on the console
image

@motlin
Copy link
Contributor

motlin commented Jun 9, 2024

Please force refresh to get a new version of the site. It now takes imgur urls and doesn't accept uploads at all.

@GoktugOzturk
Copy link
Author

GoktugOzturk commented Jun 9, 2024

Thanks. it is changed to imgur url input when i force refreshed.
Now I have another issue,
Existing blueprints have a value for image like https://firebasestorage.googleapis.com/v0/b/facorio-blueprints.appspot.com/o/train%20stations%20cover.png?alt=media&token=958d687c-88dc-4466-871a-d741e5e7a896
When i try to save the page without changing the existing thumbnail, it gives an error;

Error editing blueprint
Please use a direct link to an image like https://imgur.com/{id} or https://i.imgur.com/{id}.png

I upload the image to imgur and get the link from it and then it allows me to save.
The problem is; when i try to edit the same blueprint again, it shows the previous firebase url instead of new imgur one. I trıed to force refresh assuming the old url somehow stays on the cache, but that is not the case.

I think you have separate image columns for imgur and firebase ones. You save the img url to the correct column but fill the edit form with the wrong column again.

@motlin
Copy link
Contributor

motlin commented Jun 9, 2024

And you already tried force refreshing while on the Edit page?

@GoktugOzturk
Copy link
Author

Yes. I tried that as first thing.
I even logged in from another computer.

@egyptianbman
Copy link

egyptianbman commented Jul 8, 2024

I see an upload which appears to be trying to push to imgur, with the request returning a 503:

Request URL: https://api.imgur.com/3/upload.json
Request Method: POST
Status Code: 503 Service Unavailable

The error is:

Error 503 client read error
client read error
Error 54113

Flameshot appears to be suffering from this issue as well. flameshot-org/flameshot#3602

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

3 participants