Workflow HttpService.SendRequest fails when processing response

I have a workflow that downloads and save a file to the file system. When testing it in architect it works fine, but when tested in server environment following error occurs.

2021-08-30 11:49:59,617 [Workflow b8becc6f-27a3-49d8-9bf0-3e8d236970d9] ERROR Origam.Workflow.WorkflowEngine - The 'Name'=' TS01dc3c5c' part of the cookie is invalid.
Origam.OrigamException: The 'Name'=' TS01dc3c5c' part of the cookie is invalid.
 ---> System.Net.CookieException: The 'Name'=' TS01dc3c5c' part of the cookie is invalid.
   at System.Net.Cookie.set_Name(String value)
   at System.Net.Cookie..ctor(String name, String value)
   at Origam.HttpTools.CookiesFromStrings(String host, List`1 singleCookies) in D:\a\1\s\origam-source\Origam.Common\HttpTools.cs:line 71
   at Origam.HttpTools.FixCookies(HttpWebRequest request, HttpWebResponse response) in D:\a\1\s\origam-source\Origam.Common\HttpTools.cs:line 56
   at Origam.HttpTools.GetResponse(String url, String method, String content, String contentType, Hashtable headers, String authenticationType, String userName, String password, Nullable`1 timeoutMs, CookieCollection cookies, Boolean ignoreHTTPSErrors) in D:\a\1\s\origam-source\Origam.Common\HttpTools.cs:line 409
   at Origam.HttpTools.SendRequest(String url, String method, String content, String contentType, Hashtable headers, String authenticationType, String userName, String password, Boolean returnAsStream, Nullable`1 timeout) in D:\a\1\s\origam-source\Origam.Common\HttpTools.cs:line 246
   at Origam.HttpTools.SendRequest(String url, String method, String content, String contentType, Hashtable headers, Nullable`1 timeout) in D:\a\1\s\origam-source\Origam.Common\HttpTools.cs:line 236
   at Origam.Workflow.HttpServiceAgent.Run() in D:\a\1\s\origam-source\Origam.Workflow\Service Agents\HttpServiceAgent.cs:line 63
   at Origam.Workflow.Tasks.ServiceMethodCallEngineTask.OnExecute() in D:\a\1\s\origam-source\Origam.Workflow\Tasks\ServiceMethodCallEngineTask.cs:line 212
   at Origam.Workflow.ProfilingTools.<>c__DisplayClass4_0.<ExecuteAndLogDuration>g__FuncToExecute|0() in D:\a\1\s\origam-source\Origam.Workflow\ProfilingTools.cs:line 69
   at Origam.Workflow.ProfilingTools.ExecuteAndLogDuration(Func`1 funcToExecute, String logEntryType, String path, String id, Func`1 logOnlyIf) in D:\a\1\s\origam-source\Origam.Workflow\ProfilingTools.cs:line 109
   at Origam.Workflow.ProfilingTools.ExecuteAndLogDuration(Action action, String logEntryType, String path, String id, Func`1 logOnlyIf) in D:\a\1\s\origam-source\Origam.Workflow\ProfilingTools.cs:line 74
   at Origam.Workflow.Tasks.AbstractWorkflowEngineTask.MeasuredExecution() in D:\a\1\s\origam-source\Origam.Workflow\Tasks\AbstractWorkflowEngineTask.cs:line 107
   at Origam.Workflow.Tasks.ServiceMethodCallEngineTask.Execute() in D:\a\1\s\origam-source\Origam.Workflow\Tasks\ServiceMethodCallEngineTask.cs:line 71
   --- End of inner exception stack trace ---
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.