{"action":"created","issue":{"url":"https://api.github.com/repos/botpress/botpress/issues/967","repository_url":"https://api.github.com/repos/botpress/botpress","labels_url":"https://api.github.com/repos/botpress/botpress/issues/967/labels{/name}","comments_url":"https://api.github.com/repos/botpress/botpress/issues/967/comments","events_url":"https://api.github.com/repos/botpress/botpress/issues/967/events","html_url":"https://github.com/botpress/botpress/issues/967","id":365431574,"node_id":"MDU6SXNzdWUzNjU0MzE1NzQ=","number":967,"title":"Migrating from 10.35 to 10.44.2 : can't open existing webchat sessions","user":{"login":"PanierAvide","id":1349014,"node_id":"MDQ6VXNlcjEzNDkwMTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1349014?v=4","gravatar_id":"","url":"https://api.github.com/users/PanierAvide","html_url":"https://github.com/PanierAvide","followers_url":"https://api.github.com/users/PanierAvide/followers","following_url":"https://api.github.com/users/PanierAvide/following{/other_user}","gists_url":"https://api.github.com/users/PanierAvide/gists{/gist_id}","starred_url":"https://api.github.com/users/PanierAvide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PanierAvide/subscriptions","organizations_url":"https://api.github.com/users/PanierAvide/orgs","repos_url":"https://api.github.com/users/PanierAvide/repos","events_url":"https://api.github.com/users/PanierAvide/events{/privacy}","received_events_url":"https://api.github.com/users/PanierAvide/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-01T12:09:36Z","updated_at":"2018-10-01T17:31:06Z","closed_at":null,"author_association":"NONE","body":"Make sure these checkboxes are checked before raising an issue, thank you!\r\n\r\n- [x] Check that you are using node version >= `8.9`\r\n- [x] Search the [documentation](https://botpress.io/docs)\r\n- [x] Search the [help portal](https://help.botpress.io/)\r\n\r\nPlease also fill in these fields:\r\n\r\n---\r\n\r\n<!-- Run `botpress -V` -->\r\n### Botpress version: `10.44.2`\r\n\r\n<!-- Which channels is your bot using? -->\r\n### Channels: webchat\r\n\r\nSteps to reproduce :\r\n- Open a webchat session on 10.35 in a given web browser (Chromium or Firefox), works nicely\r\n- Migrate to 10.44.2\r\n- Open the same browser, nothing shows up (even with cache clearing and history removal)\r\n\r\nThe web console shows an error for this API call: `http://YOUR_BP_INSTANCE/api/botpress-platform-webchat/conversations/jQ~2Hg6ZZrPA3SxDj3WYJ?__ts=1538395057639`\r\nWhich is : `userId is required and must be valid`\r\n\r\nMaybe unrelated, but BP console shows this error in the same time : `warn: Could not serve module [@botpress/channel-web] at: /home/iws/Wilson2/node_modules/@botpress/channel-web/bin/lite/fullscreen.bundle.js.map.bundle.js`\r\n\r\nThe weird thing is that it only happens on existing sessions. If I start a new session like in private browsing, webchat appears and works as expected.\r\n\r\nI tried several things, without success :\r\n- Erase the browser cache and force refresh\r\n- Deleting data in messages-related tables in DB\r\n- Recreating database from scratch\r\n- Removing node_modules/ folder and installing again\r\n- Restart like many times\r\n\r\nI'm running out of ideas, do you have any hints ?"},"comment":{"url":"https://api.github.com/repos/botpress/botpress/issues/comments/425993865","html_url":"https://github.com/botpress/botpress/issues/967#issuecomment-425993865","issue_url":"https://api.github.com/repos/botpress/botpress/issues/967","id":425993865,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTk5Mzg2NQ==","user":{"login":"PanierAvide","id":1349014,"node_id":"MDQ6VXNlcjEzNDkwMTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1349014?v=4","gravatar_id":"","url":"https://api.github.com/users/PanierAvide","html_url":"https://github.com/PanierAvide","followers_url":"https://api.github.com/users/PanierAvide/followers","following_url":"https://api.github.com/users/PanierAvide/following{/other_user}","gists_url":"https://api.github.com/users/PanierAvide/gists{/gist_id}","starred_url":"https://api.github.com/users/PanierAvide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PanierAvide/subscriptions","organizations_url":"https://api.github.com/users/PanierAvide/orgs","repos_url":"https://api.github.com/users/PanierAvide/repos","events_url":"https://api.github.com/users/PanierAvide/events{/privacy}","received_events_url":"https://api.github.com/users/PanierAvide/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T17:31:06Z","updated_at":"2018-10-01T17:31:06Z","author_association":"NONE","body":"Thanks for suggesting this. I did cache cleaning on the two web browsers I used for testing, and it didn't solved the issue."}}
{"actor":{"display_login":"PanierAvide"}}