Invalid SQL: INSERT INTO `swsessions` (`sessionid`, `ipaddress`, `lastactivity`, `useragent`, `isloggedin`, `sessiontype`, `typeid`, `dateline`, `status`) VALUES('0d5548fbff92a11b90737777676a3a49', '54.167.225.62', '1498610977', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '0', '40', '0', '1498610977', '0'); (The table 'swsessions' is full)
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\support.inm.com\includes\functions.php:410) in C:\Inetpub\support.inm.com\includes\functions.php on line 1612
How to handle large POST requests through SQUID proxy server using snxPostNetText - Support Center
inm logo
Corporate Website | Contact | Store | Support | Login  
     


Knowledgebase
View categorized listing of all common frequently asked questions.
Downloads
View our categorized library of downloads for all necessary manuals, software, etc.
 Article Options
Support Center » Knowledgebase » INM SecureNet for Director » How to handle large POST requests through SQUID proxy server using snxPostNetText
Support Page Banner
 How to handle large POST requests through SQUID proxy server using snxPostNetText
Product:Platform:Area:Version:
SecureNet Xtra for Director Windows Posting 1.3.1

Summary

If you attempt to post a large amount of data (greater than 7Kb) using snxPostNetText, SecureNet Xtra will return the Error -1030 if you have the following conditions:

  • Accessing the web through a SQUID proxy server.
  • The request is the first one of the session.

Here is how proxy authentication is handled by SecureNet Xtra on Windows:

SecureNet Xtra sends the query to the proxy server; if the proxy requires authentication, a -407 Error is returned. SecureNet Xtra, then resends the query, along with the user name and password pair. Once a query gets past the authentication phase, all the other queries are considered "trusted" by SQUID which means that no further authentication is required.

For some reason, SQUID is not able to handle the first query if the amount of data is too large. Instead of sending a 407 Error, SQUID will just abort the connection.

 

Solution

To get around this problem, you will have to do a small query, using either snxPostNetText or snxGetNetText, to get past the authentication phase. Once that is done, you will be able to post large amounts of data using snxPostNetText().

Notes

This workaround solution only applies on Windows. On Mac, there is currently no way to POST large amounts of data through SQUID proxy.

 



Article Details
Article ID: 50
Created On: 26 Sep 2006 10:25 AM

 This answer was helpful  This answer was not helpful

inm general footer
Services Xtras Go Products Support Gallery Store Download About Us Contact Newsroom