Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.81 KB | None | 0 0
  1. GET /oauth2/token HTTP/1.1
  2. Accept: */*
  3. Accept-Encoding: gzip, deflate
  4. Host: 136.243.170.238:8080
  5. User-Agent: Python/3.5 aiohttp/2.2.0
  6. Content-Length: 53
  7. Content-Type: application/x-www-form-urlencoded
  8.  
  9. username=Hub_55&password=O5G26RL8&grant_type=passwordHTTP/1.1 200 OK
  10. Cache-Control: no-cache
  11. Pragma: no-cache
  12. Content-Type: application/json;charset=UTF-8
  13. Expires: -1
  14. Server: Microsoft-IIS/8.5
  15. X-Powered-By: ASP.NET
  16. Date: Wed, 23 Aug 2017 10:19:52 GMT
  17. Content-Length: 733
  18.  
  19. {"access_token":"VNcPBBSVeKFY1K5ypU7UKnlRF5tsepp2WpUHzj_hdkXeeD2uEmFTQGyDL0CCHZbnt34_Qojkliz71QQmrK7Kgg31ERrTyyrZK-ZR-xNuCthWczKYVN9WSN9iPyTXpXEOYkuTuxYrt35H9xZv48jfOgknjd6Yr5-GqIn2rDnKbfJm3yVvQrdzmoP_KtW8kCEHG-KIcclaym2IRt4YZQ9RyZxaEi_nN9GqWqzwZN4Hk5jVQ9LNldOoCGykNUDfObtpw1LQ37AiqitQsjofDOxW8iKb4H8N_BxkGZBu1WhAhD94_SrlvK2wT1MF9z1S8lL6UT6LjQ","token_type":"bearer","expires_in":1209599,"refresh_token":"ZBGOIyso_XQnnl7RprnaPFYWEudBo512nPn5m3M8mvjGTE-Sw7FUVzHFyhbgBOYdEcxT3vQSLFis_zsLovAqMhgVRiuQZTwQ2cu4qqI8vOFp9z2ZxhZo-7FSyginSL4aGv_TwCDABQSQw8-WSjpR6c8TSYNglHMB8TFXXk6U3fHHtL711skp_Xqn-85VkuPHKWS2fhQnBsvy_vnfIyDj8vxKOwGCKfQpfVMKYK943Y9rrMQwr0BYnLLHebt4sF8Pnr76A4zIQ2q--rIvVeIrLX7vhzj5PTlOeewFtIfsgz6D0K8iYWye4yXTtWAgZgmCci7DYw"}POST /api/ssh/params/55 HTTP/1.1
  20. Authorization: bearer VNcPBBSVeKFY1K5ypU7UKnlRF5tsepp2WpUHzj_hdkXeeD2uEmFTQGyDL0CCHZbnt34_Qojkliz71QQmrK7Kgg31ERrTyyrZK-ZR-xNuCthWczKYVN9WSN9iPyTXpXEOYkuTuxYrt35H9xZv48jfOgknjd6Yr5-GqIn2rDnKbfJm3yVvQrdzmoP_KtW8kCEHG-KIcclaym2IRt4YZQ9RyZxaEi_nN9GqWqzwZN4Hk5jVQ9LNldOoCGykNUDfObtpw1LQ37AiqitQsjofDOxW8iKb4H8N_BxkGZBu1WhAhD94_SrlvK2wT1MF9z1S8lL6UT6LjQ
  21. Accept: */*
  22. Accept-Encoding: gzip, deflate
  23. Host: 136.243.170.238:8080
  24. User-Agent: Python/3.5 aiohttp/2.2.0
  25. Content-Length: 957
  26. Content-Type: application/json
  27.  
  28. {"HubPublicKey": "ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBACxed4qx20ajGYRravSDAwPqzt8hXc5OlvTACpFI0TefgGgAilHoHjYslXaGiB0kaGl2Ln7u0sUjUoU4aJsKNtUBQEH/SX7ofwRJlelGZN/I8kDncfWGS/L/lMGH6QAZAOOmwY14hxKQA/CbmWoLRc33amF9GotDXNmJXvL2GOOtLXsyw== misha@thp", "Login": "Hub_55", "HubHostKey": "ssh-dss AAAAB3NzaC1kc3MAAACBAM/NFvtXwlE+u+BIjGNG2SBM8ycECtB89h7wMDgjoPArFjbLBzvZo1BdhmERokVCwlsXbpSBZIVArZlfp/0z+LLpty4B2gI5t3Tc869IMGX1iZrNJ+YHKn7vUS7bndtrIqQmTZ/xamt7Du7xrmI47hxwzZRnQga4HQ8kdnnRJDlBAAAAFQCyuM3MgmbyqjzdAtHgYy5TZh0kZQAAAIA5+XrmMoG77WDyLqv/feIMUXTlacQ8FyDPUQ3fFlqq/TJdQ1Xwt2WTJU09mWw5iEfIcIIrxpmjBaZxL9Ee0S7cJfn9YdBS4aegMIvy6I6qLH9sUdNRw3uWwc1uzCdKKMX5HKYhTmamjeYcrNG/aM9YNT3SqsWJFTxBoePxqoDtbgAAAIBc5dM6n61ipK5mL9OgZhFMlHlSnRnEu8WBDX9z16NMjwyA1iy23y9huAkLI4E6k5q9RnXTJo2lawHYIIlOwhu28pDxV/qZBdIWvc4ox516XOLmHOfhFqkM9w6FHohlurxrrM+szMsF5IFm1wJQv95O12VUmA9wKwDgFa3hb95AiQ== misha@thp", "HubSN": "55", "HubUserName": "Hub_55"}HTTP/1.1 404 Not Found
  29. Content-Type: application/json; charset=utf-8
  30. Server: Microsoft-IIS/8.5
  31. X-Powered-By: ASP.NET
  32. Date: Wed, 23 Aug 2017 10:19:52 GMT
  33. Content-Length: 11225
  34.  
  35. {"ClassName":"WispCloud.WispHttpException","Message":"SshManager.RequestHubSshParameters: SSH Request for Hub \"55\" not found","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at WispCloud.Logic.SshManager.RequestHubSshParameters(String hubSN, SshRequestClientData hubData) in D:\\work\\wisp\\WispCloud\\WispCloud\\Logic\\Ssh\\SshManager.cs:line 113\r\n at WispCloud.Api.Controllers.SshController.RequestHubSshParameters(String hubSN, SshRequestClientData hubData) in D:\\work\\wisp\\WispCloud\\WispCloud\\Api\\Controllers\\SshController.cs:line 57\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.AuthenticationFilterResult.<ExecuteAsync>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at WispCloud.Exceptions.Handlers.PassthroughHandler.HandleAsync(ExceptionHandlerContext context, CancellationToken cancellationToken) in D:\\work\\wisp\\WispCloud\\WispCloud\\Exceptions\\Handlers\\PassthroughHandler.cs:line 20\r\n at System.Web.Http.ExceptionHandling.LastChanceExceptionHandler.HandleAsync(ExceptionHandlerContext context, CancellationToken cancellationToken)\r\n at System.Web.Http.ExceptionHandling.ExceptionHandlerExtensions.<HandleAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Owin.PassiveAuthenticationMessageHandler.<SendAsync>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.HttpServer.<SendAsync>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at WispCloud.Exceptions.Handlers.PassthroughHandler.HandleAsync(ExceptionHandlerContext context, CancellationToken cancellationToken) in D:\\work\\wisp\\WispCloud\\WispCloud\\Exceptions\\Handlers\\PassthroughHandler.cs:line 20\r\n at System.Web.Http.ExceptionHandling.LastChanceExceptionHandler.HandleAsync(ExceptionHandlerContext context, CancellationToken cancellationToken)\r\n at System.Web.Http.ExceptionHandling.ExceptionHandlerExtensions.<HandleAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.HttpServer.<SendAsync>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Owin.HttpMessageHandlerAdapter.<InvokeCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.<RunApp>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Owin.Mapping.MapMiddleware.<Invoke>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.<RunApp>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1.<Invoke>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1.<Invoke>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.GetResult()\r\n at WispCloud.Exceptions.Handlers.AllExceptionsMiddleware.<Invoke>d__2.MoveNext() in D:\\work\\wisp\\WispCloud\\WispCloud\\Exceptions\\Handlers\\AllExceptionsMiddleware.cs:line 26","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nRequestHubSshParameters\nWispCloud, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\nWispCloud.Logic.SshManager\nWispCommon.DTO.SshRequestClientData RequestHubSshParameters(System.String, WispCommon.DTO.SshRequestClientData)","HResult":-2146233088,"Source":"WispCloud","WatsonBuckets":null}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement