Saturday, January 5, 2013

HTTP Status 417 Error

Sometimes your applications shows "HTTP Status 417 Error".
The reason is Http use the “Expect: 100- continue” Header.
Firewall or proxy blocks this header when you use those applications.
If you are using squid enabled proxy or firewall, do the below steps to enable this header in proxy.
1. Open Terminal
2. Type the below steps in terminal
  • Login as root user ( By type "su root" command in terminal. Give root password then press enter)
  • vi /etc/squid/squid.conf ( To edit the squid.conf file )
  • If you don't know the location of squid.conf file type the below command in terminal.
  • "find / -name squid.conf ". It will show the location of squid.conf file. Then do the second step to edit the squid.conf file.
  • Add this line " ignore_expect_100 on " in squid.conf file.
  • Then Press esc :wq then press enter ( To save and quit the file )
  • Then restart the service using the below command
  • service squid restart (or)
  • /etc/init.d/squid restart
3. Now your application works fine

No comments:

Post a Comment