nodejs build API upload error 411

  • 18
  • Problem
  • Updated 6 years ago
  • Solved
The nodejs API for phonegap build (phonegap-build-api module v1) has started giving 411 error today.

[Error: <html>
<head><title>411 Length Required</title></head>
<body bgcolor="white">
<center><h1>411 Length Required</h1></center>
<hr><center>nginx</center>
</body>
</html>
]

This is the API call for uploading the .zip file:

api.post('/apps', options, function(e, data) {
...
}
Photo of puneet

puneet

  • 3 Posts
  • 0 Reply Likes
  • frustrated

Posted 6 years ago

  • 18
Photo of Dave Johnson

Dave Johnson

  • 129 Posts
  • 13 Reply Likes
Things should be fixed up now everyone. It was a problem with Nginx on AWS OpsWorks where it was forcing the content length.
Photo of Giles Wells

Giles Wells

  • 12 Posts
  • 1 Reply Like
An hour and 15 minutes after it was noticed that it was fixed here and 2 hours after it was posted to twitter and we finally get an update on this thread. Sorry but if this is the support forum this needs to be a priority of the Phonegap staff.
Photo of Giles Wells

Giles Wells

  • 12 Posts
  • 1 Reply Like
Everyone please see this thread so we can have a solid plan to not let this happen again.

http://community.phonegap.com/nitobi/...
Photo of Yohann HAY

Yohann HAY

  • 3 Posts
  • 0 Reply Likes
Works fine now, thanks! What was the origin of the issue?
Photo of Sofia Bakke

Sofia Bakke

  • 4 Posts
  • 0 Reply Likes
Dave Johnson have just written it

This conversation is no longer open for comments or replies.