4 Replies Latest reply on Nov 4, 2014 2:23 PM by Ryan Rutan

    Problems were encountered while registering with the network service

    davidjbradshaw

      I'm trying to get the example Jive tile app working from:

       

      https://community.jivesoftware.com/docs/DOC-123753

       

      I have tried going through the example a couple of times, but always end up getting the following error message when I try and install the add-on.

       

      An error occurred sending instance registration to client 'http://djb-jive-148174.euw1-2.nitrousbox.com:8090/jive/oauth/register' (status=408 Request Timeout)

       

      Going directly to the URL in the above example gives the following error message.

       

      Cannot GET /jive/oauth/register

       

      Here's the startup log in debug mode in case that is useful. Is the bit I've highlighted in it correct?

       

      action@djb-jive-148174:~/workspace/jive-sdk$ node app.js

      [2014-10-13 16:00:11.668] [WARN] jive-sdk - ******************************

      [2014-10-13 16:00:11.671] [WARN] jive-sdk - File persistence is configured.

      [2014-10-13 16:00:11.671] [WARN] jive-sdk - Please note that this should

      [2014-10-13 16:00:11.671] [WARN] jive-sdk - not be used for production!

      [2014-10-13 16:00:11.671] [WARN] jive-sdk - ******************************

      [2014-10-13 16:00:11.671] [DEBUG] jive-sdk - File persistence dir at 'db'

      [2014-10-13 16:00:11.697] [INFO] jive-sdk - Updating definition 'djb-test'

      [2014-10-13 16:00:11.733] [DEBUG] jive-sdk - Registered system event  'newInstance' ': ' 'no description'

      [2014-10-13 16:00:11.733] [DEBUG] jive-sdk - Registered system event  'updateInstance' ': ' 'no description'

      [2014-10-13 16:00:11.734] [DEBUG] jive-sdk - Registered event for 'djb-test' ': \'djb-test.10000.0\' ' 'Unique to definition'

      [2014-10-13 16:00:11.744] [DEBUG] jive-sdk - Route added for 'djb-test' ':' 'GET' '/djb-test/action' ' -> ' '/home/action/workspace/jive-sdk/tiles/djb-test/backend/routes/action/get.js'

      [2014-10-13 16:00:11.749] [DEBUG] jive-sdk - Route added for 'djb-test' ':' 'GET' '/djb-test/configure' ' -> ' '/home/action/workspace/jive-sdk/tiles/djb-test/backend/routes/configure/get.js'

      [2014-10-13 16:00:11.767] [INFO] jive-sdk - Running bootstrap.

      [2014-10-13 16:00:11.768] [DEBUG] jive-sdk - Registered system event  'newInstance' ': ' 'Framework handler'

      [2014-10-13 16:00:11.768] [DEBUG] jive-sdk - Registered system event  'updateInstance' ': ' 'Framework handler'

      [2014-10-13 16:00:11.768] [DEBUG] jive-sdk - Registered system event  'destroyedInstance' ': ' 'Framework handler'

      [2014-10-13 16:00:11.768] [DEBUG] jive-sdk - Registered system event  'dataPushed' ': ' 'Framework handler'

      [2014-10-13 16:00:11.768] [DEBUG] jive-sdk - Registered system event  'activityPushed' ': ' 'Framework handler'

      [2014-10-13 16:00:11.769] [DEBUG] jive-sdk - Registered system event  'commentPushed' ': ' 'Framework handler'

      [2014-10-13 16:00:11.769] [DEBUG] jive-sdk - Registered system event  'pushDataToJive' ': ' 'Framework handler'

      [2014-10-13 16:00:11.770] [DEBUG] jive-sdk - Registered system event  'pushActivityToJive' ': ' 'Framework handler'

      [2014-10-13 16:00:11.770] [DEBUG] jive-sdk - Registered system event  'pushCommentToJive' ': ' 'Framework handler'

      [2014-10-13 16:00:11.770] [DEBUG] jive-sdk - Registered system event  'commentOnActivity' ': ' 'Framework handler'

      [2014-10-13 16:00:11.770] [DEBUG] jive-sdk - Registered system event  'commentOnActivityByExternalID' ': ' 'Framework handler'

      [2014-10-13 16:00:11.770] [DEBUG] jive-sdk - Registered system event  'fetchCommentsOnActivity' ': ' 'Framework handler'

      [2014-10-13 16:00:11.770] [DEBUG] jive-sdk - Registered system event  'fetchAllCommentsForExtstream' ': ' 'Framework handler'

      [2014-10-13 16:00:11.770] [DEBUG] jive-sdk - Registered system event  'registration' ': ' 'no description'

      [2014-10-13 16:00:11.771] [DEBUG] jive-sdk - Registered system event  'unregistration' ': ' 'no description'

      [2014-10-13 16:00:11.771] [DEBUG] jive-sdk - Registered system event  'clientAppRegistration' ': ' 'Framework handler'

      [2014-10-13 16:00:11.771] [DEBUG] jive-sdk - Registered system event  'clientAppUnregistration' ': ' 'Framework handler'

      [2014-10-13 16:00:11.771] [DEBUG] jive-sdk - Registered system event  'getPaginatedResults' ': ' 'Framework handler'

      [2014-10-13 16:00:11.772] [DEBUG] jive-sdk - Registered system event  'getExternalProps' ': ' 'Framework handler'

      [2014-10-13 16:00:11.772] [DEBUG] jive-sdk - Registered system event  'setExternalProps' ': ' 'Framework handler'

      [2014-10-13 16:00:11.772] [DEBUG] jive-sdk - Registered system event  'deleteExternalProps' ': ' 'Framework handler'

      [2014-10-13 16:00:11.776] [WARN] jive-sdk - Starting service in HTTP mode

      [2014-10-13 16:00:11.778] [DEBUG] jive-sdk - Global framework routes:

      [2014-10-13 16:00:11.778] [DEBUG] jive-sdk - /registration

      [2014-10-13 16:00:11.778] [DEBUG] jive-sdk - /unregister

      [2014-10-13 16:00:11.778] [DEBUG] jive-sdk - /jive/oauth/register

      [2014-10-13 16:00:11.779] [DEBUG] jive-sdk - Global dev framework routes:

      [2014-10-13 16:00:11.779] [DEBUG] jive-sdk - /dev/tiles

      [2014-10-13 16:00:11.781] [INFO] jive-sdk - Http node setup

      [2014-10-13 16:00:11.842] [DEBUG] jive-sdk - { default:

         { name: 'defaultTemplate',

           displayName: 'Contains: [djb-test] ',

           description: 'Extension UUID 26882ab9-80a0-4046-9d9c-5843579dc6b1 Contains: [djb-test] ',

           tiles: [ 'djb-test' ] } }

      [2014-10-13 16:00:11.849] [DEBUG] jive-sdk - apps:

      []

      [2014-10-13 16:00:11.849] [DEBUG] jive-sdk - packaged cartridges:

      []

      [2014-10-13 16:00:11.855] [DEBUG] jive-sdk - Extension meta:

      {

          "package_version": "1.0",

          "id": "26882ab9-80a0-4046-9d9c-5843579dc6b1",

          "type": "client-app",

          "name": "Add-on containing tiles(s)",

          "description": "Tiles: [djb-test]",

          "minimum_version": "0000",

          "icon_16": "extension-16.png",

          "icon_48": "extension-48.png",

          "icon_128": "extension-128.png",

          "released_on": "2013-03-08T19:11:11.234Z",

          "register_url": "undefinederviceURL%/jive/oauth/register",

          "unregister_url": "undefinederviceURL%/jive/oauth/unregister",

          "service_url": "http://djb-jive-148174.euw1-2.nitrousbox.com:8090",

          "redirect_url": "undefinederviceURL%"

      }

      [2014-10-13 16:00:11.898] [DEBUG] jive-sdk - Zipping 'extension_src/definition.json' 'to' 'extension.zip' ' : ' 'definition.json'

      [2014-10-13 16:00:12.032] [DEBUG] jive-sdk - Zipping 'extension_src/meta.json' 'to' 'extension.zip' ' : ' 'meta.json'

      [2014-10-13 16:00:12.053] [DEBUG] jive-sdk - Zipping 'extension_src/data/extension-128.png' 'to' 'extension.zip' ' : ' 'data/extension-128.png'

      [2014-10-13 16:00:12.054] [DEBUG] jive-sdk - Zipping 'extension_src/data/extension-16.png' 'to' 'extension.zip' ' : ' 'data/extension-16.png'

      [2014-10-13 16:00:12.055] [DEBUG] jive-sdk - Zipping 'extension_src/data/extension-48.png' 'to' 'extension.zip' ' : ' 'data/extension-48.png'

      [2014-10-13 16:00:12.055] [DEBUG] jive-sdk - Zipping 'extension_src/extra/favicon.ico' 'to' 'extension.zip' ' : ' 'extra/favicon.ico'

      [2014-10-13 16:00:12.057] [DEBUG] jive-sdk - Zipping 'extension_src/i18n/en.properties' 'to' 'extension.zip' ' : ' 'i18n/en.properties'

      [2014-10-13 16:00:12.058] [DEBUG] jive-sdk - Zipping 'extension_src/i18n/root.properties' 'to' 'extension.zip' ' : ' 'i18n/root.properties'

      [2014-10-13 16:00:12.061] [INFO] jive-sdk - 17373 total bytes written to extension archive  'extension.zip'

      [2014-10-13 16:00:12.066] [INFO] jive-sdk - Bootstrap complete.

      [2014-10-13 16:00:12.067] [INFO] jive-sdk - Jive SDK version 0.1.143

      [2014-10-13 16:00:12.067] [INFO] jive-sdk - Started service in  'self-contained' 'mode'

      [2014-10-13 16:00:12.068] [DEBUG] jive-sdk - Scheduled task: djb-test.10000.0 10000

      [2014-10-13 16:00:12.069] [INFO] jive-sdk - Service started in development mode

      Express server listening on 0.0.0.0:8090

      [2014-10-13 16:00:26.676] [INFO] jive-sdk - Updated 2 data file(s): [tileDefinition, jiveExtension]

       

      Thanks,

      Dave.