Developer forum

Forum » Ecommerce - Standard features » Sitemap takes to long to generate bacues of products links

Sitemap takes to long to generate bacues of products links

Ivan Marijanović
Ivan Marijanović
Reply

Hi everybody

We have a problem with creating a sitemap on our page that has about 8000 products. The process takes too long (ower 7 minutes) and the server returns an error 502 Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request
Reason: Error reading from remote server.

So far, we detected that the problem occurs when pulling data on products with live integration. Is there any other way where we can avoid live integration?

The problem occurs when calling this part of the code: Dynamicweb.Ecommerce.Services.Products.GetProductsByGroupId. 

Thank you in advance!

Ivan


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Ivan

I need a little more information. Dynamicweb.Ecommerce.Services.Products.GetProductsByGroupId in DW9 is marked as obsolete and is not used by the built in sitemap.xml feature. So I would like to know your version.

Also - do you use the built in sitemap.xml feature or are you using the template based version that has existed on some Swift sites? It is a layout template called sitemapxml.cshtml.

Live integration will normally not get called unless prices are used - so in this case, it could indicate that prices somehow is used in the context of sitemap. Also it indicates that live integration is enabled for anonymous users which could also be considered if that is on purpose.

BR Nicolai

 
Ivan Marijanović
Ivan Marijanović
Reply

Hi Nicolai!

Thank you for your quick response.

Solution is DW9.15.8 and Swift v1.21.0.

We use standard Swift_Sitemap.xml.cshtml file to generate sitemap file.

And yes we have live prices and I belive they are also used for anonymous users!

BTW I sent question to DW Care with cllient site data!

Ivan

 

 

 

You must be logged in to post in the forum