Exporting a solution from D365 CE sometimes times out after more than hour. (As already mentioned in Azure Devops Marketplace)
This happens randomly, but mostly in the nightly hours for our scheduled UI testing builds.
We use SPN authentication in our connections to Dynamics 365.
It looks like the async process is not monitored the right way for being completed and then times out.
Attached you'll find the logs of one specific run.