AnsweredAssumed Answered

How can I change the timeout settings in my Python script?

Question asked by Philipp_Gattig on May 11, 2018
Latest reply on May 16, 2018 by gregor

PIConnectionException: [-10722] PINET: Timeout on PI RPC or System Call.

   at OSIsoft.AF.PI.PIException.ConvertAndThrowException(PIServer piServer, Exception ex, String message)

   at OSIsoft.AF.PI.PIServer.RemoteConnect(AFConnectionPreference preference, NetworkCredential credential, PIAuthenticationMode authenticationMode)

   at OSIsoft.AF.PI.PIServer.InternalConnect(Int32 numRetries, IWin32Window owner, AFConnectionPreference preference, NetworkCredential credential, PIAuthenticationMode authenticationMode, Boolean checkConnectingAsSameUser)

   at OSIsoft.AF.PI.PIServer.AutoConnect(Boolean allowDirectConnect, Boolean force)

   at OSIsoft.AF.PI.PIServer.Connect(Boolean force)

 

Do I have to change my timeout settings? Or Do I have to authenticate myself manually? If I manually start PI Coresight through the website, the startup process will take about 20 seconds.

Outcomes