Thanks for your reply!
I'm trying o fix that otherwise I have to change this sitemap generator!
My old generator works perfectly with all these urls!
I also get this error during crawling:
The gateway did not receive a timely response from the upstream server or application.
Additionally, a 504 Gateway Timeout error was encountered while trying to use an ErrorDocument to handle the request.