0 Replies Latest reply on Jun 10, 2014 9:29 AM by evdk

    504 when deploying dev console apps

    evdk

      I'm trying to deploy a couple of dev console apps for use only in my internal community, but when I try to publish my apps I just get the error "Unable to deploy your app." The community is on Jive 7.0.1.0. I know that there is nothing wrong with the apps themselves as I've deployed them before (a few weeks ago), unchanged, on another test instance with no problems.

       

      I get the following in sbs.out:

      Jun 02, 2014 2:33:13 PM org.apache.shindig.gadgets.oauth.OAuthRequest fetchNoThrow

      WARNING: The following fatal error occurred when OAuth was fetching content:

      OAuth error [null] for application https://devcenter.apps.jivesoftware.com/devcenter/opensocial/devcenterapp/DevCenterApp.gadget.xml.  Request trace:

      ==== Original request:

      PUT /appsmarket/services/rest/submit/app/update/publish?userType=admin

       

       

      Host: market.apps.jivesoftware.com

      X-Shindig-AuthType: signed

      Content-Type: application/json

      User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36

      X-Forwarded-For: 172.18.12.246, 172.18.71.113

      X-Jive-Apps-Market-ID: db722fda-28b8-49c5-9006-25eb64cdf595

      X-Jive-User-Email: <Email removed for privacy>

      X-Jive-User-External: false

      X-Jive-User-ID: 4349

      X-shindig-dos: on

       

       

      {"application":{"appDeployInstanceList":[{"name":"Metaswitch", "url":"http://metacom6", "selected":true, "activeUsers":0, "lastPublishedDate":1401714580586},{"name":"Metaswitch", "url":"http://metacom", "selected":false, "activeUsers":0}], "appFeatures":[], "actionContributions":[], "id":17827, "applicationId":"0678e3f3-7e0e-4142-a0fe-952d8f61ece5", "applicationUrl":"http://jerubbesheth/static/supportnotesgadget.xml", "version":"DEV", "name":"Support notes", "shortName":"support_notes_gadget", "description":"CSE Manager Dashboard", "shortDescription":"View and edit support notes for customers, and view sales status.", "developerAccountName":"Metaswitch", "developerName":"Eduardo van der Kloot", "currentDashboardId":null, "tncDate":"Last Updated: December 9, 2011", "categories":null, "roles":null, "tags":[""], "highlights":["CSE","Heartland","Manager","Dashboard"], "icons":["https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/icon16.png","https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/icon48.png","https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/icon128.png"], "screenshots":["https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/screenshot1.png","https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/screenshot2.png","https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/screenshot3.png","https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/screenshot4.png","https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/screenshot5.png"], "authorName":"Philip Davies", "authorEmail":"philip.davies@metaswitch.com", "currentVersion":"1", "configInstructions":"", "thumbnailUrl":null, "screenshotUrl":null, "pricePerUser":0, "pricePerCommunity":0, "categoryName":"UTILITIES", "providesSupport":true, "emailSupport":true, "supportUrlOrEmail":"commhdesk@metaswitch.com", "agreesJivePolicies":true, "free":true, "featuredApp":false, "applicationKey":{"party":null, "uniqueId":"", "oAuthConsumerKey":null, "oAuthConsumerSecret":null}, "createdDate":1401696082364, "submittedDate":1401667200000, "appModule":[], "serviceKeys":[], "status":"INDEVELOPMENT", "mappedVersionStatus":"ACTIVE", "installableState":"ALL", "source":"EXTERNAL", "stagingUrl":"http://jerubbesheth/static/supportnotesgadget.xml", "productionUrl":null}}

      ====

      ==== Sent request 1:

      PUT /appsmarket/services/rest/submit/app/update/publish?userType=admin&oauth_body_hash=aYaJmjNepyDEt%2FN4PvzF5KHLtmw%3D&opensocial_owner_id=4349%40db722fda-28b8-49c5-9006-25eb64cdf595&opensocial_viewer_id=4349%40db722fda-28b8-49c5-9006-25eb64cdf595&opensocial_app_id=bc88bb65-50e1-4b0a-8b24-635d5806b260&opensocial_app_url=https%3A%2F%2Fdevcenter.apps.jivesoftware.com%2Fdevcenter%2Fopensocial%2Fdevcenterapp%2FDevCenterApp.gadget.xml&oauth_version=1.0&oauth_timestamp=1401715979&oauth_nonce=8429686165260710567&oauth_consumer_key=db722fda28b849c5900625eb64cdf595&oauth_signature_method=HMAC-SHA1&oauth_signature=Bnm0af7xvUwx3d0i%2B0LY9C%2B5Mhc%3D

       

       

      Host: market.apps.jivesoftware.com

      X-Shindig-AuthType: signed

      Content-Type: application/json

      User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36

      X-Forwarded-For: 172.18.12.246, 172.18.71.113

      X-Jive-Apps-Market-ID: db722fda-28b8-49c5-9006-25eb64cdf595

      X-Jive-Sig-URL: https://market.apps.jivesoftware.com/appsmarket/services/rest/submit/app/update/publish?userType=admin

      X-Jive-User-Email: <Email removed for privacy>

      X-Jive-User-External: false

      X-Jive-User-ID: 4349

      X-shindig-dos: on

       

       

      {"application":{"appDeployInstanceList":[{"name":"Metaswitch", "url":"http://metacom6", "selected":true, "activeUsers":0, "lastPublishedDate":1401714580586},{"name":"Metaswitch", "url":"http://metacom", "selected":false, "activeUsers":0}], "appFeatures":[], "actionContributions":[], "id":17827, "applicationId":"0678e3f3-7e0e-4142-a0fe-952d8f61ece5", "applicationUrl":"http://jerubbesheth/static/supportnotesgadget.xml", "version":"DEV", "name":"Support notes", "shortName":"support_notes_gadget", "description":"CSE Manager Dashboard", "shortDescription":"View and edit support notes for customers, and view sales status.", "developerAccountName":"Metaswitch", "developerName":"Eduardo van der Kloot", "currentDashboardId":null, "tncDate":"Last Updated: December 9, 2011", "categories":null, "roles":null, "tags":[""], "highlights":["CSE","Heartland","Manager","Dashboard"], "icons":["https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/icon16.png","https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/icon48.png","https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/icon128.png"], "screenshots":["https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/screenshot1.png","https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/screenshot2.png","https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/screenshot3.png","https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/screenshot4.png","https://market.apps.jivesoftware.com/appsmarket/static/developer/placeholder/screenshot5.png"], "authorName":"Philip Davies", "authorEmail":"philip.davies@metaswitch.com", "currentVersion":"1", "configInstructions":"", "thumbnailUrl":null, "screenshotUrl":null, "pricePerUser":0, "pricePerCommunity":0, "categoryName":"UTILITIES", "providesSupport":true, "emailSupport":true, "supportUrlOrEmail":"commhdesk@metaswitch.com", "agreesJivePolicies":true, "free":true, "featuredApp":false, "applicationKey":{"party":null, "uniqueId":"", "oAuthConsumerKey":null, "oAuthConsumerSecret":null}, "createdDate":1401696082364, "submittedDate":1401667200000, "appModule":[], "serviceKeys":[], "status":"INDEVELOPMENT", "mappedVersionStatus":"ACTIVE", "installableState":"ALL", "source":"EXTERNAL", "stagingUrl":"http://jerubbesheth/static/supportnotesgadget.xml", "productionUrl":null}}

      ==== Received response 1:

      HTTP/1.1 504

       

       

      Date: Mon, 02 Jun 2014 13:33:13 GMT

      Has anyone else seen this before? Any idea how to fix it?

       

      Thanks,

      Eddy