{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/2607","labels_url":"https://api.github.com/repos/syncthing/syncthing/issues/2607/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing/issues/2607/comments","events_url":"https://api.github.com/repos/syncthing/syncthing/issues/2607/events","html_url":"https://github.com/syncthing/syncthing/issues/2607","id":123215219,"number":2607,"title":"Repeated connection errors and reloads in Firefox 43","user":{"login":"Stebalien","id":310393,"avatar_url":"https://avatars.githubusercontent.com/u/310393?v=3","gravatar_id":"","url":"https://api.github.com/users/Stebalien","html_url":"https://github.com/Stebalien","followers_url":"https://api.github.com/users/Stebalien/followers","following_url":"https://api.github.com/users/Stebalien/following{/other_user}","gists_url":"https://api.github.com/users/Stebalien/gists{/gist_id}","starred_url":"https://api.github.com/users/Stebalien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stebalien/subscriptions","organizations_url":"https://api.github.com/users/Stebalien/orgs","repos_url":"https://api.github.com/users/Stebalien/repos","events_url":"https://api.github.com/users/Stebalien/events{/privacy}","received_events_url":"https://api.github.com/users/Stebalien/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syncthing/syncthing/labels/not-our-bug","name":"not-our-bug","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-12-21T05:47:18Z","updated_at":"2015-12-29T20:47:00Z","closed_at":null,"body":"Syncthing UI repeatedly complains about a connection error and reloads. This only happens in Firefox (reproducible with a clean profile).\r\n\r\nPlatform: Linux\r\nSyncthing Version: 0.12.9\r\nFirefox Version: 43.0.1\r\n\r\nNote, I have authentication enabled in case that's relevant."},"comment":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/comments/167874898","html_url":"https://github.com/syncthing/syncthing/issues/2607#issuecomment-167874898","issue_url":"https://api.github.com/repos/syncthing/syncthing/issues/2607","id":167874898,"user":{"login":"Stebalien","id":310393,"avatar_url":"https://avatars.githubusercontent.com/u/310393?v=3","gravatar_id":"","url":"https://api.github.com/users/Stebalien","html_url":"https://github.com/Stebalien","followers_url":"https://api.github.com/users/Stebalien/followers","following_url":"https://api.github.com/users/Stebalien/following{/other_user}","gists_url":"https://api.github.com/users/Stebalien/gists{/gist_id}","starred_url":"https://api.github.com/users/Stebalien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stebalien/subscriptions","organizations_url":"https://api.github.com/users/Stebalien/orgs","repos_url":"https://api.github.com/users/Stebalien/repos","events_url":"https://api.github.com/users/Stebalien/events{/privacy}","received_events_url":"https://api.github.com/users/Stebalien/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T20:47:00Z","updated_at":"2015-12-29T20:47:00Z","body":"Interestingly, I'm not seeing this behavior with this simple flask app:\r\n\r\n```python\r\n#!/usr/bin/python\r\n\r\nfrom flask import Flask, Response\r\napp = Flask(__name__)\r\nfrom time import sleep\r\n\r\n@app.route('/')\r\ndef main():\r\n    return \"\"\"\r\n<script>\r\nvar myRequest = new XMLHttpRequest();\r\nmyRequest.open(\"GET\", \"http://localhost:5000/other\", true);\r\nmyRequest.onreadystatechange = function() {\r\n  console.log(myRequest.readyState);\r\n  console.log(myRequest.status);\r\n};\r\nmyRequest.send();\r\n</script>\r\n\"\"\"\r\n\r\n@app.route('/other')\r\ndef other():\r\n    def generate():\r\n        yield \"first\"\r\n        sleep(20)\r\n        yield \"second\"\r\n    return Response(generate(), mimetype='text/plain')\r\n\r\n\r\nif __name__ == '__main__':\r\n    app.run()\r\n```"}}