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

Cannot display full size proof image #733

Open
monsieurtanuki opened this issue Feb 24, 2025 · 1 comment
Open

Cannot display full size proof image #733

monsieurtanuki opened this issue Feb 24, 2025 · 1 comment

Comments

@monsieurtanuki
Copy link

What

Since at least yesterday, I have problems displaying full size proof images.
Seems OK for the 400 versions.

Steps to reproduce the behavior:

  1. Have a look at proofs on the prices website
  2. You may notice that some images are a bit blurry - I guess that's because it's the 400 version

Or

  1. Go to Smoothie, and display a proof
  2. You'll probably see the 400 version, then almost immediately a corrupted version (cf. screenshot)

Expected behavior

The proof images should be displayed correctly, both as 400 and as full versions.

Screenshots

Image

Platform (Desktop, Mobile, Hunger Games)

  • From the latest Smoothie code, and from the prices website

Logs

Smoothie logs:

══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞════════════════════════════════════════════════════
The following HttpException was thrown resolving an image codec:
Connection closed while receiving data, uri =
https://prices.openfoodfacts.org/img/0041/YtWwg4CAvn.jpg

When the exception was thrown, this was the stack:
#0      _HttpIncoming.listen.<anonymous closure> (dart:_http/http_impl.dart:442:7)
#11     _HttpParser._reportBodyError (dart:_http/http_parser.dart:1201:22)
#12     _HttpParser._onDone (dart:_http/http_parser.dart:899:9)
#20     _Socket._onData (dart:io-patch/socket_patch.dart:2462:21)
#27     _RawSecureSocket._closeHandler (dart:io/secure_socket.dart:899:21)
#28     _RawSecureSocket._tryFilter (dart:io/secure_socket.dart:1029:11)
<asynchronous suspension>
(elided 23 frames from dart:async)

Image provider: NetworkImage("https://prices.openfoodfacts.org/img/0041/YtWwg4CAvn.jpg", scale: 1.0)
Image key: NetworkImage("https://prices.openfoodfacts.org/img/0041/YtWwg4CAvn.jpg", scale: 1.0)
@raphodn
Copy link
Member

raphodn commented Feb 24, 2025

Hi, the server seems to experience some issues since last night : https://status.openfoodfacts.org

  • org seems to work for me (with some hiccups)
  • net returns a 502 error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants