{"action":"created","issue":{"url":"https://api.github.com/repos/idanwe/meteor-client-side/issues/9","labels_url":"https://api.github.com/repos/idanwe/meteor-client-side/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/idanwe/meteor-client-side/issues/9/comments","events_url":"https://api.github.com/repos/idanwe/meteor-client-side/issues/9/events","html_url":"https://github.com/idanwe/meteor-client-side/issues/9","id":124607780,"number":9,"title":"DDP_DEFAULT_CONNECTION_URL not working on mobile client?","user":{"login":"mvandenbrink","id":4125236,"avatar_url":"https://avatars.githubusercontent.com/u/4125236?v=3","gravatar_id":"","url":"https://api.github.com/users/mvandenbrink","html_url":"https://github.com/mvandenbrink","followers_url":"https://api.github.com/users/mvandenbrink/followers","following_url":"https://api.github.com/users/mvandenbrink/following{/other_user}","gists_url":"https://api.github.com/users/mvandenbrink/gists{/gist_id}","starred_url":"https://api.github.com/users/mvandenbrink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvandenbrink/subscriptions","organizations_url":"https://api.github.com/users/mvandenbrink/orgs","repos_url":"https://api.github.com/users/mvandenbrink/repos","events_url":"https://api.github.com/users/mvandenbrink/events{/privacy}","received_events_url":"https://api.github.com/users/mvandenbrink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-02T19:33:24Z","updated_at":"2016-01-02T20:20:16Z","closed_at":null,"body":"I'm having an issue with the DDP connection. I started the development of a mobile app with Ionic and Meteor (server side) and this is working very well with your packages and the tutorials from Angular-Meteor. After a few days, I've an working app on my development machine. But testing on my android device didn't work well. I thought it was something with my development setup and testing in Chrome works very well, so why should spend time to it I thought. \r\n\r\nBut today I wanted to show my mobile app, so I made a package for the Meteor server and deployed it. I've deployed the server part of the Meteor package behind an NGINX proxy. On my development machine I changed the DDP_DEFAULT_CONNECTION_URL from 'http://localhost:3000' to my own URL and yes this is working. I build again an android package and installed this on my android phone (ionic run android). The package is deployed, but still I can't make a connection (login form). In my NGINX server there is no connection from my android phone. While I'm using the same configuration from my development machine which is working. I can see NGINX log messages for a websocket connection and I can use the login form. \r\n\r\nWhen I use meteor for building an android package, I've to use --mobile-server parameter to point to the right meteor server package.\r\n\r\nionic version : 1.2.1\r\nangular-meteor : 1.3.1\r\nmeteor-client-side : 1.2.0\r\n\r\nDo you have any idea what is going wrong?"},"comment":{"url":"https://api.github.com/repos/idanwe/meteor-client-side/issues/comments/168426044","html_url":"https://github.com/idanwe/meteor-client-side/issues/9#issuecomment-168426044","issue_url":"https://api.github.com/repos/idanwe/meteor-client-side/issues/9","id":168426044,"user":{"login":"idanwe","id":3066423,"avatar_url":"https://avatars.githubusercontent.com/u/3066423?v=3","gravatar_id":"","url":"https://api.github.com/users/idanwe","html_url":"https://github.com/idanwe","followers_url":"https://api.github.com/users/idanwe/followers","following_url":"https://api.github.com/users/idanwe/following{/other_user}","gists_url":"https://api.github.com/users/idanwe/gists{/gist_id}","starred_url":"https://api.github.com/users/idanwe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idanwe/subscriptions","organizations_url":"https://api.github.com/users/idanwe/orgs","repos_url":"https://api.github.com/users/idanwe/repos","events_url":"https://api.github.com/users/idanwe/events{/privacy}","received_events_url":"https://api.github.com/users/idanwe/received_events","type":"User","site_admin":false},"created_at":"2016-01-02T20:20:16Z","updated_at":"2016-01-02T20:20:16Z","body":"The meteor --mobile-server parameter sets the ddp connection of mobile app build by meteor cli.\r\n\r\nSo, in your scenario it doesn't sound relevant.\r\n\r\nI think that you need to make sure that the mobile app is allowed to connect to your desired server url."}}