Closed NielsKorschinsky closed 11 months ago
As a side note, this was working fine for the last year. We have seen these warnings only since the last month or so.
(also since that time I've been getting logged out of the cloud terminal after a short time.. so probably some security enhancements?)
This is due to an CLOUD account security setting. Closing.
@NielsKorschinsky What was the security setting set in the cloud account? I'm also suddenly facing this same issue and not understand why
Hi @dragid10
Please check the amount of concurrent/parallel session allowed in your IAM settings. They are viewable in IAM/Settings at the bottom.
Please note that the lowest setting of all your accounts matters. Also, you can only see these settings if you are owner of the account or an admin. Therefore you might need to contact your manager to view them.
However, an easy solution is using service-id's, as these dont have such restrictions to my knowledge. Also, the timeout changes from 20 minutes of personal tokens to 60 minutes for service id's.
for us service id's did not work at first, as they are no direct w3 user. But in most cases, this wont be a issue
Hi team!
I'm having an issue with the IAM-Token refresh. I am using the DataEngine python SDK, which internally uses this SDK. Queries usually time out after 60 minutes, but earlier if the IAM token lifespan is shorter. Therefore, if a token is already used for some time, the max query length is shorter. This leads to issues where a query already times out after 24/30 minutes, which is too short for bigger loads.
The reason why I open the issue here is that I get spammed on the logging with the following error message:
This error/warning appears every 10 seconds, repeating for a very long time. Extra:
pathname
:/opt/app-root/lib64/python3.11/site-packages/ibm_botocore/credentials.py
threadName
:'Thread-2 (_background_refresher)'
lineno
:2776
I'm not specifying any special IAM router, just using the default init for the
SQLQuery
of DataEngine:Their params are 1-1 forwarded into the COSClient inside the
SQLQuery
. (not usingstaging_env
)According to the error message, I assume that the failing refresh of the token is hard blocking me from executing longer queries. Can anyone please take a look at why the refresh is failing and how this could be fixed/workaround?
Thanks a lot!