{"action":"created","issue":{"url":"https://api.github.com/repos/juju/juju-gui/issues/1464","repository_url":"https://api.github.com/repos/juju/juju-gui","labels_url":"https://api.github.com/repos/juju/juju-gui/issues/1464/labels{/name}","comments_url":"https://api.github.com/repos/juju/juju-gui/issues/1464/comments","events_url":"https://api.github.com/repos/juju/juju-gui/issues/1464/events","html_url":"https://github.com/juju/juju-gui/issues/1464","id":139560188,"number":1464,"title":"Export bundles fails when too many charms (limit unknown)","user":{"login":"SaMnCo","id":2324599,"avatar_url":"https://avatars.githubusercontent.com/u/2324599?v=3","gravatar_id":"","url":"https://api.github.com/users/SaMnCo","html_url":"https://github.com/SaMnCo","followers_url":"https://api.github.com/users/SaMnCo/followers","following_url":"https://api.github.com/users/SaMnCo/following{/other_user}","gists_url":"https://api.github.com/users/SaMnCo/gists{/gist_id}","starred_url":"https://api.github.com/users/SaMnCo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaMnCo/subscriptions","organizations_url":"https://api.github.com/users/SaMnCo/orgs","repos_url":"https://api.github.com/users/SaMnCo/repos","events_url":"https://api.github.com/users/SaMnCo/events{/privacy}","received_events_url":"https://api.github.com/users/SaMnCo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-09T12:12:16Z","updated_at":"2016-03-09T12:19:47Z","closed_at":null,"body":"Hi All, \r\n\r\nUsing the demo GUI, I can't export large bundles. I have errors in the GUI console when I hit export like: \r\n\r\n```\r\nWebSocket connection to 'wss://demo.jujucharms.com/ws' failed: Invalid frame header\r\nFailed to load resource: the server responded with a status of 502 (Proxy Error)\r\nXMLHttpRequest cannot load https://api.jujucharms.com/charmstore/v4/trusty/neutron-api-23/meta/any?inc…nifest&include=stats&include=charm-related&include=extra-info&include=tags. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://demo.jujucharms.com' is therefore not allowed access. The response had HTTP status code 502.\r\nObject\r\nWebSocket connection to 'wss://demo.jujucharms.com/ws' failed: Invalid frame header\r\nUncaught TypeError: Cannot read property 'get' of undefined\r\nObject\r\nObject\r\nObject\r\nObject\r\nUncaught TypeError: Cannot read property 'type' of undefined\r\nUncaught TypeError: Cannot read property 'type' of undefined\r\n```\r\n\r\nTo reproduce:\r\n* Add a base OpenStack model\r\n* Add a Hadoop + rsyslog model and add relations to all OpenStack nodes \r\n* Add an ELK model, and make relations between logstash and all OpenStack services\r\n* Add a Zabbix Model and add relation to all nodes. \r\nAt some point, impossible to export. Unclear when. \r\n\r\nThanks,\r\n"},"comment":{"url":"https://api.github.com/repos/juju/juju-gui/issues/comments/194270854","html_url":"https://github.com/juju/juju-gui/issues/1464#issuecomment-194270854","issue_url":"https://api.github.com/repos/juju/juju-gui/issues/1464","id":194270854,"user":{"login":"urosj","id":8036113,"avatar_url":"https://avatars.githubusercontent.com/u/8036113?v=3","gravatar_id":"","url":"https://api.github.com/users/urosj","html_url":"https://github.com/urosj","followers_url":"https://api.github.com/users/urosj/followers","following_url":"https://api.github.com/users/urosj/following{/other_user}","gists_url":"https://api.github.com/users/urosj/gists{/gist_id}","starred_url":"https://api.github.com/users/urosj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urosj/subscriptions","organizations_url":"https://api.github.com/users/urosj/orgs","repos_url":"https://api.github.com/users/urosj/repos","events_url":"https://api.github.com/users/urosj/events{/privacy}","received_events_url":"https://api.github.com/users/urosj/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T12:19:47Z","updated_at":"2016-03-09T12:19:47Z","body":"Interesting, @SaMnCo, we'll look into this. Do you think it's required to create all those relations for the export to fail? \r\n"}}