{"action":"created","issue":{"url":"https://api.github.com/repos/mopidy/mopidy/issues/1578","repository_url":"https://api.github.com/repos/mopidy/mopidy","labels_url":"https://api.github.com/repos/mopidy/mopidy/issues/1578/labels{/name}","comments_url":"https://api.github.com/repos/mopidy/mopidy/issues/1578/comments","events_url":"https://api.github.com/repos/mopidy/mopidy/issues/1578/events","html_url":"https://github.com/mopidy/mopidy/issues/1578","id":185647652,"number":1578,"title":"Establish with mopidy.js from https page","user":{"login":"chises","id":10805806,"avatar_url":"https://avatars.githubusercontent.com/u/10805806?v=3","gravatar_id":"","url":"https://api.github.com/users/chises","html_url":"https://github.com/chises","followers_url":"https://api.github.com/users/chises/followers","following_url":"https://api.github.com/users/chises/following{/other_user}","gists_url":"https://api.github.com/users/chises/gists{/gist_id}","starred_url":"https://api.github.com/users/chises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chises/subscriptions","organizations_url":"https://api.github.com/users/chises/orgs","repos_url":"https://api.github.com/users/chises/repos","events_url":"https://api.github.com/users/chises/events{/privacy}","received_events_url":"https://api.github.com/users/chises/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-27T11:55:54Z","updated_at":"2016-10-27T12:15:03Z","closed_at":"2016-10-27T12:15:03Z","body":"Hello,\r\ni need a bit support.\r\ni already read that thread: https://github.com/mopidy/mopidy/issues/950 \r\nbut it did not solve my problem.\r\nI have a php page with javascript content:\r\n```\r\nprotocol = 'ws';\r\n\r\nif(location.protocol == 'https:')\r\n\r\nprotocol = 'wss';\r\n\t\t\t\t\t\t\r\nconsole.log(protocol);\r\n\r\nmopidy = new Mopidy({\r\n\r\nwebSocketUrl: protocol+\"://\"+location.host+\":6680/mopidy/ws/\",\r\n\r\ncallingConvention: \"by-position-or-by-name\",\r\n\t\t\t\t\t\t\r\n});\r\n```\r\nIssue in javascript log:\r\n\"Firefox kann keine Verbindung zu dem Server unter wss://10.10.100.15:6680/mopidy/ws/ aufbauen.\"\r\nin english\r\n\"Firefox is unable to establish a connection to wss://10.10.100.15:6680/mopidy/ws/\"\r\n\r\nif the address is ws://10.10.100.15:6680/mopidy/ws/ everything is working fine :-/\r\n\r\nAny help here?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mopidy/mopidy/issues/comments/256624429","html_url":"https://github.com/mopidy/mopidy/issues/1578#issuecomment-256624429","issue_url":"https://api.github.com/repos/mopidy/mopidy/issues/1578","id":256624429,"user":{"login":"adamcik","id":82534,"avatar_url":"https://avatars.githubusercontent.com/u/82534?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcik","html_url":"https://github.com/adamcik","followers_url":"https://api.github.com/users/adamcik/followers","following_url":"https://api.github.com/users/adamcik/following{/other_user}","gists_url":"https://api.github.com/users/adamcik/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcik/subscriptions","organizations_url":"https://api.github.com/users/adamcik/orgs","repos_url":"https://api.github.com/users/adamcik/repos","events_url":"https://api.github.com/users/adamcik/events{/privacy}","received_events_url":"https://api.github.com/users/adamcik/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T12:15:03Z","updated_at":"2016-10-27T12:15:03Z","body":"Mopidy doesn't support HTTPS, if you need that you have to put some sort of proxy in front. Google should be able to help setup something that supports https and WS proxying.\r\n\r\nAlso we prefer that support questions go to http://discuss.mopidy.com so we can focus on actual bugs here."}}
{"actor":{"display_login":"adamcik"}}