flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
24.99k stars 1.6k forks source link

Error transferring https://api.imgur.com/3/image?title=&description=2024-09-18_06-22 - server replied: client read error #3728

Closed thracyturnix closed 1 month ago

thracyturnix commented 1 month ago

Flameshot Version

Flameshot v12.1.0 (Debian 12.1.0-2) Compiled with Qt 5.15.8

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)

Operating System type and version

Debian 12

Description

try to upload to imgur. Get error

Error transferring https://api.imgur.com/3/image?title=&description=2024-09-18_06-22 - server replied: client read error

Steps to reproduce

  1. take screenshot
  2. try to upload to imgur

Screenshots or screen recordings

flameshot

System Information

System: Host: xps179700 Kernel: 6.1.0-18-amd64 arch: x86_64 bits: 64 Desktop: KDE Plasma v: 5.27.5 Distro: Debian GNU/Linux 12 (bookworm) Graphics: Device-1: Intel CometLake-H GT2 [UHD Graphics] driver: i915 v: kernel Device-2: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo Display: wayland server: X.Org v: 1.22.1.9 with: Xwayland v: 22.1.9 compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 resolution: 1920x1200~60Hz API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel UHD Graphics (CML GT2)

AnimalRescuer commented 1 month ago

Same problem on Win 11. Client read error AND Too many requests.

thracyturnix commented 1 month ago

The solution is here https://flameshot.org/docs/guide/imgur-help/

For reasons known only to themselves, the Dev has not bothered to change the error message to something meaningful despite the fact this is a known issue with the app and the imgur API (The API being the cause). One would think it s simple matter to link to the URL instead of providing a nonsensical error. It would definitely save them a shit ton of issues being raised here.

They also havent bothered to state this in the docs on the main page. Anyway you can fix it easily by just adding your own API thingo.

AnimalRescuer commented 1 month ago

Imgur really should go back to just being Reddit's filing cabinet.

mmahmoudian commented 1 month ago

Thank you for taking time to report a potential bug, but the screenshot you provided and the error message you reported are not the same. That said, please search among open and closed issues before creating a new one. It would first and foremost save your own time.

https://github.com/flameshot-org/flameshot/issues?q=is%3Aissue+%22Too+Many+Requests%22+

The solution for "too many requests" error is also explained in our documentation:

https://flameshot.org/docs/guide/imgur-help/#creating-your-own-custom-client-id

I will close this since:

  1. if it is duplicate of #3602, then it is a duplicate
  2. if it is regarding "too many requests", it is duplicate of All those in the first link

@thracyturnix Regarding your harsh comments, perhaps the following can further clarify devs opinion:

One would think it s simple matter to link to the URL instead of providing a nonsensical error.

if you read the error, you will notice that not only the error is not nonsensical, but it is very clear and right to the point.

For reasons known only to themselves, the Dev has not bothered to change the error message to something meaningful despite the fact this is a known issue with the app and the imgur API (The API being the cause).

We think the error is very clear and self-explanatory and therefore there is no need paraphrase it further.

It would definitely save them a shit ton of issues being raised here.

perhaps the following would be better time saver:

  1. reading the error
  2. reading the documentation
  3. searching among open and closed issues in FLOSS projects (e.g not creating #3728 when you yourself created #3602 on the same exact error few months prior 😉 )

They also havent bothered to state this in the docs on the main page.

I don't understand what you meant by "the main page", but as you might already know, our documentation is also fully on Github and we warmly welcome contributions: https://github.com/flameshot-org/flameshot-org.github.io