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

Error: Plugin did not respond #1

Open
tchiapuziowong opened this issue Jan 25, 2023 · 2 comments
Open

Error: Plugin did not respond #1

tchiapuziowong opened this issue Jan 25, 2023 · 2 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@tchiapuziowong
Copy link
Member

tchiapuziowong commented Jan 25, 2023

Known issue with the following error:

administrator@administrator-virtual-machine:~/go/src/sandbox$ terraform apply --auto-approve
╷
│ Error: Plugin did not respond
│
│   with provider["registry.terraform.io/aruba/aoscx"],
│   on main.tf line 10, in provider "aoscx":
│   10: provider "aoscx" {
│
│ The plugin encountered an error, and failed to respond to the
│ plugin.(*GRPCProvider).ConfigureProvider call. The plugin logs may contain more
│ details.
╵

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

@tchiapuziowong tchiapuziowong added the good first issue Good for newcomers label Jan 25, 2023
@tchiapuziowong tchiapuziowong self-assigned this Jan 25, 2023
@Vinayaks439
Copy link

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?

@alagoutte
Copy link

it is not possible to add on tf file a last ressource for disconnect ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants