auth_connect#
- gwpy.io.nds2.auth_connect(host: str, port: int | None = None) connection[source]#
Open an
nds2.connectionhandling simple authentication errors.This method will catch exceptions related to kerberos authentication, and execute a kinit() for the user before attempting to connect again.
- Parameters:
- Returns:
- connection
nds2.connection A new open connection to the given NDS host.
- connection
See also
gwpy.io.nds2.connectFor details of opening connections.