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

Server side image caching remains a problem #1401

Open
andrewjbtw opened this issue Mar 13, 2025 · 2 comments
Open

Server side image caching remains a problem #1401

andrewjbtw opened this issue Mar 13, 2025 · 2 comments
Assignees

Comments

@andrewjbtw
Copy link
Collaborator

I'm creating this ticket to get this issue back on the board since it does not appear to have been fixed by sul-dlss/purl-fetcher#957

The image in this item should be upside down, which you can see by looking at the downloadable JP2: https://purl.stanford.edu/vb031hw7335 However, it is still appearing in a vertical orientation, which is how it looked before the latest update. It will probably appear correctly after a wait of a few days. That's what happened the last time I rotated the image a few days ago.

@jcoyne
Copy link
Contributor

jcoyne commented Mar 13, 2025

Related to https://app.honeybadger.io/projects/48916/faults/117774396

OpenSSL::SSL::SSLSocket#sysread_nonblock': Connection reset by peer (Errno::ECONNRESET)

@jcoyne
Copy link
Contributor

jcoyne commented Mar 13, 2025

➜  purl-fetcher git:(main) cap prod ssh
Pseudo-terminal will not be allocated because stdin is not a terminal.
cd /opt/app/lyberadmin/purl-fetcher/current && exec $SHELL -l
lyberadmin@purl-fetcher-prod:~/purl-fetcher/current$ bin/rails c -e p
Loading production environment (Rails 8.0.1)
3.4.0 :001 > ClearImageserverCache.call(druid: 'druid:ct931nf5570', cocina_type: Cocina::Models::ObjectType.image, file_names: ['birds-eye.jp2'])
** [Honeybadger] Reporting error id=603f18db-ff8c-4487-8a77-9268581e52ab level=1 pid=2006970
 => ["birds-eye.jp2"]
3.4.0 :002 > ** [Honeybadger] Success ⚡ https://app.honeybadger.io/notice/603f18db-ff8c-4487-8a77-9268581e52ab id=603f18db-ff8c-4487-8a77-9268581e52ab code=201 level=1 pid=2006970

It seems to be a problem every time.

@jcoyne jcoyne self-assigned this Mar 13, 2025
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

2 participants