|SecureNet Xtra for Director
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.
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().
This workaround solution only applies on Windows. On Mac, there is currently no way to POST large amounts of data through SQUID proxy.