[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    

 Comments   
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)

http://ph.couchbase.net/stats?callback=jsonp1339708686872&_=1339708687674&stats=%7B%22version%22%3A%221.8.1-903-rel-enterprise%22%2C%22componentsVersion%22%3A%7B%22ale%22%3A%228cffe61%22%2C%22os_mon%22%3A%222.2.6%22%2C%22mnesia%22%3A%224.4.19%22%2C%22kernel%22%3A%222.14.4%22%2C%22sasl%22%3A%222.1.9.4%22%2C%22ns_server%22%3A%221.8.1-903-rel-enterprise%22%2C%22stdlib%22%3A%221.17.4%22%7D%2C%22uuid%22%3A%224242b711-cfbb-4d2a-8472-b9cd23fb3820%22%2C%22numNodes%22%3A17%2C%22ram%22%3A%7B%22total%22%3A163356393472%2C%22quotaTotal%22%3A113835507712%2C%22quotaUsed%22%3A108487770112%7D%2C%22hdd%22%3A%7B%22total%22%3A1201782034432%2C%22quotaTotal%22%3A1201782034432%2C%22used%22%3A159812837289%2C%22usedByData%22%3A128923618712%7D%2C%22buckets%22%3A%7B%22total%22%3A1%2C%22membase%22%3A1%2C%22memcached%22%3A0%7D%2C%22counters%22%3A%7B%22rebalance_success%22%3A15%2C%22rebalance_start%22%3A21%2C%22rebalance_stop%22%3A6%2C%22failover_node%22%3A7%7D%2C%22nodes%22%3A%7B%22os%22%3A%5B%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%2C%22x86_64-unknown-linux-gnu%22%5D%2C%22uptime%22%3A%5B%22171962%22%2C%2283028%22%2C%22172481%22%2C%22101148%22%2C%22172398%22%2C%2281517%22%2C%22170840%22%2C%22170808%22%2C%22172296%22%2C%22172259%22%2C%22170772%22%2C%22170740%22%2C%22102299%22%2C%22171959%22%2C%22156132%22%2C%22171959%22%2C%22171958%22%5D%2C%22istats%22%3A%5B%7B%22curr_items%22%3A6956878%2C%22curr_items_tot%22%3A13795949%2C%22vb_replica_curr_items%22%3A6839071%7D%2C%7B%22curr_items%22%3A6920907%2C%22curr_items_tot%22%3A13883322%2C%22vb_replica_curr_items%22%3A6962415%7D%2C%7B%22curr_items%22%3A6961980%2C%22curr_items_tot%22%3A13900640%2C%22vb_replica_curr_items%22%3A6938660%7D%2C%7B%22curr_items%22%3A6954968%2C%22curr_items_tot%22%3A13905324%2C%22vb_replica_curr_items%22%3A6950356%7D%2C%7B%22curr_items%22%3A6840845%2C%22curr_items_tot%22%3A13777605%2C%22vb_replica_curr_items%22%3A6936760%7D%2C%7B%22curr_items%22%3A6845837%2C%22curr_items_tot%22%3A13669659%2C%22vb_replica_curr_items%22%3A6823822%7D%2C%7B%22curr_items%22%3A6839260%2C%22curr_items_tot%22%3A13676487%2C%22vb_replica_curr_items%22%3A6837227%7D%2C%7B%22curr_items%22%3A6854410%2C%22curr_items_tot%22%3A13708024%2C%22vb_replica_curr_items%22%3A6853614%7D%2C%7B%22curr_items%22%3A6857772%2C%22curr_items_tot%22%3A13708866%2C%22vb_replica_curr_items%22%3A6851094%7D%2C%7B%22curr_items%22%3A6846308%2C%22curr_items_tot%22%3A13696867%2C%22vb_replica_curr_items%22%3A6850559%7D%2C%7B%22curr_items%22%3A6848557%2C%22curr_items_tot%22%3A13699196%2C%22vb_replica_curr_items%22%3A6850639%7D%2C%7B%22curr_items%22%3A6816630%2C%22curr_items_tot%22%3A13660577%2C%22vb_replica_curr_items%22%3A6843947%7D%2C%7B%22curr_items%22%3A6830340%2C%22curr_items_tot%22%3A13659349%2C%22vb_replica_curr_items%22%3A6829009%7D%2C%7B%22curr_items%22%3A6851096%2C%22curr_items_tot%22%3A13697054%2C%22vb_replica_curr_items%22%3A6845958%7D%2C%7B%22curr_items%22%3A6843575%2C%22curr_items_tot%22%3A13674995%2C%22vb_replica_curr_items%22%3A6831420%7D%2C%7B%22curr_items%22%3A6845864%2C%22curr_items_tot%22%3A13695715%2C%22vb_replica_curr_items%22%3A6849851%7D%2C%7B%22curr_items%22%3A6840117%2C%22curr_items_tot%22%3A13696225%2C%22vb_replica_curr_items%22%3A6856108%7D%5D%7D%2C%22browser%22%3A%22Mozilla%2F5.0+(Macintosh%3B+Intel+Mac+OS+X+10_7_4)+AppleWebKit%2F536.5+(KHTML%2C+like+Gecko)+Chrome%2F19.0.1084.56+Safari%2F536.5%22%7D
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 ]
http://review.couchbase.org/17296
Comment by Aleksey Kondratenko [ 18/Jun/12 ]
Fix is posted: http://review.couchbase.org/17338
Comment by Karan Kumar (Inactive) [ 19/Jun/12 ]
http://review.couchbase.org/#change,17338

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 Aug 01 12:46:41 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.