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

icontrol Rest APi #1618

Open
pirusti opened this issue Sep 20, 2024 · 0 comments
Open

icontrol Rest APi #1618

pirusti opened this issue Sep 20, 2024 · 0 comments

Comments

@pirusti
Copy link

pirusti commented Sep 20, 2024

hello,

i am using the python sdk for the icontrol rest apis.
while using this : p = b.tm.util.bash.exec_cmd('run', utilCmdArgs='-c "/usr/bin/tmsh show gtm pool a"'), when i ask to a GTM with 50 pools its all good, instead when i ask to a GTM with 3000 pools i receive the following error:

p = b.tm.util.bash.exec_cmd('run', utilCmdArgs='-c "/usr/bin/tmsh show gtm pool a "')

File "c:\Users\xxxxxx\AppData\Local\Programs\Python\Python310\lib\site-packages\icontrol\sm\util\bash.py", line 55, in exec_cmdession.py", line 295, in wrapper
raise iControlUnexpectedHTTPError(error_message, response=response)
icontrol.exceptions.iControlUnexpectedHTTPError: 500 Unexpected Error: Server Error for uri: https://x.x.x.x:443/mgmt/tm/util/bash/
Text: '\n\n\n<title>Error 500 AsyncContext timeout</title>\n\n

HTTP ERROR 500 AsyncContext timeout

\n\n\n\n\n\n
URI:/mgmt/tm/util/bash/
STATUS:500
MESSAGE:AsyncContext timeout
SERVLET:com.f5.rest.app.RestServerServlet-51cdd8a
\n
Powered by Jetty:// 9.4.49.v20220914
\n\n\n\n'

Is there a limit of buffer for this command?

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