Closed efenex closed 4 years ago
Using the latest version of matterircd (matterircd-0.20.1-linux-64bit), I regularly get messages like these in my logs:
slack-go/slack2020/10/11 17:59:29 websocket_managed_conn.go:383: Incoming Event: {"type":"message","subtype":"bot_message","text":"Skipping executing job hourly for application redacted on server redacted (env). The previous job run is still being executed. Is it stuck? ip: you can grep on redacted and redacted to find the details.","suppress_notification":false,"username":"Betty","icons":{"emoji":":information_desk_person:","image_64":"https:\/\/a.slack-edge.com\/80588\/img\/emoji_2017_12_06\/apple\/1f481.png"},"bot_id":"B029Z356S","team":"T029ULXF3","bot_profile":{"id":"B029Z356S","deleted":false,"name":"incoming-webhook","updated":1416350481,"app_id":"A0F7XDUAZ","icons":{"image_36":"https:\/\/a.slack-edge.com\/80588\/img\/services\/outgoing-webhook_36.png","image_48":"https:\/\/a.slack-edge.com\/80588\/img\/services\/outgoing-webhook_48.png","image_72":"https:\/\/a.slack-edge.com\/80588\/img\/services\/outgoing-webhook_72.png"},"team_id":"T029ULXF3"},"channel":"C04HG4K57","event_ts":"1602432004.140500","ts":"1602432004.140500"} slack-go/slack2020/10/11 17:59:29 websocket_managed_conn.go:383: Incoming Event: {"type":"message","subtype":"bot_message","text":"Skipping executing job hourly for application order on server dmzasu049 (acc). The previous job run is still being executed. Is it stuck? ip: you can grep on runscripts and order to find the details.","suppress_notification":false,"username":"Betty","icons":{"emoji":":information_desk_person:","image_64":"https:\/\/a.slack-edge.com\/80588\/img\/emoji_2017_12_06\/apple\/1f481.png"},"bot_id":"B029Z356S","team":"T029ULXF3","bot_profile":{"id":"B029Z356S","deleted":false,"name":"incoming-webhook","updated":1416350481,"app_id":"A0F7XDUAZ","icons":{"image_36":"https:\/\/a.slack-edge.com\/80588\/img\/services\/outgoing-webhook_36.png","image_48":"https:\/\/a.slack-edge.com\/80588\/img\/services\/outgoing-webhook_48.png","image_72":"https:\/\/a.slack-edge.com\/80588\/img\/services\/outgoing-webhook_72.png"},"team_id":"T029ULXF3"},"channel":"C04HG4K57","event_ts":"1602432004.140600","ts":"1602432004.140600"} ERRO[32566] couldn't find user in message "(*slack.MessageEvent)(0x34f39107900)({\n Msg: (slack.Msg) {\n ClientMsgID: (string) \"\",\n Type: (string) (len=7) \"message\",\n Channel: (string) (len=9) \"C04HG4K57\",\n User: (string) \"\",\n Text: (string) (len=199) \"Skipping executing job hourly for application cart on server dmzasu049 (acc). The previous job run is still being executed. Is it stuck? ip: you can grep on runscripts and cart to find the details.\",\n Timestamp: (string) (len=17) \"1602432004.140500\",\n ThreadTimestamp: (string) \"\",\n IsStarred: (bool) false,\n PinnedTo: ([]string) <nil>,\n Attachments: ([]slack.Attachment) <nil>,\n Edited: (*slack.Edited)(<nil>),\n LastRead: (string) \"\",\n Subscribed: (bool) false,\n UnreadCount: (int) 0,\n SubType: (string) (len=11) \"bot_message\",\n Hidden: (bool) false,\n DeletedTimestamp: (string) \"\",\n EventTimestamp: (string) (len=17) \"1602432004.140500\",\n BotID: (string) (len=9) \"B029Z356S\",\n Username: (string) (len=5) \"Betty\",\n Icons: (*slack.Icon)(0x34f385ea8e0)({\n IconURL: (string) \"\",\n IconEmoji: (string) \"\"\n }),\n Inviter: (string) \"\",\n Topic: (string) \"\",\n Purpose: (string) \"\",\n Name: (string) \"\",\n OldName: (string) \"\",\n Members: ([]string) <nil>,\n ReplyCount: (int) 0,\n Replies: ([]slack.Reply) <nil>,\n ParentUserId: (string) \"\",\n Files: ([]slack.File) <nil>,\n Upload: (bool) false,\n Comment: (*slack.Comment)(<nil>),\n ItemType: (string) \"\",\n ReplyTo: (int) 0,\n Team: (string) (len=9) \"T029ULXF3\",\n Reactions: ([]slack.ItemReaction) <nil>,\n ResponseType: (string) \"\",\n ReplaceOriginal: (bool) false,\n DeleteOriginal: (bool) false,\n Blocks: (slack.Blocks) {\n BlockSet: ([]slack.Block) <nil>\n }\n },\n SubMessage: (*slack.Msg)(<nil>),\n PreviousMessage: (*slack.Msg)(<nil>)\n})\n": user_not_found
slack-go/slack2020/10/12 15:37:01 websocket_managed_conn.go:383: Incoming Event: {"type":"message","subtype":"message_replied","hidden":true,"message":{"client_msg_id":"ca6bdcb5-972e-4dca-9b10-f359339a3de8","type":"message","text":"<https:\/\/www.pluralsight.com\/free> for people who like to learn and stuff","user":"UDKC83M29","ts":"1602504221.003000","team":"T0FJU12N6","attachments":[{"title":"Pluralsight | Free Week","title_link":"https:\/\/www.pluralsight.com\/free","text":"We\u2019re making all of our expert-led video and interactive courses free for one week only\u2014starting 10\/12","fallback":"Pluralsight | Free Week","image_url":"https:\/\/www.pluralsight.com\/content\/pluralsight\/en\/free\/jcr:content\/image-res\/file.transform\/share-image\/image.img.55c1aa69-55e9-4f4f-a69b-be6605763922.jpg","from_url":"https:\/\/www.pluralsight.com\/free","image_width":476,"image_height":250,"image_bytes":59431,"service_icon":"https:\/\/www.pluralsight.com\/etc\/clientlibs\/pluralsight\/main\/images\/favicons\/apple-touch-icon-57x57.png","service_name":"pluralsight.com","id":1,"original_url":"https:\/\/www.pluralsight.com\/free"}],"blocks":[{"type":"rich_text","block_id":"RUU","elements":[{"type":"rich_text_section","elements":[{"type":"link","url":"https:\/\/www.pluralsight.com\/free"},{"type":"text","text":" for people who like to learn and stuff"}]}]}],"thread_ts":"1602504221.003000","reply_count":3,"reply_users_count":2,"latest_reply":"1602509857.003600","reply_users":["U2VD9A2ET","UCM1SJF55"]},"channel":"C0FJT9VPZ","event_ts":"1602509857.003700","ts":"1602509857.003700"} slack-go/slack2020/10/12 15:37:02 websocket_managed_conn.go:383: Incoming Event: {"client_msg_id":"95a6214a-665a-4973-817b-0c90e8bf6bb6","suppress_notification":false,"type":"message","text":"Sooo, share you Udemy credentials then h\u00e9\u00e9\u00e9\u00e9 :smile:","user":"U2VD9A2ET","team":"T0FJU12N6","blocks":[{"type":"rich_text","block_id":"Kh1","elements":[{"type":"rich_text_section","elements":[{"type":"text","text":"Sooo, share you Udemy credentials then h\u00e9\u00e9\u00e9\u00e9 "},{"type":"emoji","name":"smile"}]}]}],"thread_ts":"1602504221.003000","source_team":"T0FJU12N6","user_team":"T0FJU12N6","channel":"C0FJT9VPZ","event_ts":"1602509857.003600","ts":"1602509857.003600"} ERRO[110419] couldn't find user in message "(*slack.MessageEvent)(0x34f38cfa000)({\n Msg: (slack.Msg) {\n ClientMsgID: (string) \"\",\n Type: (string) (len=7) \"message\",\n Channel: (string) (len=9) \"C0FJT9VPZ\",\n User: (string) \"\",\n Text: (string) \"\",\n Timestamp: (string) (len=17) \"1602509857.003700\",\n ThreadTimestamp: (string) \"\",\n IsStarred: (bool) false,\n PinnedTo: ([]string) <nil>,\n Attachments: ([]slack.Attachment) <nil>,\n Edited: (*slack.Edited)(<nil>),\n LastRead: (string) \"\",\n Subscribed: (bool) false,\n UnreadCount: (int) 0,\n SubType: (string) (len=15) \"message_replied\",\n Hidden: (bool) true,\n DeletedTimestamp: (string) \"\",\n EventTimestamp: (string) (len=17) \"1602509857.003700\",\n BotID: (string) \"\",\n Username: (string) \"\",\n Icons: (*slack.Icon)(<nil>),\n Inviter: (string) \"\",\n Topic: (string) \"\",\n Purpose: (string) \"\",\n Name: (string) \"\",\n OldName: (string) \"\",\n Members: ([]string) <nil>,\n ReplyCount: (int) 0,\n Replies: ([]slack.Reply) <nil>,\n ParentUserId: (string) \"\",\n Files: ([]slack.File) <nil>,\n Upload: (bool) false,\n Comment: (*slack.Comment)(<nil>),\n ItemType: (string) \"\",\n ReplyTo: (int) 0,\n Team: (string) \"\",\n Reactions: ([]slack.ItemReaction) <nil>,\n ResponseType: (string) \"\",\n ReplaceOriginal: (bool) false,\n DeleteOriginal: (bool) false,\n Blocks: (slack.Blocks) {\n BlockSet: ([]slack.Block) <nil>\n }\n },\n SubMessage: (*slack.Msg)(0x34f38cfa280)({\n ClientMsgID: (string) (len=36) \"ca6bdcb5-972e-4dca-9b10-f359339a3de8\",\n Type: (string) (len=7) \"message\",\n Channel: (string) \"\",\n User: (string) (len=9) \"UDKC83M29\",\n Text: (string) (len=73) \"<https://www.pluralsight.com/free> for people who like to learn and stuff\",\n Timestamp: (string) (len=17) \"1602504221.003000\",\n ThreadTimestamp: (string) (len=17) \"1602504221.003000\",\n IsStarred: (bool) false,\n PinnedTo: ([]string) <nil>,\n Attachments: ([]slack.Attachment) (len=1 cap=4) {\n (slack.Attachment) {\n Color: (string) \"\",\n Fallback: (string) (len=23) \"Pluralsight | Free Week\",\n CallbackID: (string) \"\",\n ID: (int) 1,\n AuthorID: (string) \"\",\n AuthorName: (string) \"\",\n AuthorSubname: (string) \"\",\n AuthorLink: (string) \"\",\n AuthorIcon: (string) \"\",\n Title: (string) (len=23) \"Pluralsight | Free Week\",\n TitleLink: (string) (len=32) \"https://www.pluralsight.com/free\",\n Pretext: (string) \"\",\n Text: (string) (len=106) \"We’re making all of our expert-led video and interactive courses free for one week only—starting 10/12\",\n ImageURL: (string) (len=155) \"https://www.pluralsight.com/content/pluralsight/en/free/jcr:content/image-res/file.transform/share-image/image.img.55c1aa69-55e9-4f4f-a69b-be6605763922.jpg\",\n ThumbURL: (string) \"\",\n Fields: ([]slack.AttachmentField) <nil>,\n Actions: ([]slack.AttachmentAction) <nil>,\n MarkdownIn: ([]string) <nil>,\n Blocks: (slack.Blocks) {\n BlockSet: ([]slack.Block) <nil>\n },\n Footer: (string) \"\",\n FooterIcon: (string) \"\",\n Ts: (json.Number) \n }\n },\n Edited: (*slack.Edited)(<nil>),\n LastRead: (string) \"\",\n Subscribed: (bool) false,\n UnreadCount: (int) 0,\n SubType: (string) \"\",\n Hidden: (bool) false,\n DeletedTimestamp: (string) \"\",\n EventTimestamp: (string) \"\",\n BotID: (string) \"\",\n Username: (string) \"\",\n Icons: (*slack.Icon)(<nil>),\n Inviter: (string) \"\",\n Topic: (string) \"\",\n Purpose: (string) \"\",\n Name: (string) \"\",\n OldName: (string) \"\",\n Members: ([]string) <nil>,\n ReplyCount: (int) 3,\n Replies: ([]slack.Reply) <nil>,\n ParentUserId: (string) \"\",\n Files: ([]slack.File) <nil>,\n Upload: (bool) false,\n Comment: (*slack.Comment)(<nil>),\n ItemType: (string) \"\",\n ReplyTo: (int) 0,\n Team: (string) (len=9) \"T0FJU12N6\",\n Reactions: ([]slack.ItemReaction) <nil>,\n ResponseType: (string) \"\",\n ReplaceOriginal: (bool) false,\n DeleteOriginal: (bool) false,\n Blocks: (slack.Blocks) {\n BlockSet: ([]slack.Block) (len=1 cap=1) {\n (*slack.UnknownBlock)(0x34f384b7980)({\n Type: (slack.MessageBlockType) (len=9) \"rich_text\",\n BlockID: (string) (len=3) \"RUU\"\n })\n }\n }\n }),\n PreviousMessage: (*slack.Msg)(<nil>)\n})\n": user_not_found
These messages are completely invisible in IRC.
This should be fixed in master, could you test and confirm? :) thanks
Using the latest version of matterircd (matterircd-0.20.1-linux-64bit), I regularly get messages like these in my logs:
These messages are completely invisible in IRC.