Open tchiapuziowong opened 1 year ago
Hi @tchiapuziowong I'm facing the same issue while debugging my terraform provider? I'm debugging things on macOS M1 chip. Do you know why this happens? Is there something we can do fix this maybe define timeouts in provider func is that possible?
it is not possible to add on tf file a last ressource for disconnect ?
Known issue with the following error:
Due to the Terraform framework design there is no logout/cleanup functionality, therefore REST API sessions are subject to closing based on timeout. Depending on the timing of consecutive executions and the configured session-timeout of the https-server (Default: 20 minutes. Maximum: 480 min(8 hours). 0 disables the timeout, but the maximum is still enforced).
Workaround is to execute the following command in the manager context to close out all sessions, wait 10 seconds, then execute the
terraform apply
command:switch# https-server session close all