Title: HTTP error
Last modified: November 14, 2016

---

# HTTP error

 *  Resolved [setevoy](https://wordpress.org/support/users/setevoy/)
 * (@setevoy)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/http-error-99/)
 * Hi.
 * We use this plugin for our Stage and Prod environments hosted on Azure as WebApps.
 * A problem is – on Prod after new image uploaded – WP says “HTTP error”:
 * ![A HTTP error](https://i0.wp.com/rtfm.co.ua/uploads/azure_storage_plugin_1.png?
   ssl=1)
 * But on Stage, which use same Storage Account with same settings – everything 
   works just fine.
 * What can be a reason?
 * Thanks.

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/http-error-99/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/http-error-99/page/2/?output_format=md)

 *  Thread Starter [setevoy](https://wordpress.org/support/users/setevoy/)
 * (@setevoy)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/http-error-99/#post-8433731)
 * And yes – nothing helpful in IIS logs.
 *  Plugin Contributor [Ritesh Patel](https://wordpress.org/support/users/ritteshpatel/)
 * (@ritteshpatel)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/http-error-99/#post-8438749)
 * Hi [@setevoy](https://wordpress.org/support/users/setevoy/)
 * Thanks for letting us know about this issue. You said, it’s working fine on your
   stage site. Is your stage site also using IIS? Can you also get us the HTTP request
   status for the upload request from browser’s console?
 * Regards,
    Ritesh
    -  This reply was modified 9 years, 5 months ago by [Ritesh Patel](https://wordpress.org/support/users/ritteshpatel/).
 *  Thread Starter [setevoy](https://wordpress.org/support/users/setevoy/)
 * (@setevoy)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/http-error-99/#post-8438917)
 * Hi, [@ritteshpatel](https://wordpress.org/support/users/ritteshpatel/).
 * Thanks for replay. I contacted Azure support team also, maybe they will assist(
   files permission on Win boxes or something similar).
 * > You said, it’s working fine on your stage site. Is your stage site also using
   IIS?
 * Yes – both applications running as Azure WebApps on Windows hosts with IIS.
 * Error is:
 * > load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload,plupload-
   handlers&ver=4.6.1:24 POST [http://domain.com/wp-admin/async-upload.php](http://domain.com/wp-admin/async-upload.php)
   413 (Request Entity Too Large)
 * (why I didn’t check it at first…)
 * ![](https://i0.wp.com/rtfm.co.ua/uploads/huber_upload_4.png?ssl=1)
 * (full screenshot here: [https://rtfm.co.ua/uploads/huber_upload_4.png](https://rtfm.co.ua/uploads/huber_upload_4.png))
 * Hope this could help.
    -  This reply was modified 9 years, 5 months ago by [setevoy](https://wordpress.org/support/users/setevoy/).
    -  This reply was modified 9 years, 5 months ago by [setevoy](https://wordpress.org/support/users/setevoy/).
 *  Plugin Contributor [Ritesh Patel](https://wordpress.org/support/users/ritteshpatel/)
 * (@ritteshpatel)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/http-error-99/#post-8439444)
 * Hi setevoy,
 * Which size of image you are uploading? Have you tried the image which is in smaller
   size? Can you tell us allowed upload size and max post input size config of your
   site? I am guessing this is image size issue.
 * Regards,
    Ritesh
 *  Thread Starter [setevoy](https://wordpress.org/support/users/setevoy/)
 * (@setevoy)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/http-error-99/#post-8440000)
 * Indeed! Sorry – I completely forgot to mention it.
 * Yes – 512k file with uploaded successfully (and this was told by developers when
   they came to with this issue).
 * And sure – this bind to the “Request Entity Too Large” error message.
 * P.S. I removed screenshot, please – say, if you still need it.
    -  This reply was modified 9 years, 5 months ago by [setevoy](https://wordpress.org/support/users/setevoy/).
 *  Plugin Contributor [Ritesh Patel](https://wordpress.org/support/users/ritteshpatel/)
 * (@ritteshpatel)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/http-error-99/#post-8442827)
 * Hi [@setevoy](https://wordpress.org/support/users/setevoy/)
 * Can you check the max input size and max allowed upload size for your application?
   Your image size shouldn’t be greater than allowed size.
 * Regards,
    Ritesh
 *  Thread Starter [setevoy](https://wordpress.org/support/users/setevoy/)
 * (@setevoy)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/http-error-99/#post-8444210)
 * Hi, [@ritteshpatel](https://wordpress.org/support/users/ritteshpatel/).
 * From phpinfo (and this is the default for all web app on Azure App), here is 
   the values:
 *     ```
       upload_max_filesize = 8MB
       post_max_size = 8MB
       ```
   
 *  Plugin Support [Thorsten Ott](https://wordpress.org/support/users/tott/)
 * (@tott)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/http-error-99/#post-8445192)
 * Hi [@setevoy](https://wordpress.org/support/users/setevoy/),
 * can you give us some insights on your IIS settings especially uploadReadAheadSize
   and maxRequestEntityAllowed
 * [https://www.iis.net/configreference/system.webserver/serverruntime](https://www.iis.net/configreference/system.webserver/serverruntime)
 * Also the maxAllowedContentLength limit might be of interest as per
 * [https://blogs.msdn.microsoft.com/azureossds/2016/06/15/uploading-large-files-to-azure-web-apps/](https://blogs.msdn.microsoft.com/azureossds/2016/06/15/uploading-large-files-to-azure-web-apps/)
 * In addition, can you confirm that uploads are working if you disable the azure
   storage plugin?
 * Thanks
    Thorsten
    -  This reply was modified 9 years, 4 months ago by [Thorsten Ott](https://wordpress.org/support/users/tott/).
 *  Thread Starter [setevoy](https://wordpress.org/support/users/setevoy/)
 * (@setevoy)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/http-error-99/#post-8445375)
 * Hi, [@tott](https://wordpress.org/support/users/tott/). Thanks for replay.
 * I’ll ask Support about IIS parameters.
 * Regarding disabling plugin… I just not sure it’s a good idea on Production 🙂
 * But what if I’ll create a new container or even account with data from current
   one – and will switch them in plugin’s settings?
 *  Plugin Support [Thorsten Ott](https://wordpress.org/support/users/tott/)
 * (@tott)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/http-error-99/#post-8445381)
 * Hi [@setevoy](https://wordpress.org/support/users/setevoy/),
 * that would not help at this point. I was hoping to identify if the uploads issue
   is actually related to the azure storage plugin or a more general issue. Just
   changing the settings would not help us to identify this.
 * Let’s see what the settings reveal.
 * Best
    Thorsten
 *  Thread Starter [setevoy](https://wordpress.org/support/users/setevoy/)
 * (@setevoy)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/http-error-99/#post-8447588)
 * Hi, [@toot](https://wordpress.org/support/users/toot/).
 * OK, got it.
 * I’ll check with our customer about an ability to disable the plugin. Guess – 
   I could copy images directly to WebApp’s host. Will update topic today (and with
   uploadReadAheadSize/maxRequestEntityAllowed).
 * Thanks.
 * **UPD**
    > ability to disable the plugin Unfortunately – no, we can’t 🙁
    -  This reply was modified 9 years, 4 months ago by [setevoy](https://wordpress.org/support/users/setevoy/).
 *  Thread Starter [setevoy](https://wordpress.org/support/users/setevoy/)
 * (@setevoy)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/http-error-99/#post-8452202)
 * Hi, [@tott](https://wordpress.org/support/users/tott/). Here is information you
   asked for:
 * The values on Azure App should take the same default setting with IIS. As reference
   from [https://www.iis.net/configreference/system.webserver/serverruntime](https://www.iis.net/configreference/system.webserver/serverruntime)
 * `uploadReadAheadSize`: The default value is 49152.
    `maxRequestEntityAllowed`:
   The default value is 4294967295 (unlimited).
 *  Plugin Contributor [Ritesh Patel](https://wordpress.org/support/users/ritteshpatel/)
 * (@ritteshpatel)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/http-error-99/#post-8453117)
 * Hi [@setevoy](https://wordpress.org/support/users/setevoy/),
 * The `uploadReadAheadSize` value id 49152 which is 49kb. Can you tell us for which
   maximum image size the upload is working fine?
 * Regards,
    Ritesh
 *  Thread Starter [setevoy](https://wordpress.org/support/users/setevoy/)
 * (@setevoy)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/http-error-99/#post-8453195)
 * Hi, [@ritteshpatel](https://wordpress.org/support/users/ritteshpatel/).
 * I had success with a 512kb file, but it fails with 1M and 4M data.
 *  Plugin Support [Thorsten Ott](https://wordpress.org/support/users/tott/)
 * (@tott)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/http-error-99/#post-8453663)
 * Hi [@setevoy](https://wordpress.org/support/users/setevoy/),
 * could you try to increase the uploadReadAheadSize to a more reasonable value.
   Especially when working over SSL this limit can be reached pretty quickly and
   I think. I’d suggest setting a value of around 10 MB to align with your 8MB upload
   limits.
 * Please let me know if this solves the issue
 * Thanks
    Thorsten

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/http-error-99/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/http-error-99/page/2/?output_format=md)

The topic ‘HTTP error’ is closed to new replies.

 * ![](https://ps.w.org/windows-azure-storage/assets/icon-256x256.png?rev=2486101)
 * [Microsoft Azure Storage for WordPress](https://wordpress.org/plugins/windows-azure-storage/)
 * [Support Threads](https://wordpress.org/support/plugin/windows-azure-storage/)
 * [Active Topics](https://wordpress.org/support/plugin/windows-azure-storage/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/windows-azure-storage/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/windows-azure-storage/reviews/)

 * 27 replies
 * 3 participants
 * Last reply from: [setevoy](https://wordpress.org/support/users/setevoy/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/http-error-99/page/2/#post-8492805)
 * Status: resolved