HTTP Error 413.1 - Request Entity Too Large

Install and configure FormaLMS and DoceboCE
Post Reply
User avatar
Crimzin
Newbie
Posts: 13
Joined: Wed Nov 13, 2019 7:31 am

HTTP Error 413.1 - Request Entity Too Large

Post by Crimzin »

Hi All,

I am currently running

Forma Version: 2.3.0
Operating system: Windows server 2016
IIS version: 10


I am trying to load video files in the region of about 300mb to say 1.5gb.

tried file types .avi .m4v and mp4 ( not sure if it needs to be specific type )



I get the following error:

-----------------------------------

HTTP Error 413.1 - Request Entity Too Large
The page was not displayed because the request entity is too large.

Most likely causes:
The Web server is refusing to service the request because the request entity is too large.
The Web server cannot service the request because it is trying to negotiate a client certificate but the request entity is too large.
The request URL or the physical mapping to the URL (i.e., the physical file system path to the URL's content) is too long.

Things you can try:
Verify that the request is valid.
If using client certificates, try:
Increasing system.webServer/serverRuntime@uploadReadAheadSize
Configure your SSL endpoint to negotiate client certificates as part of the initial SSL handshake. (netsh http add sslcert ... clientcertnegotiation=enable)

Detailed Error Information:
Module RequestFilteringModule
Notification BeginRequest
Handler PHP_via_FastCGI5
Error Code 0x00000000
Requested URL http://removed for privacy.co.za:80/appLms/index.php?modname=item&op=insitem
Physical Path C:\inetpub\wwwroot\formalms\appLms\index.php
Logon Method Not yet determined
Logon User Not yet determined

More Information:
This error occurs when the Web server receives a large amount of data from the client. It also occurs if client certificate negotiation occurs while receiving a large request.

-------------------------------------------

My PHP version is:7.0.27

----------------------------------------------

[PHP]

output_buffering = 4096
memory_limit = 128M
log_errors_max_len = 1024
post_max_size = 2048M
file_uploads = On
upload_max_filesize = 1024M
max_file_uploads = 40


[WebPIChanges]
error_log=C:\Windows\temp\PHP70x64_errors.log
upload_tmp_dir=C:\Windows\temp
session.save_path=C:\Windows\temp
cgi.force_redirect=0
cgi.fix_pathinfo=1
fastcgi.impersonate=1
fastcgi.logging=0
max_execution_time=300
date.timezone=Europe/Minsk
extension_dir="C:\Program Files\PHP\v7.0\ext\"

[18-Sep-2020 21:35:03 Europe/Minsk] PHP Notice: Undefined index: notuse_customscript in C:\inetpub\wwwroot\formalms\lib\lib.forma.php on line 49
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method TrackUser::getUserPreviousSessionCourseTime() should not be called statically in C:\inetpub\wwwroot\formalms\lib\layout\lib.layout.php on line 507
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method TrackUser::getUserCurrentSessionCourseTime() should not be called statically in C:\inetpub\wwwroot\formalms\lib\layout\lib.layout.php on line 508
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method TrackUser::getWhoIsOnline() should not be called statically in C:\inetpub\wwwroot\formalms\lib\layout\lib.layout.php on line 534
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method PlatformManager::createInstance() should not be called statically in C:\inetpub\wwwroot\formalms\lib\lib.utils.php on line 546
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Notice: Undefined index: notuse_plugin in C:\inetpub\wwwroot\formalms\lib\lib.forma.php on line 31
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Notice: Undefined index: notuse_plugin in C:\inetpub\wwwroot\formalms\lib\lib.forma.php on line 31
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Notice: Undefined index: notuse_customscript in C:\inetpub\wwwroot\formalms\lib\lib.forma.php on line 49
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Notice: Undefined index: notuse_customscript in C:\inetpub\wwwroot\formalms\lib\lib.forma.php on line 49
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method PlatformManager::createInstance() should not be called statically in C:\inetpub\wwwroot\formalms\lib\lib.utils.php on line 546
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method Learning_Cart::init() should not be called statically in C:\inetpub\wwwroot\formalms\lib\layout\lib.layout.php on line 164
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method Learning_Cart::cartItemCount() should not be called statically in C:\inetpub\wwwroot\formalms\lib\layout\lib.layout.php on line 166
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method Learning_Cart::emptyCart() should not be called statically in C:\inetpub\wwwroot\formalms\appLms\lib\lib.cart.php on line 46
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method Learning_Cart::cartItemCount() should not be called statically in C:\inetpub\wwwroot\formalms\lib\layout\lib.layout.php on line 168
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method Learning_Cart::emptyCart() should not be called statically in C:\inetpub\wwwroot\formalms\appLms\lib\lib.cart.php on line 46
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method PlatformManager::createInstance() should not be called statically in C:\inetpub\wwwroot\formalms\lib\lib.utils.php on line 546
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method PlatformManager::createInstance() should not be called statically in C:\inetpub\wwwroot\formalms\lib\lib.utils.php on line 546
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method PlatformManager::createInstance() should not be called statically in C:\inetpub\wwwroot\formalms\lib\lib.utils.php on line 546
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method PlatformManager::createInstance() should not be called statically in C:\inetpub\wwwroot\formalms\lib\lib.utils.php on line 546
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method PlatformManager::createInstance() should not be called statically in C:\inetpub\wwwroot\formalms\lib\lib.utils.php on line 546
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method PlatformManager::createInstance() should not be called statically in C:\inetpub\wwwroot\formalms\lib\lib.utils.php on line 546
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method PlatformManager::createInstance() should not be called statically in C:\inetpub\wwwroot\formalms\lib\lib.utils.php on line 546
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method PlatformManager::createInstance() should not be called statically in C:\inetpub\wwwroot\formalms\lib\lib.utils.php on line 546
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Deprecated: Non-static method PlatformManager::createInstance() should not be called statically in C:\inetpub\wwwroot\formalms\lib\lib.utils.php on line 546
[18-Sep-2020 21:35:03 Europe/Minsk] PHP Notice: Undefined index: HTTP_X_FORWARDED_FOR in C:\inetpub\wwwroot\formalms\lib\lib.user.php on line 109

[18-Sep-2020 21:34:51 Europe/Minsk] PHP Notice: Undefined index: HTTP_X_FORWARDED_FOR in C:\inetpub\wwwroot\formalms\lib\lib.user.php on line 109
[18-Sep-2020 21:35:00 Europe/Minsk] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; UserPreferencesDb has a deprecated constructor in C:\inetpub\wwwroot\formalms\lib\lib.preference.php on line 26
[18-Sep-2020 21:35:00 Europe/Minsk] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; UserPreferences has a deprecated constructor in C:\inetpub\wwwroot\formalms\lib\lib.preference.php on line 451
[18-Sep-2020 21:35:00 Europe/Minsk] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON has a deprecated constructor in C:\inetpub\wwwroot\formalms\lib\lib.json.php on line 116
[18-Sep-2020 21:35:00 Europe/Minsk] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON_Error has a deprecated constructor in C:\inetpub\wwwroot\formalms\lib\lib.json.php on line 785
[18-Sep-2020 21:35:00 Europe/Minsk] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON_Error has a deprecated constructor in C:\inetpub\wwwroot\formalms\lib\lib.json.php on line 799
[18-Sep-2020 21:35:00 Europe/Minsk] PHP Notice: Undefined index: notuse_plugin in C:\inetpub\wwwroot\formalms\lib\lib.forma.php on line 31
[18-Sep-2020 21:35:00 Europe/Minsk] PHP Notice: Undefined index: notuse_plugin in C:\inetpub\wwwroot\formalms\lib\lib.forma.php on line 31
[18-Sep-2020 21:35:00 Europe/Minsk] PHP Notice: Undefined index: notuse_customscript in C:\inetpub\wwwroot\formalms\lib\lib.forma.php on line 49
[18-Sep-2020 21:35:00 Europe/Minsk] PHP Notice: Undefined index: notuse_customscript in C:\inetpub\wwwroot\formalms\lib\lib.forma.php on line 49

alfa24
Senior Boarder
Posts: 1012
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: HTTP Error 413.1 - Request Entity Too Large

Post by alfa24 »

Not a Forma issue:
https://stackoverflow.com/questions/227 ... rge-on-iis
Anyway, uploading big video files as item (to be downloaded? played in streaming?) it's not a great idea.
I'm Jasmines, the One. If you need, you can contact me.

User avatar
Crimzin
Newbie
Posts: 13
Joined: Wed Nov 13, 2019 7:31 am

Re: HTTP Error 413.1 - Request Entity Too Large

Post by Crimzin »

Thank you Alfa24, trying to create a teaching videos and content to help students.

Will check your SO post and get back to you.

Post Reply