Boonex Dolphin – Nginx : Upload error 413 (Resolved)

Cogzidel Technologies works for UK’s top dating website and we recently upgrade their Boonex Dolphin to 7.1 and also migrated to a new server.

The server runs on Nginx Webserver and my dev team faced a strange issue. The website allows the users to upload music or video files up to 2MB in size and nothing more than that 😦

We got “Upload error 413” as the error message.

Are you curious to know how we resolved the issue?

Here is the step by step instruction how to resolve the error message.

(i) Login as root in your SSH

(ii) #vi /etc/nginx/nginx.conf (open nginx configuration file)

(iii) Add the below line in nginx configuration file in http sector

“client_max_body_size 15M;”

(iv)Save the file by pressing esc :wq

(v) Then Press Enter

(vi) Type service nginx restart to restart the nginx service!

(vii) That’s it 🙂 !! Now nginx allow you to upload any MP3 / Video files up to 15 MB.

(viii) You can change the 15M to whatever size you want

See the below image for your reference.

Upload-error-413-nginx

SOLVED! HTTP Status 417 Error

It’s a technical post related to the system administration. We wanted to share this blog to our visitors, regular readers and for someone who search for related issue. Our System Administrator, Boominadha Prakash recently switched some of the PC(s) to ‘ Dedicated Internet Leased Line’ which had IPCop enabled server and since then we ran into a weird issue 🙂 .Our Courier team (Coined by C-Team) were unable to run their Kayako Live Response V3 tool for some reason. With the help of Boomi we learned that it was due to the IPCop (Firewall) that blocked while logging into the app.

The summary of the issue and fix is as follows.

Problem:

If the IPCop is enabled, it blocks the Kayako Live Response V3 to login.

The software shows the following error:

A communication with the server has failed. Details: HTTP Error 417

An error occurred while attempting to communicate with the server (online 00:00:00):

The server returned an error response.

Data: ()

Error: HTTP Error 417

Reason:

  • When using the HTTP Web Request to POST form data using HTTP 1.1. It always adds the following HTTP Header : “Expect: 100- continue”
  • Squid firewall blocks this “Expect: 100- continue” HTTP Header
Solution:

Let’s go to the solution part now. In order to fix this issue, you need to add 1 line in squid configure file.

Rule: ignore_expect_100 on

File Location: /var/ipcop/proxy/squid.conf or /etc/squid/squid.conf

Steps

  • Open Terminal
  • Login as root
  • # vi /etc/squid/squid.conf
  • add this line : ignore_expect_100 on
  • Then press esc :wq to save and exit the file

PS: The issue only pertains in the Kayako LIVE Response V3 only. In V4, there is a built-in option to overcome this problem 🙂 .

Although, it’s a simple fix, we couldn’t find this fix anywhere. Therefore, we hope this post would be helpful for freelancers/ companies who use Kayako Live Response V3.