Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi! We are currently having an issue with importing uSync (v126.96.36.199) files in a AWS CloudFront setup. The current setup consists of two loadbalancers with CloudFront in AWS. The proces of reporting works fine with no errors and while importing the data- and doctypes are changed just fine but after the import steps the loading animation keeps running for while and only gives an empty failed Umbraco response. The debug mode is already turned on but there are no logs coming in about this error. The backoffice url containing uSync is already whitelisted and routed to the correct loadbalancer. The import call response contains a 504 error.
Is there a certain url that needs to be whitelisted in CloudFront in order to let the response of the import work?
The import steps all completed:
The empty error in Umbraco:
for uSync all the dashboard requests should go via.
and there in-fact a number of requests (one for each type) and they do appear to be working. if you look at the browser network traffic you should see something like:
And maybe that will point to something, the ImportHandler calls are each of the types being imported so i wonder if its in FinishProcess or ImportPost... ?
FinishProcess triggers the uSync events that other code can hook into , eg. ImportComplete ) so do you have any think hooked into uSync ?
uSync.History does use this event to then write the history of an import to disk. History files are written to the localtemp/usync/history - so maybe that isn't working ? - you could try disabling History in the settings - via the UI in the back office or adding <EnableHistory>False</EnableHistory> to the uSync8.config file.
ImportPost, is a tidy up call, on a normal uSync it actually doesn't much (there is a setep through and clean up any empty folders in datatypes or doctypes but that is about it).
Thanks for the options to look into! I've tried the options you mentioned.
In the uSync8.config was an option <RebuildCacheOnCompletion>True</RebuildCacheOnCompletion> that was triggering this issue. The setting was never updated after uSync updates so after a package upgrade or even after changing the option to False on the server the long loading and 504 error was gone.
Good news ! -
Yeah that setting was only ever an early Umbraco v8 (< 8.3) requirement due to some issues with caching in early Umbraco versions.
We should make sure the code doesn't try anything now (fairly sure lots of the code is checking, but obvs we missed a bit)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted