A technical issue on the Pantheon

The "cloudinary" module uses the drupal_http_request()/stream_socket_client() function to connect to a “https/ssl” sockets. Time to time PHP reports an error about “call undefined function“ for the stream_socket_client(). This run-time error provides a side effect for the "cloudinary" functionality and shows a 500 page for an end-user.

I assume a root of the issue could be in some custom patches/improvements for PHP on the Patheon (because I never get this error on the Lando recipe from the Patheon).

My suggestion is to use the "try-catch" statements in the "cloudinary" module.

Comments

AexChecker created an issue. See original summary.

korndevbr’s picture

Assigned: aexchecker » Unassigned
Status: Active » Closed (outdated)

As far as Drupal 7 reached its EOL date, I think we can close this issue.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

korndevbr’s picture

If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.

Thanks!

grask0’s picture

That makes sense, thank you!

grask0’s picture

Issue tags: +LutskGCW26