Skip to content
Advertisement

Uncaught GuzzleHttpExceptionConnectException: cURL error 7

So I’m using the azure-storage-php library (https://github.com/Azure/azure-storage-php) and everything works perfectly and all of my scripts work, but I’m getting the following error from time to time:

JavaScript

Does anyone know what I might be doing wrong? Below is the code that I have that is mainly based on the library:

JavaScript

Advertisement

Answer

This seemed to have fixed the issue:

JavaScript

I’ve have a method that checks if blobs exist, make sure to try/catch your connector method and also include catch (ConnectException).

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement