Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.34 KB | None | 0 0
  1. Moya_Logger: [13/11/2019 12:48:53] Request: https://kbrdev.mobiledimension.ru/api/v2/uservices/token/balance
  2. Moya_Logger: [13/11/2019 12:48:53] Request Headers: ["Device": "Simulator 64 bit", "DeviceOS": "iOS 13.2", "Accept-Content": "application/json", "Authorization": "Token 0xe388fb4f2b6078e8bddd33d979d9307d8cbcb1", "Accept-Language": "ru", "AppVersion": "kbr_app_version", "Content-Type": "application/json"]
  3. Moya_Logger: [13/11/2019 12:48:53] HTTP Request Method: GET
  4.  
  5.  
  6. Moya_Logger: [13/11/2019 12:48:56] Response: <NSHTTPURLResponse: 0x600003883f80> { URL: https://kbrdev.mobiledimension.ru/api/v2/uservices/token/balance/ } { Status Code: 500, Headers {
  7. Age = (
  8. 0
  9. );
  10. Allow = (
  11. "GET, POST, DELETE, HEAD, OPTIONS"
  12. );
  13. "Cache-Control" = (
  14. "no-cache, no-store, must-revalidate, max-age=0"
  15. );
  16. Connection = (
  17. "keep-alive"
  18. );
  19. "Content-Language" = (
  20. ru
  21. );
  22. "Content-Length" = (
  23. 1802
  24. );
  25. "Content-Type" = (
  26. "application/json; charset=utf-8"
  27. );
  28. Date = (
  29. "Wed, 13 Nov 2019 09:48:55 GMT"
  30. );
  31. "Request-Latency" = (
  32. "1.883"
  33. );
  34. Server = (
  35. "nginx/1.10.3 (Ubuntu)"
  36. );
  37. "Server-Name" = (
  38. master
  39. );
  40. Vary = (
  41. "Accept-Language, Authorization, Cookie, Origin"
  42. );
  43. Via = (
  44. "1.1 varnish-v4"
  45. );
  46. "X-Frame-Options" = (
  47. SAMEORIGIN
  48. );
  49. "X-Varnish" = (
  50. 53912311
  51. );
  52. } }
  53. File "/usr/local/lib/python3.7/site-packages/starlette/middleware/errors.py", line 150, in __call__
  54. await self.app(scope, receive, _send)
  55. File "/usr/local/lib/python3.7/site-packages/starlette/middleware/base.py", line 25, in __call__
  56. response = await self.dispatch_func(request, self.call_next)
  57. File "/usr/local/lib/python3.7/site-packages/starlette_zipkin_middleware/middleware.py", line 75, in dispatch
  58. response = await call_next(request)
  59. File "/usr/local/lib/python3.7/site-packages/starlette/middleware/base.py", line 45, in call_next
  60. task.result()
  61. File "/usr/local/lib/python3.7/site-packages/starlette/middleware/base.py", line 38, in coro
  62. await self.app(scope, receive, send)
  63. File "/usr/local/lib/python3.7/site-packages/sentry_asgi/middleware.py", line 22, in __call__
  64. raise exc from None
  65. File "/usr/local/lib/python3.7/site-packages/sentry_asgi/middleware.py", line 19, in __call__
  66. await self.app(scope, receive, send)
  67. File "/usr/local/lib/python3.7/site-packages/starlette/exceptions.py", line 73, in __call__
  68. raise exc from None
  69. File "/usr/local/lib/python3.7/site-packages/starlette/exceptions.py", line 62, in __call__
  70. await self.app(scope, receive, sender)
  71. File "/usr/local/lib/python3.7/site-packages/starlette/routing.py", line 585, in __call__
  72. await route(scope, receive, send)
  73. File "/usr/local/lib/python3.7/site-packages/starlette/routing.py", line 207, in __call__
  74. await self.app(scope, receive, send)
  75. File "/usr/local/lib/python3.7/site-packages/starlette/routing.py", line 40, in app
  76. response = await func(request)
  77. File "main.py", line 191, in get_balance
  78. response = await r.json()
  79. File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 1031, in json
  80. headers=self.headers)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement