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

Errors when changing or deleting resources: Put: EOF #101

Closed
Jfmask opened this issue Apr 6, 2021 · 4 comments
Closed

Errors when changing or deleting resources: Put: EOF #101

Jfmask opened this issue Apr 6, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@Jfmask
Copy link

Jfmask commented Apr 6, 2021

Hello.

Thank you for the great Nexus management tool, which helps a lot with our work.

However, we have encountered problems when updating or deleting resources.

Describe the bug

When resources are changed and Terraform is restarted, errors like the following occurs:

nexus_role.write_only_all: Modifying... [id=nx-write-only-all]

Error: Put "https://nexus-host/service/rest/beta/security/roles/nx-write-only-all": EOF

Running the same command again successfully removes or modifies resources.

The problem occurs not only with Nexus roles, but also with users. It is difficult to reproduce the problem because the error does not occur every time.

It is suspected that the problem is with Nexus, Nexus Proxy or Nginx behind which Nexus is running, but we have not been able to find out at which stage the error occurs.

Expected behavior

The changes go through the first time.

Log output

The nexus provider related log messages can be found here: https://pastebin.com/raw/QSq0pPcA

@Jfmask Jfmask added the bug Something isn't working label Apr 6, 2021
@anmoel
Copy link
Member

anmoel commented Apr 6, 2021

Hi @Jfmask,

can you please describe your environment so we can try to reproduce this bug?

Or set the environment variable TF_LOG to DEBUG and attach the output to this ticket.

regards
André

@Jfmask
Copy link
Author

Jfmask commented Apr 6, 2021

@anmoel, thank you for the quick response. I have added a link to the debug log.

@Jfmask
Copy link
Author

Jfmask commented Apr 30, 2021

I have updated the first post with non-expiring link to log with error messages: https://pastebin.com/raw/QSq0pPcA

@Jfmask
Copy link
Author

Jfmask commented Jun 22, 2021

I think, the reason is the following: travelaudience/nexus-proxy#26
We use that Helm Chart to provision Nexus with Nexus Proxy, thus proxy can drop requests from the terraform-provider-nexus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants