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

Shell returns Bad HTTP response returned from server: 400. when idle for more than 3 minutes #377

Open
miniagarwal0910 opened this issue Mar 15, 2024 · 0 comments

Comments

@miniagarwal0910
Copy link

miniagarwal0910 commented Mar 15, 2024

I am creating a server which regularly executes PS scripts on a WindowsServer host.
I want to use a single shell for executing multiple commands with some idle time in between.
While trying to implement this, I noticed if the shell is idle for more than 3 mins, any further script execution attempts fail with Bad HTTP response returned from server: 400.

@miniagarwal0910 miniagarwal0910 changed the title Setting IdleTimeout in protocol.open_shell(idle_timeout=3600000) results in Bad HTTP response returned from server: 500 w:SchemaValidationError Shell returns Bad HTTP response returned from server: 400. when idle for more than 3 minutes Mar 17, 2024
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