You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue
There is intermittent failures when initializing the service client, related to fetching the SOAP document
Details
Over the last number of months my team has noticed an occasional error popping up related to the instantiation of the ServiceClient in this package.
SoapFault: SOAP-ERROR: Parsing WSDL: Couldn't load from 'clientcenter.api.bingads.microsoft.com/Api/CustomerManagement/v13/CustomerManagementService.svc?singleWsdl' : failed to load external entity "clientcenter.api.bingads.microsoft.com/Api/CustomerManagement/v13/CustomerManagementService.svc?singleWsdl"
When tracking down this issue, I learned it can be easily reproducible by killing the internet to the computer running the bit of code. Note, this is just the easiest way I found to reproduce the issue at hand. In production we're receiving occasional 500 errors when the service is initializing.
@eric-urban@qitia do you have any insights why the API is so unstable? On one hand the requests take very long to respond and fail often. I monitor it with this dummy script:
we did not notice customer management API outage recently from internal monitoring and we will do some investigation on how to embed the wsdl inside the package.
Greetings!
Issue
There is intermittent failures when initializing the service client, related to fetching the SOAP document
Details
Over the last number of months my team has noticed an occasional error popping up related to the instantiation of the
ServiceClient
in this package.When tracking down this issue, I learned it can be easily reproducible by killing the internet to the computer running the bit of code. Note, this is just the easiest way I found to reproduce the issue at hand. In production we're receiving occasional 500 errors when the service is initializing.
Questions 👀
(In my testing this could be done by using a local file path instead of an http/https path on this line https://github.com/BingAds/BingAds-PHP-SDK/blob/main/src/Auth/ServiceClient.php#L264.)
The text was updated successfully, but these errors were encountered: