Community in read only mode June 18 & 19
This community will be set in READ ONLY mode for a while on Tuesday June 18 into Wednesday June 19 while we import content and users from our Micro Focus Forums community site. MORE INFORMATION
shahnila
Visitor.
207 views

WebRest API with post method returning Error -26612: HTTP Status-Code=500 Please advise

Starting action Action.
Warning: Failed to get NV emulation handle.
Action.c(3): web_set_sockets_option started   [MsgId: MMSG-26355]
Action.c(3): web_set_sockets_option was successful   [MsgId: MMSG-26392]
Action.c(4): web_set_max_html_param_len started   [MsgId: MMSG-26355]
Action.c(4): web_set_max_html_param_len was successful   [MsgId: MMSG-26392]
Action.c(6): web_rest("SessonToken") started   [MsgId: MMSG-26355]
Action.c(6): t=239ms: Connecting [0] to host 104.211.26.212:443   [MsgId: MMSG-26000]
Action.c(6): t=241ms: Connected socket [0] from 10.1.1.4:37133 to 104.211.26.212:443 in 2 ms   [MsgId: MMSG-26000]
Action.c(6): t=1271ms: Trying to set SNI with servername sita-qca-eastus-app-deviceservice.azurewebsites.net   [MsgId: MMSG-26000]
Action.c(6): t=1271ms: Setting SNI was succesfull   [MsgId: MMSG-26000]
Action.c(6): t=1281ms: 299-byte request headers for "https://sita-QCA-eastus-app-deviceservice.azurewebsites.net/api/v3/session/start/terminal" (RelFrameId=1, Internal ID=1)
Action.c(6):     POST /api/v3/session/start/terminal HTTP/1.1\r\n
Action.c(6):     Cache-Control: no-cache\r\n
Action.c(6):     User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)\r\n
Action.c(6):     Accept-Encoding: gzip, deflate\r\n
Action.c(6):     Accept: */*\r\n
Action.c(6):     Connection: Keep-Alive\r\n
Action.c(6):     Host: sita-qca-eastus-app-deviceservice.azurewebsites.net\r\n
Action.c(6):     Content-Length: 83\r\n
Action.c(6):     \r\n
Action.c(6): t=1284ms: 83-byte request body for "https://sita-QCA-eastus-app-deviceservice.azurewebsites.net/api/v3/session/start/terminal" (RelFrameId=1, Internal ID=1)
Action.c(6):     {"LocationId": "JFK-T1-GATE1-WKS-003","AirlineApplicationCode": "MyAirlineAppCode"}
Action.c(6): t=1322ms: 280-byte response headers for "https://sita-QCA-eastus-app-deviceservice.azurewebsites.net/api/v3/session/start/terminal" (RelFrameId=1, Internal ID=1)
Action.c(6):     HTTP/1.1 500 Unknown error occured\r\n
Action.c(6):     Cache-Control: no-cache\r\n
Action.c(6):     Pragma: no-cache\r\n
Action.c(6):     Content-Length: 1968\r\n
Action.c(6):     Content-Type: application/json; charset=utf-8\r\n
Action.c(6):     Expires: -1\r\n
Action.c(6):     Server: Microsoft-IIS/10.0\r\n
Action.c(6):     X-AspNet-Version: 4.0.30319\r\n
Action.c(6):     X-Powered-By: ASP.NET\r\n
Action.c(6):     Date: Wed, 22 Aug 2018 15:43:00 GMT\r\n
Action.c(6):     \r\n
Action.c(6): t=1327ms: 1968-byte response body for "https://sita-QCA-eastus-app-deviceservice.azurewebsites.net/api/v3/session/start/terminal" (RelFrameId=1, Internal ID=1)
Action.c(6):     {\r\n
Action.c(6):       "httpStatusCode": "InternalServerError",\r\n
Action.c(6):       "userMessage": "Unknown error occured",\r\n
Action.c(6):       "entityId": null,\r\n
Action.c(6):       "entityType": null,\r\n
Action.c(6):       "exceptionType": "System.Web.Http.HttpResponseException",\r\n
Action.c(6):       "exceptionMessage": "Processing of the HTTP request resulted in an exception. Please see
Action.c(6):      the HTTP response returned by the 'Response' property of this exception for details.",\r\n
Action.c(6):       "exceptionStackTrace": "   at System.Web.Http.ModelBinding.FormatterParameterBinding.Rea
Action.c(6):     dContentAsync(HttpRequestMessage request, Type type, IEnumerable`1 formatters, IFormatterL
Action.c(6):     ogger formatterLogger, CancellationToken cancellationToken)\\r\\n   at System.Web.Http.Mod
Action.c(6):     elBinding.FormatterParameterBinding.ReadContentAsync(HttpRequestMessage request, Type type
Action.c(6):     , IEnumerable`1 formatters, IFormatterLogger formatterLogger)\\r\\n   at System.Web.Http.M
Action.c(6):     odelBinding.FormatterParameterBinding.<ExecuteBindingAsyncCore>d__0.MoveNext()\\r\\n--- En
Action.c(6):     d of stack trace from previous location where exception was thrown ---\\r\\n   at System.R
Action.c(6):     untime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerS
Action.c(6):     ervices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.W
Action.c(6):     eb.Http.Controllers.HttpActionBinding.<ExecuteBindingAsyncCore>d__0.MoveNext()\\r\\n--- En
Action.c(6):     d of stack trace from previous location where exception was thrown ---\\r\\n   at System.R
Action.c(6):     untime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerS
Action.c(6):     ervices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.W
Action.c(6):     eb.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\\r\\n--- End of stack
Action.c(6):      trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.Exc
Action.c(6):     eptionServices.ExceptionDispatchInfo.Throw()\\r\\n   at System.Runtime.CompilerServices.Ta
Action.c(6):     skAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Co
Action.c(6):     ntrollers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()",\r\n
Action.c(6):       "modelStateErrors": {}\r\n
Action.c(6):     }
Action.c(6): Error -26612: HTTP Status-Code=500 (Unknown error occured) for "https://sita-QCA-eastus-app-deviceservice.azurewebsites.net/api/v3/session/start/terminal"   [MsgId: MERR-26612]
Action.c(6): t=1328ms: Closing connection [0] to sita-qca-eastus-app-deviceservice.azurewebsites.net after receiving status code 500   [MsgId: MMSG-26000]
Action.c(6): t=1328ms: Closed connection [0] to sita-qca-eastus-app-deviceservice.azurewebsites.net:443 after completing 0 request(s)   [MsgId: MMSG-26000]
Action.c(6): t=1330ms: Request done "https://sita-QCA-eastus-app-deviceservice.azurewebsites.net/api/v3/session/start/terminal"   [MsgId: MMSG-26000]
Action.c(6): web_rest("SessonToken") highest severity level was "ERROR", 1968 body bytes, 280 header bytes   [MsgId: MMSG-26388]
Ending action Action.
Ending iteration 1.
Ending Vuser...

0 Likes
1 Reply
Micro Focus Expert
Micro Focus Expert

Re: WebRest API with post method returning Error -26612: HTTP Status-Code=500 Please advise

Hi Shahnila,

Thank you for your question and for letting us know your issue. I can see that the problem on your script is complicated to define just by looking at the actions from the output, so I strongly recommend you to open a support case so an engineer can provide you a better assistance to find the solution of the problem.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.