{"action":"created","issue":{"url":"https://api.github.com/repos/AppGyver/steroids/issues/794","labels_url":"https://api.github.com/repos/AppGyver/steroids/issues/794/labels{/name}","comments_url":"https://api.github.com/repos/AppGyver/steroids/issues/794/comments","events_url":"https://api.github.com/repos/AppGyver/steroids/issues/794/events","html_url":"https://github.com/AppGyver/steroids/issues/794","id":55794344,"number":794,"title":"Supersonic Data not sending requests to custom rest server","user":{"login":"dorthwein","id":4139389,"avatar_url":"https://avatars.githubusercontent.com/u/4139389?v=3","gravatar_id":"","url":"https://api.github.com/users/dorthwein","html_url":"https://github.com/dorthwein","followers_url":"https://api.github.com/users/dorthwein/followers","following_url":"https://api.github.com/users/dorthwein/following{/other_user}","gists_url":"https://api.github.com/users/dorthwein/gists{/gist_id}","starred_url":"https://api.github.com/users/dorthwein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dorthwein/subscriptions","organizations_url":"https://api.github.com/users/dorthwein/orgs","repos_url":"https://api.github.com/users/dorthwein/repos","events_url":"https://api.github.com/users/dorthwein/events{/privacy}","received_events_url":"https://api.github.com/users/dorthwein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-28T18:20:20Z","updated_at":"2015-01-28T19:06:44Z","closed_at":null,"body":"I've been using Super Sonic Data with no real issues for several weeks when randomly my app stopped sending requests to my server today.  Instead of sending the request to my API end point it is sending (and failing) to send a request to https://rest-api.appgyver.com/v2/ \r\n\r\nThe correct URL paths are all showing within the SuperSonic data web panel, however within the cloud-resource.raml file is says the base uri is https://rest-api.appgyver.com/v1/ (Notice the V1, while requests are going to v2).  \r\n\r\nI can confirm that the baseUri in the Raml file is where the https://rest-api.appgyver.com/v2/ endpoint comes from.  I found a function in the ag-resource-loader-raml repo which replaces v1 with v2\r\n\r\nI've reproduced this error in a clean blank steroids app\r\n\r\nSteps to reproduce:\r\n1) Create new app\r\n2) Add custom rest data provider\r\n3) Add resource\r\n4) Attempt to load data custom rest endpoint/server\r\n5) Server never receives request - instead request seems to be sent to wrong baseUri.\r\n"},"comment":{"url":"https://api.github.com/repos/AppGyver/steroids/issues/comments/71894858","html_url":"https://github.com/AppGyver/steroids/issues/794#issuecomment-71894858","issue_url":"https://api.github.com/repos/AppGyver/steroids/issues/794","id":71894858,"user":{"login":"dorthwein","id":4139389,"avatar_url":"https://avatars.githubusercontent.com/u/4139389?v=3","gravatar_id":"","url":"https://api.github.com/users/dorthwein","html_url":"https://github.com/dorthwein","followers_url":"https://api.github.com/users/dorthwein/followers","following_url":"https://api.github.com/users/dorthwein/following{/other_user}","gists_url":"https://api.github.com/users/dorthwein/gists{/gist_id}","starred_url":"https://api.github.com/users/dorthwein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dorthwein/subscriptions","organizations_url":"https://api.github.com/users/dorthwein/orgs","repos_url":"https://api.github.com/users/dorthwein/repos","events_url":"https://api.github.com/users/dorthwein/events{/privacy}","received_events_url":"https://api.github.com/users/dorthwein/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T19:06:44Z","updated_at":"2015-01-28T19:06:44Z","body":"Issue seems to be resolved and was tied to an issue with https://rest-api.appgyver.com/v2/.  Apparently every time the app loads it asks https://rest-api.appgyver.com/v2/ for each resource endpoint information then goes from there.  \r\n\r\nI think this is a huge stability issue as everyones apps & development is dependent on https://rest-api.appgyver.com/v2/ staying up.  \r\n\r\nLeaving open for now until someone at App Gyver command confirms that that was the issue. "}}