[chef] Re: Re: 403 "Forbidden" when uploading cookbooks with large files


Chronological Thread 
  • From: Tomasz Chmielewski < >
  • To:
  • Cc:
  • Subject: [chef] Re: Re: 403 "Forbidden" when uploading cookbooks with large files
  • Date: Tue, 22 Apr 2014 10:27:50 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=wpkg.org; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=Qc2 rbHzCI4ov+3dWuNG+stg65gXN9g4QXSYRHkZ5QWE4CCpjBEZ7qhVS3vPXh5tk/Dn Xh3smP6+OhZ50Z5D+w9H9fkBsukD9RkHOLFtKKFVIZyXm3W91lCTirYLmHy4UBQn gf6HTL5b0s4Ic0VPxERPI0fTPAIYmbuouIaDYRYk=

On Mon, 21 Apr 2014 18:47:53 -0700
Stephen Delano 
< >
 wrote:

> First of all, I don't recommend that you store files in your
> cookbooks that are 100-200MB in size, but I'll try and help you debug
> this a bit.

I can understand your point for some cases, but there are lots of valid
reasons to use chef to serve files of that size anyway.


> Do you have any logs from the bookshelf service on the chef server?
> This is the service that's handling the cookbook storage. It seems
> odd that a file of this size would take 20 minutes to upload. Do you
> have a slow connection to the chef server?

I don't see any new entries in bookshelf logs when I upload a large
file; only these nginx logs. My guess would be it's nginx
buffers/timeouts set too low somewhere, but I didn't investigate that
yet.

My connection to the server is asymmetrical (ADSL), and I can upload at
around 150 kB/sec. Other than that, the connection is stable, no packet
losses etc.


-- 
Tomasz Chmielewski
http://wpkg.org





Archive powered by MHonArc 2.6.16.

§