Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to create Service com.microsoft.bingads.v13.bulk.IBulkService for Production #202

Open
henrihapponen opened this issue Sep 11, 2024 · 1 comment

Comments

@henrihapponen
Copy link

henrihapponen commented Sep 11, 2024

Hi team,

Facing a recurring error Failed to create Service com.microsoft.bingads.v13.bulk.IBulkService for Production when using Bulk API downloads
image

BingAds-Java-SDK Version: 13.0.17

We've recently migrated our data downloads from version 13.0.15.1 to 13.0.17 and started seeing this issue sporadically for every 10th attempt or so.

The error message comes from the createServiceWithRetry function in ServiceFactoryImpl.java: https://github.com/BingAds/BingAds-Java-SDK/blame/main/src/main/java/com/microsoft/bingads/internal/ServiceFactoryImpl.java#L100

In the source code for ServiceFactoryImpl.createServiceWithRetry, it’s acknowledged in a comment above that Service.Create sometimes get hang. We implement timeout and retry for it. Is this still relevant? It seems to hang often, retry 3 times and then fail.

Are there any solutions to this? Or should we try upgrading to latest version, 13.0.21.2?

@henrihapponen
Copy link
Author

Upgrading to 13.0.21.2 seems to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant