Meteor – can’t run on mobile (GETs failed)

I spent 3 days trying to connect my meteor mobile app to existing server. It is working well on server and I want to build app with:

meteor run android-device --mobile-server=

I tried to do various enviromental variables for ROOT_URL, for example:

ROOT_URL='https://ip:443' etc.

In any configuration I have problems with GETs. They are canceled or failed. When i set mobile-server to there is error:

WebSocket connection to ‘ws://‘ failed: Error during WebSocket handshake: Unexpected response code: 400

When i set mobile-server to it refuses all GET requests and Meteor.status i jumping between connecting and waiting.

Do you know what can be the problem?

Source: apache

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.