Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

aungpyaephyo's avatar

After upgrading the app from laravel 5.8 to laravel 8, some of the images from google cloud storage bucket are not showing anymore.

I have recently upgraded my laravel app from laravel 5.8 to laravel 8. The application is being containerized and using nginx as the server.

After upgrading the laravel framework, some of the images are not showing anymore. But, some of them are still showing. The images are stored in google cloud storage bucket. The service account has the required permission to access storage bucket.

In GCP, we are still using all the same firewall rules, load balancer and network before upgrading the app. If the app is with laravel 5.8, the images are showing properly. The image not showing problem only happen when the app is with laravel 8.

But if in the local environment, the images are showing properly.

For the images that are not showing, when I try curl -O {url}, the error said "curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)"

When I try curl -O {url} --http1.1, the error said "curl: (18) transfer closed with outstanding read data remaining"

And the downloaded images (with curl -O) contain partial image data.

Is there anything laravel 8 specific issue that could cause this ?

0 likes
1 reply

Please or to participate in this conversation.