I would like to know the root cause when I send a request to these API and sometimes it's got the message something like " rdp_requester.py - n time retry. wait for x sec. " I wonder why this message appears and how can I avoid it?
Looking at the logs you submitted, it appears the IPA service is complaining about too many concurrent requests. Was this the error you were referring to in your original post? Using the same code, have you tried to limit the request load/frequency to see if it helps?
I just ran my example Article.RDPLibrary.Python.ZeroCouponCurves which uses both the above API endpoints and I did not experience any retry errors.
I also converted the main Jupyter Notebook to a .py file (removed the charts etc) and ran that from the command line and again I do not see the above issue.
Is this all zc-curve/forward curve request that gives you the retry error - or just some specific complex ones?
I have found this error in a specific complex situation in my app on SELF PPE, I have the 15 curves/payload and I send 2 requests by using a concurrent method (asyncio) by this case sometimes I got an error as I said in the beginning here below is the log that i found an error
Thanks for providing the additional information that you are using concurrency -this now puts the problem into context.
If you are able to share a code snippet showing exactly what you are doing - you don't have to necessarily include the full curve request definition, but the concurrency related code would be useful to understand what you are doing.