Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "service": {
- "name": "bots"
- },
- "source": "bots_rpc_server.py",
- "env": null,
- "meta": {
- "data": {
- "message": {
- "command": "changeBotStateForUser",
- "args": ["24e87000-760c-4649-9ca1-de9042edcc59", {
- "userId": "5af9726ebab282001144773b",
- "code": "66w2jvxqbmu1t7s1zr42xpit",
- "bot": "tg",
- "username": "@k0t0vsky",
- "codeExpirationDate": "2018-12-10T09:40:57.957Z",
- "action": "enabled"
- }]
- }
- }
- },
- "level": "info",
- "message": "Got queue message",
- "label": "bots_rpc_server.py",
- "timestamp": "2018-12-10 09:38:57"
- } {
- "service": {
- "name": "bots"
- },
- "source": "bots_rpc_server.py",
- "env": null,
- "meta": {
- "data": {
- "message": {
- "command": "changeBotStateForUser",
- "args": ["b3b00616-f095-49cd-b42e-13af08ee362e", {
- "userId": "5af9726ebab282001144773b",
- "code": "gqjahvjf6ezw0fli70w3j8vk",
- "bot": "fb",
- "codeExpirationDate": "2018-12-10T09:42:05.691Z",
- "action": "enabled"
- }]
- }
- }
- },
- "level": "info",
- "message": "Got queue message",
- "label": "bots_rpc_server.py",
- "timestamp": "2018-12-10 09:40:05"
- } {
- "service": {
- "name": "bots"
- },
- "source": "bots_rpc_server.py",
- "env": null,
- "meta": {
- "data": {
- "message": {
- "command": "changeBotStateForUser",
- "args": ["24e87000-760c-4649-9ca1-de9042edcc59", {
- "userId": "5b3f42f28d3643001cd65a93",
- "code": "mzwkfxbnsv1uoyl0eulscjr4",
- "bot": "tg",
- "username": "@serg",
- "codeExpirationDate": "2018-12-10T09:42:27.036Z",
- "action": "enabled"
- }]
- }
- }
- },
- "level": "info",
- "message": "Got queue message",
- "label": "bots_rpc_server.py",
- "timestamp": "2018-12-10 09:40:27"
- } {
- "service": {
- "name": "bots"
- },
- "source": "bots_rpc_server.py",
- "env": null,
- "meta": {
- "data": {
- "message": {
- "command": "changeBotStateForUser",
- "args": ["b3b00616-f095-49cd-b42e-13af08ee362e", {
- "userId": "5b3f42f28d3643001cd65a93",
- "code": "jakonecxqv2qqys9jco13ki",
- "bot": "fb",
- "codeExpirationDate": "2018-12-10T09:42:34.084Z",
- "action": "enabled"
- }]
- }
- }
- },
- "level": "info",
- "message": "Got queue message",
- "label": "bots_rpc_server.py",
- "timestamp": "2018-12-10 09:40:34"
- } {
- "service": {
- "name": "bots"
- },
- "source": "bots_rpc_server.py",
- "env": null,
- "meta": {
- "data": {
- "message": {
- "command": "changeBotStateForUser",
- "args": ["24e87000-760c-4649-9ca1-de9042edcc59", {
- "userId": "5b3f42f28d3643001cd65a93",
- "code": "ajznfbmlm98hntzozz974vy0",
- "bot": "tg",
- "username": "@sergeyitsib",
- "codeExpirationDate": "2018-12-10T09:43:34.015Z",
- "action": "enabled"
- }]
- }
- }
- },
- "level": "info",
- "message": "Got queue message",
- "label": "bots_rpc_server.py",
- "timestamp": "2018-12-10 09:41:34"
- } {
- "service": {
- "name": "bots"
- },
- "source": "bots_rpc_server.py",
- "env": null,
- "meta": {
- "data": {
- "message": {
- "command": "changeBotStateForUser",
- "args": ["24e87000-760c-4649-9ca1-de9042edcc59", {
- "userId": "5b3f42f28d3643001cd65a93",
- "code": "6gb9mt04dmqdnwfufk01v64d",
- "bot": "tg",
- "username": "@sergey",
- "codeExpirationDate": "2018-12-10T09:43:52.310Z",
- "action": "enabled"
- }]
- }
- }
- },
- "level": "info",
- "message": "Got queue message",
- "label": "bots_rpc_server.py",
- "timestamp": "2018-12-10 09:41:52"
- } {
- "service": {
- "name": "bots"
- },
- "source": "bots_rpc_server.py",
- "env": null,
- "meta": {
- "data": {
- "message": {
- "command": "changeBotStateForUser",
- "args": ["24e87000-760c-4649-9ca1-de9042edcc59", {
- "userId": "5af9726ebab282001144773b",
- "code": "",
- "bot": "tg",
- "codeExpirationDate": null,
- "action": "disabled"
- }]
- }
- }
- },
- "level": "info",
- "message": "Got queue message",
- "label": "bots_rpc_server.py",
- "timestamp": "2018-12-10 09:42:50"
- } {
- "service": {
- "name": "bots"
- },
- "source": "utils.py",
- "env": null,
- "error": {
- "stack": ["<FrameSummary file bots_server.py, line 69 in <module>>", "<FrameSummary file /code/rpc_server/bots_rpc_server.py, line 628 in run>", "<FrameSummary file /usr/local/lib/python3.5/site-packages/pika/adapters/blocking_connection.py, line 1681 in start_consuming>", "<FrameSummary file /usr/local/lib/python3.5/site-packages/pika/adapters/blocking_connection.py, line 656 in process_data_events>", "<FrameSummary file /usr/local/lib/python3.5/site-packages/pika/adapters/blocking_connection.py, line 469 in _dispatch_channel_events>", "<FrameSummary file /usr/local/lib/python3.5/site-packages/pika/adapters/blocking_connection.py, line 1310 in _dispatch_events>", "<FrameSummary file /code/rpc_server/bots_rpc_server.py, line 133 in on_request>", "<FrameSummary file /code/rpc_server/bots_rpc_server.py, line 237 in on_change_bot_state_for_user_event_command>", "<FrameSummary file /code/tg_bot/utils.py, line 103 in send_message>"],
- "message": "Traceback (most recent call last):\ntelebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 400 Bad Request. Response body:\n[b'{\"ok\":false,\"error_code\":400,\"description\":\"Bad Request: can\\'t parse inline keyboard button: Text buttons are unallowed in the inline keyboard\"}']\n"
- },
- "meta": {
- "data": {
- "tg_user_id": "408185006",
- "message": "\u2757\ufe0f To continue, you need to go to the site and re-activate the bot"
- }
- },
- "level": "error",
- "message": "Exception occurred during sending message",
- "label": "utils.py",
- "timestamp": "2018-12-10 09:42:50"
- } {
- "service": {
- "name": "bots"
- },
- "source": "bots_rpc_server.py",
- "env": null,
- "meta": {
- "data": {
- "message": {
- "command": "changeBotStateForUser",
- "args": ["b3b00616-f095-49cd-b42e-13af08ee362e", {
- "userId": "5af9726ebab282001144773b",
- "code": "",
- "bot": "fb",
- "codeExpirationDate": null,
- "action": "disabled"
- }]
- }
- }
- },
- "level": "info",
- "message": "Got queue message",
- "label": "bots_rpc_server.py",
- "timestamp": "2018-12-10 09:43:13"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement