Db2 11.1

SOCKS errors

The software returns the SQL30081N message (-30081) when a SOCKS-specific communications error is detected. The actual SOCKS error that is encountered by the communication subsystem is returned in the list of error tokens for the SQL30081N message.

When the SOCKS protocol is specified, the following errors can be returned with the SQL30081N message:
  • 01: General SOCKS server failure
  • 02: Connection not allowed by the rule set defined at SOCKS server
  • 03: Destination network is unreachable
  • 04: Destination host is unreachable
  • 05: Connection refused by the remote host
  • 06: TTL expired (the remote host is too far away)
  • 07: Command not supported. (Internal error)
  • 08: Address type not supported. (Internal error)
  • 91: The request was rejected or failed. The user or source program is not authorized to access the proxy server.
  • 92: The request was rejected because the SOCKS server could not contact "identd" (the IDENT server.)
  • 93: The request was rejected because the client program and identd reported different user identities.
The following values identify the authentication method used:
  • 00: No authentication.
  • 01: GSSAPI
  • 02: USERNAME/PASSWORD
  • FF: No acceptable methods were found.