[MB-5579] phone home is unable to post data when json object is too large ( Update Notification tab shows "Warning - There was a problem with retreiving the update information. ") Created: 14/Jun/12  Updated: 18/Jul/12  Resolved: 18/Jul/12

Status: Closed
Project: Couchbase Server
Component/s: UI
Affects Version/s: 1.8.1-release-candidate
Fix Version/s: 1.8.1
Security Level: Public

Type: Bug Priority: Blocker
Reporter: Karan Kumar (Inactive) Assignee: Karan Kumar (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: Centos 64 bit

Attachments: PNG File Screen Shot 2012-06-14 at 2.09.50 PM.png    

Comment by Aleksey Kondratenko [ 14/Jun/12 ]
Could be issue with phone home server-side.

May I have _browser_ logs? I.e. open developer tools and look at console.
Comment by Karan Kumar (Inactive) [ 14/Jun/12 ]
Failed to load resource: the server responded with a status of 414 (Request-URI Too Large)

Comment by Aleksey Kondratenko [ 14/Jun/12 ]
Found this to be caused by fundamentally 'broken' phone home transport. We can't deliver long stuff over jsonp.

Discussed with Steve & Dustin. We'll do POST with json stuff and smaller GET for update info.

I'm in the middle of implementing it.
Comment by Aleksey Kondratenko [ 15/Jun/12 ]
Comment by Aleksey Kondratenko [ 18/Jun/12 ]
Fix is posted: http://review.couchbase.org/17338
Comment by Karan Kumar (Inactive) [ 19/Jun/12 ]

Fixed and verified
Comment by Thuan Nguyen [ 22/Jun/12 ]
Integrated in github-ns-server-2-0 #380 (See [http://qa.hq.northscale.net/job/github-ns-server-2-0/380/])
    MB-5579: made phone home send it's stuff via POST (Revision b22a6e12e25dee044a73f495a52471954b56c266)
MB-5579:fp: made phone home send it's stuff via POST (Revision 32fa8f9470e6570330bd982a2b2f3c79382a7a5a)

     Result = SUCCESS
Farshid Ghods :
Files :
* priv/public/js/settings.js
* scripts/fake-phone-home

Aliaksey Kandratsenka :
Files :
* priv/public/index.html
* scripts/fake-phone-home
* priv/public/js/settings.js
Comment by Karan Kumar (Inactive) [ 27/Jun/12 ]
Verified with 181-937-rel
Generated at Fri Nov 21 11:59:01 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.