Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Problem with UpdateIssue (3.7)

api

I've created an Outlook AddIn that allows our staff to create and update gemini issues. It worked perfect with the "old Gemini" 3.1, but after we moved to Version 3.7 most of our users cannot update issues.

Code: My.User.InitializeWithWindowsUser() ServiceManager = New CounterSoft.Gemini.WebServices.ServiceManager("http://gemini", My.User.Name, String.Empty, String.Empty, True)

        Dim issue As Gemini.Commons.Entity.IssueEN
        issue = GeminiDP.ServiceManager.IssuesService.GetIssue(IssueID)
        issue.IssueStatus = newStatus
        issue.IssueResolution = newResolution
        GeminiDP.ServiceManager.IssuesService.UpdateIssue(issue)

At my account everything is working fine. But a the others a the update takes forever and results in an exception: System.Net.WebException: The remote server returned an error: (504) Gateway Timeout.

at System.Net.HttpWebRequest.GetResponse()

at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)

at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)

at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)

at System.Xml.XmlTextReaderImpl.OpenAndPush(Uri uri)

at System.Xml.XmlTextReaderImpl.PushExternalEntityOrSubset(String publicId, String systemId, String baseUriStr, Uri& baseUri, String entityName)

at System.Xml.XmlTextReaderImpl.DtdParserProxy_PushExternalSubset(String systemId, String publicId)

at System.Xml.XmlTextReaderImpl.DtdParserProxy.System.Xml.IDtdParserAdapter.PushExternalSubset(String systemId, String publicId)

at System.Xml.DtdParser.ParseExternalSubset()

at System.Xml.DtdParser.ParseInDocumentDtd(Boolean saveInternalSubset)

at System.Xml.DtdParser.Parse(Boolean saveInternalSubset)

at System.Xml.DtdParser.System.Xml.IDtdParser.ParseInternalDtd(IDtdParserAdapter adapter, Boolean saveInternalSubset)

at System.Xml.XmlTextReaderImpl.ParseDtd()

at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()

at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

at System.Xml.XmlTextReaderImpl.Read()

at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)

at System.Xml.XmlDocument.Load(XmlReader reader)

at System.Xml.XmlDocument.Load(Stream inStream)

at CounterSoft.Gemini.Commons.Rest.Serializer.ConvertToObject[T](Stream stream)

at CounterSoft.Gemini.WebServices.BaseService.GetObjectFromResponse[T](Stream stream)

at CounterSoft.Gemini.WebServices.BaseService.ThrowResponseException(WebResponse response)

at CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url, Object obj, RequestType requestType)

at CounterSoft.Gemini.WebServices.IssuesService.UpdateIssue(IssueEN issue)

Tracing the communication with Fiddler shows that the update gives an 401 error. All other operations (create issues, adding comments, adding timeentry) all work fine. Only the issue update is causing me headaches. Thanks for any advice

Regards Erik

Erik
· 1
Erik
Replies (2)
helpful
0
not helpful
ANSWER

Aer you using windows authentication? If so, please give everyone full control on the api folder of the Gemini site in windows file explorer.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Thanks, that helped. Didn't thought of that while all other function calls worked.


Erik
· 1
Erik