magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.5k stars 9.31k forks source link

Rest APi Loading Issue #3616

Closed chaluvadiswamy closed 8 years ago

chaluvadiswamy commented 8 years ago

During the checkout process estimate shipping based on the address , it taking more than 15 seconds to complete the response ,here is the API call http://www.example.com/rest/default/V1/carts/mine/estimate-shipping-methods-by-address-id

To increase speed i have enabled the Production mode ,but still it is taking more time to load the Checkout page.

Kindly let me know if i need to do any changes in the Apache Configuration to improve the performance.

ishakhsuvarov commented 8 years ago

@chaluvadiswamy Thank you for reporting this issue. Which shipping methods do you have enabled and configured?

chaluvadiswamy commented 8 years ago

@ishakhsuvarov , I am using my setup with sample data.by default Table Rate and Flat Rate is Enabled.

ishakhsuvarov commented 8 years ago

@chaluvadiswamy Currently we are unable to reproduce the issue, could you please provide settings for Table Rate which you are using? How much longer estimation takes then other operations?

chaluvadiswamy commented 8 years ago

@ishakhsuvarov , After you said i have disable the Table Rates Shipping method and tested with only the Flat Rate shipping method .

After doing that also i am facing the same issue.Refer the screen shot capture

ishakhsuvarov commented 8 years ago

@chaluvadiswamy Looking at the overall numbers I would suggest trying some of the advices listed here https://github.com/magento/magento2/issues/2669#issuecomment-163646043

chaluvadiswamy commented 8 years ago

@ishakhsuvarov , Thanks for update. Already i have followed same steps as mentioned in following link : https://github.com/magento/magento2/issues/2669#issuecomment-163646043

I didn't find any difference after enabling the compile and enable Production.

viktor-zhuromskyy commented 8 years ago

Same thing here

piotrekkaminski commented 8 years ago

@mbrinton01 please look

stevewinni commented 8 years ago

I also only have Flat rate shipping turned on, and we are experiencing the same issue. debug.log and exception.log throw no insights.

Anyone got any ideas how to debug this one.... screen shot 2016-07-26 at 11 05 51

veloraven commented 8 years ago

@chaluvadiswamy is this issue still actual? If it is not please close the issue. If it is please provide the used Magento version. Please also provide information about your environment: versions of PHP, MySQL and web-server used.

veloraven commented 8 years ago

According to contributor guide, tickets without response for two weeks should be closed. If this issue still reproducible please feel free to create the new one: format new issue according to the Issue reporting guidelines: with steps to reproduce, actual result and expected result and specify Magento version.

chinthu commented 7 years ago

Any fix for this issue ? this api is very very slow, tried disabling flatrate and other shipping methods still its taking time to load..

devqualwebs commented 6 years ago

@chaluvadiswamy any solution for this? Even I'm facing this issue. Rest API taking too much time.

misha-kotov commented 6 years ago

@devqualwebs please open a new issue and add repro steps, specify your Magento version, and whether this is reproducible on a clean instance. If not, add your enabled shipping methods and shipping configuration.