{"action":"created","issue":{"url":"https://api.github.com/repos/42wim/matterircd/issues/208","repository_url":"https://api.github.com/repos/42wim/matterircd","labels_url":"https://api.github.com/repos/42wim/matterircd/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/42wim/matterircd/issues/208/comments","events_url":"https://api.github.com/repos/42wim/matterircd/issues/208/events","html_url":"https://github.com/42wim/matterircd/issues/208","id":366185352,"node_id":"MDU6SXNzdWUzNjYxODUzNTI=","number":208,"title":"Invalid or expired session, please login again","user":{"login":"runfalk","id":864128,"node_id":"MDQ6VXNlcjg2NDEyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/864128?v=4","gravatar_id":"","url":"https://api.github.com/users/runfalk","html_url":"https://github.com/runfalk","followers_url":"https://api.github.com/users/runfalk/followers","following_url":"https://api.github.com/users/runfalk/following{/other_user}","gists_url":"https://api.github.com/users/runfalk/gists{/gist_id}","starred_url":"https://api.github.com/users/runfalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runfalk/subscriptions","organizations_url":"https://api.github.com/users/runfalk/orgs","repos_url":"https://api.github.com/users/runfalk/repos","events_url":"https://api.github.com/users/runfalk/events{/privacy}","received_events_url":"https://api.github.com/users/runfalk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T05:54:08Z","updated_at":"2018-10-07T13:02:57Z","closed_at":null,"author_association":"NONE","body":"I use a personal access token with matterircd. I have configured my bouncer (ZNC) to send it automatically when connecting:\r\n\r\n`PRIVMSG mattermost :login <team> runfalk MMAUTHTOKEN=<token>`\r\n\r\nThis works great. It reconnects properly and everything. But today I got the message `msg: <redacted> could not be send: : Invalid or expired session, please login again.,` from the mattermost user. Reconnecting to the server (to trigger a new login) fixed the issue.\r\n\r\nI have also seen this in the log file:\r\n\r\n```\r\nmatterircd[13020]: time=\"2018-10-03T07:39:39+02:00\" level=error msg=\"ChannelView update for bctpaanrrtyy7c7pgda1nom4fh failed: : Invalid or expired session, please login again., \" prefix=matterclient\r\nmatterircd[13020]: time=\"2018-10-03T07:39:39+02:00\" level=error msg=\"ChannelView update for w9psunnfrpg63gifu1pcqxc31h failed: : Invalid or expired session, please login again., \" prefix=matterclient\r\nmatterircd[13020]: time=\"2018-10-03T07:40:39+02:00\" level=error msg=\"ChannelView update for w9psunnfrpg63gifu1pcqxc31h failed: : Invalid or expired session, please login again., \" prefix=matterclient\r\nmatterircd[13020]: time=\"2018-10-03T07:40:39+02:00\" level=error msg=\"ChannelView update for bctpaanrrtyy7c7pgda1nom4fh failed: : Invalid or expired session, please login again., \" prefix=matterclient\r\nmatterircd[13020]: time=\"2018-10-03T07:41:39+02:00\" level=error msg=\"ChannelView update for bctpaanrrtyy7c7pgda1nom4fh failed: : Invalid or expired session, please login again., \" prefix=matterclient\r\nmatterircd[13020]: time=\"2018-10-03T07:41:39+02:00\" level=error msg=\"ChannelView update for w9psunnfrpg63gifu1pcqxc31h failed: : Invalid or expired session, please login again., \" prefix=matterclient\r\n```\r\n\r\nI am using `Mattermost Version: 5.2.1` with GitLab authentication only."},"comment":{"url":"https://api.github.com/repos/42wim/matterircd/issues/comments/427651793","html_url":"https://github.com/42wim/matterircd/issues/208#issuecomment-427651793","issue_url":"https://api.github.com/repos/42wim/matterircd/issues/208","id":427651793,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzY1MTc5Mw==","user":{"login":"42wim","id":1810977,"node_id":"MDQ6VXNlcjE4MTA5Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/1810977?v=4","gravatar_id":"","url":"https://api.github.com/users/42wim","html_url":"https://github.com/42wim","followers_url":"https://api.github.com/users/42wim/followers","following_url":"https://api.github.com/users/42wim/following{/other_user}","gists_url":"https://api.github.com/users/42wim/gists{/gist_id}","starred_url":"https://api.github.com/users/42wim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/42wim/subscriptions","organizations_url":"https://api.github.com/users/42wim/orgs","repos_url":"https://api.github.com/users/42wim/repos","events_url":"https://api.github.com/users/42wim/events{/privacy}","received_events_url":"https://api.github.com/users/42wim/received_events","type":"User","site_admin":false},"created_at":"2018-10-07T13:02:57Z","updated_at":"2018-10-07T13:02:57Z","author_association":"OWNER","body":"That's strange, looks like a mattermost issue because personal tokens aren't supposed to expire.\r\nCan you have a look into the mattermost console logs if it show some errors on the mattermost side ?"}}
{"actor":{"display_login":"42wim"}}