11 Replies Latest reply on May 12, 2014 11:43 PM by mansari3

    Dev console app stuck after installing template app

    Brian.Welter

      I've been trying to begin work on a new app for a client and keep getting stuck at the same point.  I cannot get any app (even the template downloaded from the Dev Console) to successfully install on my dev environment.  Here's the steps I've followed on a completely clean/blank development instance of Jive following the directions in this document:

        Developing Jive Apps for your own community - using the Dev Console app

       

      1. Install Dev Console App via Apps link, market
      2. Download the template - place files in a public folder on a MAMP installation (apache server)
      3. Click Add App link in dev console and supply the following URL:  http://localhost:8888:/app_path/app.xml      (the documentation specifies pointing to   gadget.xml   but this doesn't exist in the template).
      4. A green bar success message pops up at the bottom of the browser.
      5. Dev console shows "Loading..." text and then nothing happens.

       

       

      I'm seeing the following errors in my console:

      WARNING] [talledLocalContainer] WARNING: OAuth fetch fatal error

      [WARNING] [talledLocalContainer]  OAuth error [null] for application https://developers.jivesoftware.com/appsmarket/opensocial/applicationUUID/bc88bb65-50e1-4b0a-8b24-635d5806b260/gadget.xml.  Request trace:

      [WARNING] [talledLocalContainer] ==== Original request:

      [WARNING] [talledLocalContainer] GET /appsmarket/services/rest/approval/findmyapps?show=ALL&sort=MODIFIED_ON&order=DESC&page=1&max=10&t=1383575223664&userType=admin

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer] Host: market.apps.jivesoftware.com

      [WARNING] [talledLocalContainer] X-Shindig-AuthType: signed

      [WARNING] [talledLocalContainer] Content-Type: application/json

      [WARNING] [talledLocalContainer] X-Forwarded-For: 127.0.0.1

      [WARNING] [talledLocalContainer] X-shindig-dos: on

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer] ====

      [WARNING] [talledLocalContainer] ==== Sent request 1:

      [WARNING] [talledLocalContainer] GET /appsmarket/services/rest/approval/findmyapps?show=ALL&sort=MODIFIED_ON&order=DESC&page=1&max=10&t=1383575223664&userType=admin&oauth_body_hash=2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D&opensocial_owner_id=1%40b92ff87e-d3eb-4569-88c3-f3c136e96dac&opensocial_viewer_id=1%40b92ff87e-d3eb-4569-88c3-f3c136e96dac&opensocial_app_id=bc88bb65-50e1-4b0a-8b24-635d5806b260&opensocial_app_url=https%3A%2F%2Fdevelopers.jivesoftware.com%2Fappsmarket%2Fopensocial%2FapplicationUUID%2Fbc88bb65-50e1-4b0a-8b24-635d5806b260%2Fgadget.xml&oauth_version=1.0&oauth_timestamp=1383575223&oauth_nonce=179129775152355633&oauth_consumer_key=b92ff87ed3eb456988c3f3c136e96dac&oauth_signature_method=HMAC-SHA1&oauth_signature=k8TzVZCduOAFXBoTcsGPTJInUKI%3D

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer] Host: market.apps.jivesoftware.com

      [WARNING] [talledLocalContainer] X-Shindig-AuthType: signed

      [WARNING] [talledLocalContainer] Content-Type: application/json

      [WARNING] [talledLocalContainer] X-Forwarded-For: 127.0.0.1

      [WARNING] [talledLocalContainer] X-Jive-Sig-URL: https://market.apps.jivesoftware.com/appsmarket/services/rest/approval/findmyapps?show=ALL&sort=MODIFIED_ON&order=DESC&page=1&max=10&t=1383575223664&userType=admin

      [WARNING] [talledLocalContainer] X-shindig-dos: on

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer] ==== Received response 1:

      [WARNING] [talledLocalContainer] HTTP/1.1 504

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer] Date: Mon, 04 Nov 2013 14:27:16 GMT

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer] ====

      [WARNING] [talledLocalContainer] Nov 4, 2013 8:28:05 AM org.apache.shindig.gadgets.oauth.OAuthRequest fetchNoThrow

      [WARNING] [talledLocalContainer] WARNING: OAuth fetch fatal error

      [WARNING] [talledLocalContainer]  OAuth error [null] for application https://developers.jivesoftware.com/appsmarket/opensocial/applicationUUID/bc88bb65-50e1-4b0a-8b24-635d5806b260/gadget.xml.  Request trace:

      [WARNING] [talledLocalContainer] ==== Original request:

      [WARNING] [talledLocalContainer] GET /appsmarket/services/rest/approval/findmyapps?show=ALL&sort=MODIFIED_ON&order=DESC&page=1&max=10&t=1383575272159&userType=admin

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer] Host: market.apps.jivesoftware.com

      [WARNING] [talledLocalContainer] X-Shindig-AuthType: signed

      [WARNING] [talledLocalContainer] Content-Type: application/json

      [WARNING] [talledLocalContainer] X-Forwarded-For: 127.0.0.1

      [WARNING] [talledLocalContainer] X-shindig-dos: on

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer] ====

      [WARNING] [talledLocalContainer] ==== Sent request 1:

      [WARNING] [talledLocalContainer] GET /appsmarket/services/rest/approval/findmyapps?show=ALL&sort=MODIFIED_ON&order=DESC&page=1&max=10&t=1383575272159&userType=admin&oauth_body_hash=2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D&opensocial_owner_id=1%40b92ff87e-d3eb-4569-88c3-f3c136e96dac&opensocial_viewer_id=1%40b92ff87e-d3eb-4569-88c3-f3c136e96dac&opensocial_app_id=bc88bb65-50e1-4b0a-8b24-635d5806b260&opensocial_app_url=https%3A%2F%2Fdevelopers.jivesoftware.com%2Fappsmarket%2Fopensocial%2FapplicationUUID%2Fbc88bb65-50e1-4b0a-8b24-635d5806b260%2Fgadget.xml&oauth_version=1.0&oauth_timestamp=1383575272&oauth_nonce=586225435440852770&oauth_consumer_key=b92ff87ed3eb456988c3f3c136e96dac&oauth_signature_method=HMAC-SHA1&oauth_signature=U0OzyNzgvr16ZL1VDSO3Fgh6%2FGc%3D

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer] Host: market.apps.jivesoftware.com

      [WARNING] [talledLocalContainer] X-Shindig-AuthType: signed

      [WARNING] [talledLocalContainer] Content-Type: application/json

      [WARNING] [talledLocalContainer] X-Forwarded-For: 127.0.0.1

      [WARNING] [talledLocalContainer] X-Jive-Sig-URL: https://market.apps.jivesoftware.com/appsmarket/services/rest/approval/findmyapps?show=ALL&sort=MODIFIED_ON&order=DESC&page=1&max=10&t=1383575272159&userType=admin

      [WARNING] [talledLocalContainer] X-shindig-dos: on

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer] ==== Received response 1:

      [WARNING] [talledLocalContainer] HTTP/1.1 504

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer] Date: Mon, 04 Nov 2013 14:28:05 GMT

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer]

      [WARNING] [talledLocalContainer] ====

       

       

      Here's what the dev console looks like after installing the template app:

      Screen shot 2013-11-04 at 8.34.35 AM.png

       

      In addition, I can only use the apps like and market in Firefox.  Chrome gets into an infinite loop of refreshing - again this is on a completely clean instance.

       

      Any help would be greatly appreciated.