BingAds / BingAds-PHP-SDK

Other
56 stars 45 forks source link

Sudden "SoapFault: Could not connect to host" #188

Closed rosslavery closed 1 year ago

rosslavery commented 1 year ago

We have started getting SoapFault: Could not connect to host in our production services, without any code changes on our side -- these services have not been modified in over a year. We are using package version 13.0.14

The specific request that is failing is $this->bingAdsClient->GetService()->GetCampaignsByAccountId($request);

The same thing happened last year and it was mitigated server-side by Microsoft.

rosslavery commented 1 year ago

As an update, restarting our service has fixed the issue -- presumably by clearing the WSDL cache of something that temporarily made it into production server-side? 🤷