Here is the solution of this issue follow below steps
step 1) Go to file 'vendor/magento/module-quote/Model/QuoteManagement.php'(override this file using preference dnt make chanage in core files)
step 2) Edit this function 'createEmptyCartForCustomer'.
step 3) In try before saving quote line number 234 add below code
$quote->getBillingAddress();
$quote->getShippingAddress()->setCollectShippingRates(true);