Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.86 KB | None | 0 0
  1. {
  2. "service": "api",
  3. "method": "POST",
  4. "parameters": {
  5. "origin_lang": "ru",
  6. "post": {
  7. "body": "Новая запись 88",
  8. "image": [
  9. {
  10. "id": ""
  11. }
  12. ]
  13. },
  14. "version": "v1",
  15. "service": "feed",
  16. "path": "\/FU-43\/post"
  17. },
  18. "response": {
  19. "httpCode": 500,
  20. "code": "service_transmit",
  21. "message": "Invalid JSON has been received: {\n \"service\": \"feed\",\n \"method\": \"POST\",\n \"parameters\": {\n \"origin_lang\": \"ru\",\n \"post\": {\n \"body\": \"Новая запись 88\",\n \"image\": [\n {\n \"id\": \"\"\n }\n ]\n },\n \"origin_user_id\": \"43\",\n \"origin_access_role\": \"traveler\",\n \"origin_service\": \"api\",\n \"FEED_ID\": \"FU-43\"\n },\n \"response\": {\n \"httpCode\": 404,\n \"code\": \"unknown\",\n \"message\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\"\n },\n \"details\": {\n \"code\": 200,\n \"type\": \"PhpAmqpLib\\\\Exception\\\\AMQPProtocolChannelException\",\n \"errorCode\": 404,\n \"message\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"file\": \"\\\/home\\\/tnet\\\/unstable\\\/vendor\\\/videlalvaro\\\/php-amqplib\\\/PhpAmqpLib\\\/Channel\\\/AMQPChannel.php\",\n \"line\": 166,\n \"traces\": {\n \"2\": {\n \"file\": \"\\\/home\\\/tnet\\\/unstable\\\/vendor\\\/yiisoft\\\/yii\\\/framework\\\/base\\\/CApplication.php\",\n \"line\": 856,\n \"function\": \"raiseEvent\",\n \"class\": \"CComponent\",\n \"object\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"type\": \"->\",\n \"args\": [\n \"onException\",\n {\n \"exception\": {\n \"amqp_reply_code\": 404,\n \"amqp_reply_text\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"amqp_method_sig\": [\n 60,\n 40\n ],\n \"args\": [\n 404,\n \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n [\n 60,\n 40\n ],\n \"Basic.publish\"\n ]\n },\n \"sender\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"handled\": true,\n \"params\": null\n }\n ]\n },\n \"3\": {\n \"file\": \"\\\/home\\\/tnet\\\/unstable\\\/vendor\\\/yiisoft\\\/yii\\\/framework\\\/base\\\/CApplication.php\",\n \"line\": 727,\n \"function\": \"onException\",\n \"class\": \"CApplication\",\n \"object\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"type\": \"->\",\n \"args\": [\n {\n \"exception\": {\n \"amqp_reply_code\": 404,\n \"amqp_reply_text\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"amqp_method_sig\": [\n 60,\n 40\n ],\n \"args\": [\n 404,\n \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n [\n 60,\n 40\n ],\n \"Basic.publish\"\n ]\n },\n \"sender\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"handled\": true,\n \"params\": null\n }\n ]\n },\n \"4\": {\n \"function\": \"handleException\",\n \"class\": \"CApplication\",\n \"object\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"type\": \"->\",\n \"args\": [\n {\n \"amqp_reply_code\": 404,\n \"amqp_reply_text\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"amqp_method_sig\": [\n 60,\n 40\n ],\n \"args\": [\n 404,\n \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n [\n 60,\n 40\n ],\n \"Basic.publish\"\n ]\n }\n ]\n }\n }\n },\n \"controller\": \"FeedController\",\n \"action\": \"createPost\",\n \"status\": \"error\"\n}<br \/>\n<b>Warning<\/b>: array_push() expects parameter 1 to be array, null given in <b>\/home\/tnet\/unstable\/vendor\/videlalvaro\/php-amqplib\/PhpAmqpLib\/Connection\/AbstractConnection.php<\/b> on line <b>352<\/b><br \/>\n"
  22. },
  23. "details": {
  24. "code": 200,
  25. "type": "transport\\SoaException",
  26. "errorCode": 500,
  27. "message": "Invalid JSON has been received: {\n \"service\": \"feed\",\n \"method\": \"POST\",\n \"parameters\": {\n \"origin_lang\": \"ru\",\n \"post\": {\n \"body\": \"Новая запись 88\",\n \"image\": [\n {\n \"id\": \"\"\n }\n ]\n },\n \"origin_user_id\": \"43\",\n \"origin_access_role\": \"traveler\",\n \"origin_service\": \"api\",\n \"FEED_ID\": \"FU-43\"\n },\n \"response\": {\n \"httpCode\": 404,\n \"code\": \"unknown\",\n \"message\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\"\n },\n \"details\": {\n \"code\": 200,\n \"type\": \"PhpAmqpLib\\\\Exception\\\\AMQPProtocolChannelException\",\n \"errorCode\": 404,\n \"message\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"file\": \"\\\/home\\\/tnet\\\/unstable\\\/vendor\\\/videlalvaro\\\/php-amqplib\\\/PhpAmqpLib\\\/Channel\\\/AMQPChannel.php\",\n \"line\": 166,\n \"traces\": {\n \"2\": {\n \"file\": \"\\\/home\\\/tnet\\\/unstable\\\/vendor\\\/yiisoft\\\/yii\\\/framework\\\/base\\\/CApplication.php\",\n \"line\": 856,\n \"function\": \"raiseEvent\",\n \"class\": \"CComponent\",\n \"object\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"type\": \"->\",\n \"args\": [\n \"onException\",\n {\n \"exception\": {\n \"amqp_reply_code\": 404,\n \"amqp_reply_text\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"amqp_method_sig\": [\n 60,\n 40\n ],\n \"args\": [\n 404,\n \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n [\n 60,\n 40\n ],\n \"Basic.publish\"\n ]\n },\n \"sender\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"handled\": true,\n \"params\": null\n }\n ]\n },\n \"3\": {\n \"file\": \"\\\/home\\\/tnet\\\/unstable\\\/vendor\\\/yiisoft\\\/yii\\\/framework\\\/base\\\/CApplication.php\",\n \"line\": 727,\n \"function\": \"onException\",\n \"class\": \"CApplication\",\n \"object\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"type\": \"->\",\n \"args\": [\n {\n \"exception\": {\n \"amqp_reply_code\": 404,\n \"amqp_reply_text\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"amqp_method_sig\": [\n 60,\n 40\n ],\n \"args\": [\n 404,\n \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n [\n 60,\n 40\n ],\n \"Basic.publish\"\n ]\n },\n \"sender\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"handled\": true,\n \"params\": null\n }\n ]\n },\n \"4\": {\n \"function\": \"handleException\",\n \"class\": \"CApplication\",\n \"object\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"type\": \"->\",\n \"args\": [\n {\n \"amqp_reply_code\": 404,\n \"amqp_reply_text\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"amqp_method_sig\": [\n 60,\n 40\n ],\n \"args\": [\n 404,\n \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n [\n 60,\n 40\n ],\n \"Basic.publish\"\n ]\n }\n ]\n }\n }\n },\n \"controller\": \"FeedController\",\n \"action\": \"createPost\",\n \"status\": \"error\"\n}<br \/>\n<b>Warning<\/b>: array_push() expects parameter 1 to be array, null given in <b>\/home\/tnet\/unstable\/vendor\/videlalvaro\/php-amqplib\/PhpAmqpLib\/Connection\/AbstractConnection.php<\/b> on line <b>352<\/b><br \/>\n",
  28. "file": "\/home\/tnet\/unstable\/app\/extensions\/transport\/Transport.php",
  29. "line": 372,
  30. "traces": {
  31. "2": {
  32. "file": "\/home\/tnet\/unstable\/vendor\/yiisoft\/yii\/framework\/base\/CApplication.php",
  33. "line": 856,
  34. "function": "raiseEvent",
  35. "class": "CComponent",
  36. "object": {
  37. "appStyle": 2,
  38. "defaultController": "site",
  39. "layout": "main",
  40. "controllerMap": [],
  41. "catchAllRequest": null,
  42. "controllerNamespace": null,
  43. "name": "Yes, I Go.com",
  44. "charset": "UTF-8",
  45. "sourceLanguage": "en_us",
  46. "preload": [
  47. "log",
  48. "transport",
  49. "transport"
  50. ],
  51. "behaviors": []
  52. },
  53. "type": "->",
  54. "args": [
  55. "onException",
  56. {
  57. "exception": {},
  58. "sender": {
  59. "appStyle": 2,
  60. "defaultController": "site",
  61. "layout": "main",
  62. "controllerMap": [],
  63. "catchAllRequest": null,
  64. "controllerNamespace": null,
  65. "name": "Yes, I Go.com",
  66. "charset": "UTF-8",
  67. "sourceLanguage": "en_us",
  68. "preload": [
  69. "log",
  70. "transport",
  71. "transport"
  72. ],
  73. "behaviors": []
  74. },
  75. "handled": true,
  76. "params": null
  77. }
  78. ]
  79. },
  80. "3": {
  81. "file": "\/home\/tnet\/unstable\/vendor\/yiisoft\/yii\/framework\/base\/CApplication.php",
  82. "line": 727,
  83. "function": "onException",
  84. "class": "CApplication",
  85. "object": {
  86. "appStyle": 2,
  87. "defaultController": "site",
  88. "layout": "main",
  89. "controllerMap": [],
  90. "catchAllRequest": null,
  91. "controllerNamespace": null,
  92. "name": "Yes, I Go.com",
  93. "charset": "UTF-8",
  94. "sourceLanguage": "en_us",
  95. "preload": [
  96. "log",
  97. "transport",
  98. "transport"
  99. ],
  100. "behaviors": []
  101. },
  102. "type": "->",
  103. "args": [
  104. {
  105. "exception": {},
  106. "sender": {
  107. "appStyle": 2,
  108. "defaultController": "site",
  109. "layout": "main",
  110. "controllerMap": [],
  111. "catchAllRequest": null,
  112. "controllerNamespace": null,
  113. "name": "Yes, I Go.com",
  114. "charset": "UTF-8",
  115. "sourceLanguage": "en_us",
  116. "preload": [
  117. "log",
  118. "transport",
  119. "transport"
  120. ],
  121. "behaviors": []
  122. },
  123. "handled": true,
  124. "params": null
  125. }
  126. ]
  127. },
  128. "4": {
  129. "function": "handleException",
  130. "class": "CApplication",
  131. "object": {
  132. "appStyle": 2,
  133. "defaultController": "site",
  134. "layout": "main",
  135. "controllerMap": [],
  136. "catchAllRequest": null,
  137. "controllerNamespace": null,
  138. "name": "Yes, I Go.com",
  139. "charset": "UTF-8",
  140. "sourceLanguage": "en_us",
  141. "preload": [
  142. "log",
  143. "transport",
  144. "transport"
  145. ],
  146. "behaviors": []
  147. },
  148. "type": "->",
  149. "args": [
  150. {}
  151. ]
  152. }
  153. }
  154. },
  155. "controller": "api\\controllers\\ApiHostController",
  156. "action": "route",
  157. "status": "error"
  158. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement