11 Replies Latest reply on Jan 26, 2016 1:30 PM by pthivierge

    PI Web API Unable to Establish Trust

    mdsterman

      Hi,

       

      I am using sample C# code from OSI:

       

      pi = "PI Server Name";

      string tag = "sinusoid";

      string baseURL = https://XXXXX.xxx.abcworc.com/piwebapi;

      string url = baseURL + "/points?path=\\\\" + pi + "\\" + tag;

      HttpWebRequest webrequest = (HttpWebRequest)WebRequest.Create(url);

      webrequest.ContentType = "application/json";

      webrequest.UseDefaultCredentials = true;

      webrequest.Method = "GET";

      HttpWebResponse webresponse = (HttpWebResponse)webrequest.GetResponse();

       

      The PI Server Name is the name that shows up in my PI SDK Connections dialog.  I am successful at getting the PI Web API help file using the baseURL.  I am not a PI admin, but have been told we use Kerebos authentication.  Any advice?

       

      Thank You