{"action":"created","issue":{"url":"https://api.github.com/repos/kaltura/platform-install-packages/issues/333","labels_url":"https://api.github.com/repos/kaltura/platform-install-packages/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/kaltura/platform-install-packages/issues/333/comments","events_url":"https://api.github.com/repos/kaltura/platform-install-packages/issues/333/events","html_url":"https://github.com/kaltura/platform-install-packages/issues/333","id":55365202,"number":333,"title":"Delivery profile option from drop down list not working, Give Uncaught SyntaxError: Unexpected token ,","user":{"login":"blackyboy","id":4866182,"avatar_url":"https://avatars.githubusercontent.com/u/4866182?v=3","gravatar_id":"","url":"https://api.github.com/users/blackyboy","html_url":"https://github.com/blackyboy","followers_url":"https://api.github.com/users/blackyboy/followers","following_url":"https://api.github.com/users/blackyboy/following{/other_user}","gists_url":"https://api.github.com/users/blackyboy/gists{/gist_id}","starred_url":"https://api.github.com/users/blackyboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackyboy/subscriptions","organizations_url":"https://api.github.com/users/blackyboy/orgs","repos_url":"https://api.github.com/users/blackyboy/repos","events_url":"https://api.github.com/users/blackyboy/events{/privacy}","received_events_url":"https://api.github.com/users/blackyboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-24T09:40:06Z","updated_at":"2015-01-28T09:38:55Z","closed_at":null,"body":"Hi @jessp01 @KalturaCommunity \r\n\r\nHope you doing good,\r\n\r\nHere is my issue, we using Kaltura Server 9.19.5 in production. Now we need to create a remote storage and rtmp streaming. Storage configured and working fine. while creating rtmp delivery using amazon cloud front as in before old version storage and delivery will be in same tab. But now it's separated as remote storage and delivery profile. While creating Storage profile it asked to choose delivery details in bottom as Delivery profile ids (JSON) in that if i add http it shows as default delivery profile with 500 ID, while choosing rtmp it too shows default profile with 201. \r\n\r\n![selection_001](https://cloud.githubusercontent.com/assets/4866182/5886887/d9983896-a3da-11e4-81d6-7df918c968dc.png)\r\n\r\n\r\nThen back to create a delivery profile using http i get 502 as my ID and while creating rtmp it gives 503 ID, Did the above id in storage and this one need to match for get stream ? Now only my files are storing in amazon s3 i can't playback using cloud front. \r\n\r\n![selection_002](https://cloud.githubusercontent.com/assets/4866182/5886888/e337134a-a3da-11e4-91cd-69bdbb1a69ad.png)\r\n\r\n\r\nwhile trying to edit the delivery profile which one already created i'am not getting the popup window. While clicking on Menu it getting choose but window not bringing up. So i have checked using inspect element from browser right click option and choose console while choosing any menu as Configure, Delete, or disable i'am getting this error \"Uncaught SyntaxError: Unexpected token ,\"\r\n\r\n![selection_003](https://cloud.githubusercontent.com/assets/4866182/5886890/e926ada6-a3da-11e4-84a9-736e5d521f92.png)\r\n\r\n\r\nIs there any fix for this? And how can i setup the delivery profile which match to storage profile which i have created from Amazon S3.\r\n\r\n                                                                             Thank you..."},"comment":{"url":"https://api.github.com/repos/kaltura/platform-install-packages/issues/comments/71805819","html_url":"https://github.com/kaltura/platform-install-packages/issues/333#issuecomment-71805819","issue_url":"https://api.github.com/repos/kaltura/platform-install-packages/issues/333","id":71805819,"user":{"login":"blackyboy","id":4866182,"avatar_url":"https://avatars.githubusercontent.com/u/4866182?v=3","gravatar_id":"","url":"https://api.github.com/users/blackyboy","html_url":"https://github.com/blackyboy","followers_url":"https://api.github.com/users/blackyboy/followers","following_url":"https://api.github.com/users/blackyboy/following{/other_user}","gists_url":"https://api.github.com/users/blackyboy/gists{/gist_id}","starred_url":"https://api.github.com/users/blackyboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackyboy/subscriptions","organizations_url":"https://api.github.com/users/blackyboy/orgs","repos_url":"https://api.github.com/users/blackyboy/repos","events_url":"https://api.github.com/users/blackyboy/events{/privacy}","received_events_url":"https://api.github.com/users/blackyboy/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T09:38:55Z","updated_at":"2015-01-28T09:38:55Z","body":"Hi @jessp01 \r\n\r\nThanks again, I tried to run the command as your guide.\r\n\r\n* Command\r\n\r\n```\r\nphp /opt/kaltura/bin/create_remote_storage.php https://betamedia.xxxxx.com 108 8d6cxxxxxxxxxx8bc2b03 xxxxx-beta-http http://d1swxxxxx.cloudfront.net/kaltura http://xxxxxx-kaltura.s3.amazonaws.com /jxxxx-kaltura/kaltura AxxxxxxRHTxx2X5Q +CxxxxxxxxxxxxIcZ6jFSv7nm/LWn42CiC/ S3 HTTP HTTP\r\n```\r\n\r\nOutput give me error:\r\n\r\n```\r\nobject(KalturaException)#81 (7) {\r\n  [\"message\":protected]=>\r\n  string(45) \"Error while starting session for partner [-2]\"\r\n  [\"string\":\"Exception\":private]=>\r\n  string(0) \"\"\r\n  [\"code\":protected]=>\r\n  string(19) \"START_SESSION_ERROR\"\r\n  [\"file\":protected]=>\r\n  string(62) \"/opt/kaltura/web/content/clientlibs/php5/KalturaClientBase.php\"\r\n  [\"line\":protected]=>\r\n  int(734)\r\n  [\"trace\":\"Exception\":private]=>\r\n  array(2) {\r\n    [0]=>\r\n    array(6) {\r\n      [\"file\"]=>\r\n      string(58) \"/opt/kaltura/web/content/clientlibs/php5/KalturaClient.php\"\r\n      [\"line\"]=>\r\n      int(6297)\r\n      [\"function\"]=>\r\n      string(21) \"throwExceptionIfError\"\r\n      [\"class\"]=>\r\n      string(17) \"KalturaClientBase\"\r\n      [\"type\"]=>\r\n      string(2) \"->\"\r\n      [\"args\"]=>\r\n      array(1) {\r\n        [0]=>\r\n        array(4) {\r\n          [\"code\"]=>\r\n          string(19) \"START_SESSION_ERROR\"\r\n          [\"message\"]=>\r\n          string(45) \"Error while starting session for partner [-2]\"\r\n          [\"objectType\"]=>\r\n          string(19) \"KalturaAPIException\"\r\n          [\"args\"]=>\r\n          array(1) {\r\n            [\"PID\"]=>\r\n            int(-2)\r\n          }\r\n        }\r\n      }\r\n    }\r\n    [1]=>\r\n    array(6) {\r\n      [\"file\"]=>\r\n      string(42) \"/opt/kaltura/bin/create_remote_storage.php\"\r\n      [\"line\"]=>\r\n      int(59)\r\n      [\"function\"]=>\r\n      string(5) \"start\"\r\n      [\"class\"]=>\r\n      string(21) \"KalturaSessionService\"\r\n      [\"type\"]=>\r\n      string(2) \"->\"\r\n      [\"args\"]=>\r\n      array(6) {\r\n        [0]=>\r\n        string(32) \"8d6cxxxxxxxxxx8bc2b03\"\r\n        [1]=>\r\n        NULL\r\n        [2]=>\r\n        int(2)\r\n        [3]=>\r\n        int(-2)\r\n        [4]=>\r\n        NULL\r\n        [5]=>\r\n        NULL\r\n      }\r\n    }\r\n  }\r\n  [\"previous\":\"Exception\":private]=>\r\n  NULL\r\n}\r\n```\r\n\r\nEven i have tried removing every https:// from URL above URL's. "}}