Erreur running cordoba on IOS device

Hi guys,

When i’m running my web app on IOS i have the following error message and I get stuck as i cannot find what does it mean and how solve the issue?

This is the message displayed:

Oops, looks like there’s no route on the client or the server for url: "http://localhost:12776/?cdvToken=D2A0142A-4AF5-4405-B52F-C940CB7274A2-19981-000004BE11E3B85A."

Thanks for your help,

Olivier

More logs from Xcode:

[INFO] GCDWebServer started on port 12776 and reachable at http://localhost:12776/
2018-06-08 11:12:38.416725+0200 lovly_test[20064:3052587] [CDVTimer][webapplocalserver] 63.933969ms
2018-06-08 11:12:38.426191+0200 lovly_test[20064:3052587] [CDVTimer][statusbar] 9.361029ms
2018-06-08 11:12:38.589803+0200 lovly_test[20064:3052587] [CDVTimer][splashscreen] 163.522959ms
2018-06-08 11:12:38.589917+0200 lovly_test[20064:3052587] [CDVTimer][TotalPluginStartup] 243.187904ms
2018-06-08 11:12:38.651055+0200 lovly_test[20064:3052587] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
2018-06-08 11:12:38.653103+0200 lovly_test[20064:3052587] Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
2018-06-08 11:12:58.758582+0200 lovly_test[20064:3052884] App startup timed out, reverting to last known good version
BLACKLIST - getBlacklistedVersions: []
BLACKLIST - getBlacklistedVersions: []
BLACKLIST - removing retry list and blacklisting [“425cf3b0af7b141b963dd9e7cea242b6ec85ca2a”] for ever

You have to start your app with the --mobile-server option set to the ip of your server with correct port and be sure the iPhone can connect this address

1 Like

thanks @guidouil ! I have tested with

meteor run ios --mobile-server https://app.lovlyapp.com

But still have the same error message :frowning:

MacBook-Pro-de-Oliv:lovly_test3 olivlagarde$ meteor run ios --mobile-server http://localhost:12776
[[[[[ ~/lovly_test3 ]]]]]

=> Started proxy.
=> Started MongoDB.
=> Meteor 1.7.0.1 is available. Update this project with ‘meteor update’.
WARNING: Attempting to install plugin cordova-plugin-statusbar@2.2.1, but it should have a minimum version of 2.3.0 to
ensure compatibility with the current platform versions. Installing the minimum version for convenience, but
you should adjust your dependencies.
WARNING: Attempting to install plugin cordova-plugin-splashscreen@4.0.1, but it should have a minimum version of 4.1.0
to ensure compatibility with the current platform versions. Installing the minimum version for convenience,
but you should adjust your dependencies.

WARNING: It looks like you are using OAuth2 login in your app. Meteor’s OAuth2 implementation does not currently work
with mobile apps in local development mode, except in the iOS simulator. You can run the iOS simulator with
‘meteor run ios’. For additional workarounds, see
https://github.com/meteor/meteor/wiki/OAuth-for-mobile-Meteor-clients.
W20180612-18:29:02.033(2)? (STDERR) WARNING:
W20180612-18:29:02.128(2)? (STDERR) cfs:graphicsmagick could not find “graphicsMagic” or “imageMagic” on the
W20180612-18:29:02.128(2)? (STDERR) system.
W20180612-18:29:02.129(2)? (STDERR)
W20180612-18:29:02.129(2)? (STDERR) I just checked PATH to see if I could find the GraphicsMagick or ImageMagic
W20180612-18:29:02.129(2)? (STDERR) unix/mac os/windows binaries on your system, I failed.
W20180612-18:29:02.130(2)? (STDERR)
W20180612-18:29:02.130(2)? (STDERR) Why:
W20180612-18:29:02.131(2)? (STDERR) 1. I may be blind or naive, help making me smarter
W20180612-18:29:02.131(2)? (STDERR) 2. You havent added the path to the binaries
W20180612-18:29:02.131(2)? (STDERR) 3. You havent actually installed GraphicsMagick or ImageMagick
W20180612-18:29:02.132(2)? (STDERR)
W20180612-18:29:02.132(2)? (STDERR) *** Make sure “$PATH” environment is configured “PATH:/path/to/binaries” ***
W20180612-18:29:02.132(2)? (STDERR)
W20180612-18:29:02.133(2)? (STDERR) Installation hints:
W20180612-18:29:02.133(2)? (STDERR) * Mac OS X “brew install graphicsmagick” or “brew install imagemagick”
W20180612-18:29:02.134(2)? (STDERR) * Linux download rpm or use packagemanager
W20180612-18:29:02.134(2)? (STDERR) * Centos “yum install GraphicsMagick”* Windows download the installer and run
W20180612-18:29:02.629(2)? (STDERR) /Users/olivlagarde/.meteor/packages/meteor-tool/.1.6.1_1.o8hqcq.5zvm++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20180612-18:29:02.630(2)? (STDERR) throw(ex);
W20180612-18:29:02.630(2)? (STDERR) ^
W20180612-18:29:02.631(2)? (STDERR)
W20180612-18:29:02.631(2)? (STDERR) Error: Already registered the facebook OAuth service
W20180612-18:29:02.631(2)? (STDERR) at Object.OAuth.registerService (packages/oauth.js:64:11)
W20180612-18:29:02.632(2)? (STDERR) at packages/facebook.js:38:7
W20180612-18:29:02.632(2)? (STDERR) at packages/facebook.js:136:4
W20180612-18:29:02.632(2)? (STDERR) at packages/facebook.js:140:4
W20180612-18:29:02.633(2)? (STDERR) at packages/facebook.js:148:3
W20180612-18:29:02.633(2)? (STDERR) at /Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/boot.js:411:36
W20180612-18:29:02.634(2)? (STDERR) at Array.forEach ()
W20180612-18:29:02.634(2)? (STDERR) at /Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/boot.js:220:19
W20180612-18:29:02.634(2)? (STDERR) at /Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/boot.js:471:5
W20180612-18:29:02.635(2)? (STDERR) at Function.run (/Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/profile.js:510:12)
W20180612-18:29:02.635(2)? (STDERR) at /Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/boot.js:470:11
=> Started app on iOS Simulator.
=> Exited with code: 1
W20180612-18:30:15.244(2)? (STDERR) WARNING:
W20180612-18:30:15.245(2)? (STDERR) cfs:graphicsmagick could not find “graphicsMagic” or “imageMagic” on the
W20180612-18:30:15.245(2)? (STDERR) system.
W20180612-18:30:15.246(2)? (STDERR)
W20180612-18:30:15.246(2)? (STDERR) I just checked PATH to see if I could find the GraphicsMagick or ImageMagic
W20180612-18:30:15.246(2)? (STDERR) unix/mac os/windows binaries on your system, I failed.
W20180612-18:30:15.247(2)? (STDERR)
W20180612-18:30:15.247(2)? (STDERR) Why:
W20180612-18:30:15.247(2)? (STDERR) 1. I may be blind or naive, help making me smarter
W20180612-18:30:15.247(2)? (STDERR) 2. You havent added the path to the binaries
W20180612-18:30:15.248(2)? (STDERR) 3. You havent actually installed GraphicsMagick or ImageMagick
W20180612-18:30:15.248(2)? (STDERR)
W20180612-18:30:15.248(2)? (STDERR) *** Make sure “$PATH” environment is configured “PATH:/path/to/binaries” ***
W20180612-18:30:15.248(2)? (STDERR)
W20180612-18:30:15.249(2)? (STDERR) Installation hints:
W20180612-18:30:15.249(2)? (STDERR) * Mac OS X “brew install graphicsmagick” or “brew install imagemagick”
W20180612-18:30:15.249(2)? (STDERR) * Linux download rpm or use packagemanager
W20180612-18:30:15.249(2)? (STDERR) * Centos “yum install GraphicsMagick”* Windows download the installer and run
W20180612-18:30:16.343(2)? (STDERR) /Users/olivlagarde/.meteor/packages/meteor-tool/.1.6.1_1.o8hqcq.5zvm++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20180612-18:30:16.343(2)? (STDERR) throw(ex);
W20180612-18:30:16.344(2)? (STDERR) ^
W20180612-18:30:16.344(2)? (STDERR)
W20180612-18:30:16.344(2)? (STDERR) Error: Already registered the facebook OAuth service
W20180612-18:30:16.344(2)? (STDERR) at Object.OAuth.registerService (packages/oauth.js:64:11)
W20180612-18:30:16.344(2)? (STDERR) at packages/facebook.js:38:7
W20180612-18:30:16.345(2)? (STDERR) at packages/facebook.js:136:4
W20180612-18:30:16.345(2)? (STDERR) at packages/facebook.js:140:4
W20180612-18:30:16.345(2)? (STDERR) at packages/facebook.js:148:3
W20180612-18:30:16.345(2)? (STDERR) at /Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/boot.js:411:36
W20180612-18:30:16.345(2)? (STDERR) at Array.forEach ()
W20180612-18:30:16.345(2)? (STDERR) at /Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/boot.js:220:19
W20180612-18:30:16.346(2)? (STDERR) at /Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/boot.js:471:5
W20180612-18:30:16.346(2)? (STDERR) at Function.run (/Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/profile.js:510:12)
W20180612-18:30:16.347(2)? (STDERR) at /Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/boot.js:470:11
=> Exited with code: 1
W20180612-18:30:22.678(2)? (STDERR) WARNING:
W20180612-18:30:22.678(2)? (STDERR) cfs:graphicsmagick could not find “graphicsMagic” or “imageMagic” on the
W20180612-18:30:22.678(2)? (STDERR) system.
W20180612-18:30:22.679(2)? (STDERR)
W20180612-18:30:22.679(2)? (STDERR) I just checked PATH to see if I could find the GraphicsMagick or ImageMagic
W20180612-18:30:22.679(2)? (STDERR) unix/mac os/windows binaries on your system, I failed.
W20180612-18:30:22.679(2)? (STDERR)
W20180612-18:30:22.680(2)? (STDERR) Why:
W20180612-18:30:22.680(2)? (STDERR) 1. I may be blind or naive, help making me smarter
W20180612-18:30:22.680(2)? (STDERR) 2. You havent added the path to the binaries
W20180612-18:30:22.681(2)? (STDERR) 3. You havent actually installed GraphicsMagick or ImageMagick
W20180612-18:30:22.681(2)? (STDERR)
W20180612-18:30:22.681(2)? (STDERR) *** Make sure “$PATH” environment is configured “PATH:/path/to/binaries” ***
W20180612-18:30:22.682(2)? (STDERR)
W20180612-18:30:22.682(2)? (STDERR) Installation hints:
W20180612-18:30:22.682(2)? (STDERR) * Mac OS X “brew install graphicsmagick” or “brew install imagemagick”
W20180612-18:30:22.682(2)? (STDERR) * Linux download rpm or use packagemanager
W20180612-18:30:22.683(2)? (STDERR) * Centos “yum install GraphicsMagick”* Windows download the installer and run
W20180612-18:30:23.495(2)? (STDERR) /Users/olivlagarde/.meteor/packages/meteor-tool/.1.6.1_1.o8hqcq.5zvm++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20180612-18:30:23.495(2)? (STDERR) throw(ex);
W20180612-18:30:23.496(2)? (STDERR) ^
W20180612-18:30:23.496(2)? (STDERR)
W20180612-18:30:23.496(2)? (STDERR) Error: Already registered the facebook OAuth service
W20180612-18:30:23.496(2)? (STDERR) at Object.OAuth.registerService (packages/oauth.js:64:11)
W20180612-18:30:23.496(2)? (STDERR) at packages/facebook.js:38:7
W20180612-18:30:23.497(2)? (STDERR) at packages/facebook.js:136:4
W20180612-18:30:23.497(2)? (STDERR) at packages/facebook.js:140:4
W20180612-18:30:23.497(2)? (STDERR) at packages/facebook.js:148:3
W20180612-18:30:23.497(2)? (STDERR) at /Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/boot.js:411:36
W20180612-18:30:23.497(2)? (STDERR) at Array.forEach ()
W20180612-18:30:23.498(2)? (STDERR) at /Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/boot.js:220:19
W20180612-18:30:23.498(2)? (STDERR) at /Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/boot.js:471:5
W20180612-18:30:23.498(2)? (STDERR) at Function.run (/Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/profile.js:510:12)
W20180612-18:30:23.498(2)? (STDERR) at /Users/olivlagarde/lovly_test3/.meteor/local/build/programs/server/boot.js:470:11
=> Exited with code: 1
=> Your application is crashing. Waiting for file change.