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

Dynatrace nginx agent hanging nginx for some routes on restart #1

Closed
tinygrasshopper opened this issue Aug 9, 2017 · 2 comments
Closed

Comments

@tinygrasshopper
Copy link

We are facing a situation in which the nginx stops responding to routes specified by https://github.com/cloudfoundry/cloud_controller_ng/blob/e7e6ed316a89bb578ecec0aedc88fb61b8fe362c/bosh/jobs/cloud_controller_ng/templates/nginx.conf.erb#L191, when restarted. This behavior is not seen if the addon is not installed. The requests we notice fail need to have a
multipart/form-data header

This are not responded to by nginx:

$ curl -H"Content-Type: multipart/form-data; boundary=o" -XPUT -d "foo" https://URL/v2/apps/70964c35-045e-4b0e-bed9-c1794ebbff1/bits?async=true

But this one is:

$ curl -H"Content-Type: multipart/form-data; boundary=o" -XPUT -d "foo" https://URL/v2/apps/70964c35-045e-4b0e-bed9-c1794ebbff1/something_else?async=true

And this one is:

$ curl  -XPUT -d "foo" https://URL/v2/apps/70964c35-045e-4b0e-bed9-c1794ebbff1/bits?async=true
@aloismayr
Copy link
Contributor

Thanks @tinygrasshopper

We are tracking an internal ticket on this issue. I'll let you know about updates on this item.

@aloismayr
Copy link
Contributor

aloismayr commented Oct 5, 2017

We found this issue occurs if an outdated http-upload-module for nginx was used. The module with the latest patch in the 2.2 branch fixes the issue. Please review this issue of the http-upload-module project. cloudfoundry/capi-release#61

As soon as the cloud_controller ships the patched module it should work.
Thanks again @tinygrasshopper for bringing this up.

@arthfl arthfl closed this as completed Feb 6, 2018
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

3 participants