Confluence import, step 4, Exception thrown during job execution

Hi,

just trying to import an xml export from a Confluence space and I never get past step 4. The only error that is displayed is “Exception thrown during job execution”

However, if I take a look in the log files I can see the following:

[http-nio-8080-exec-1 - http://SERVER/xwiki/bin/edit/Confluence/Migrator/Profiles/9599808/WebHome?template=Confluence.Tools.MigrationProfileTemplate] WARN o.x.c.i.DefaultCSRFToken - CSRFToken: Secret token verification failed, token: “null”, stored token: “SOME_TOKEN”
[http-nio-8080-exec-10 - http://SERVER/xwiki/bin/download/FlamingoThemes/Lumen/filename?width=120] WARN c.x.x.p.XWikiPluginManager - downloadAttachment failed for plugin [image]: Cannot invoke “com.xpn.xwiki.doc.XWikiAttachment.getMimeType(com.xpn.xwiki.XWikiContext)” because “attachment” is null
[http-nio-8080-exec-10 - http://SERVER/xwiki/bin/download/FlamingoThemes/Lumen/filename?width=120] WARN c.x.x.p.XWikiPluginManager - downloadAttachment failed for plugin [zipexplorer]: Cannot invoke “com.xpn.xwiki.doc.XWikiAttachment.getReference()” because “attachment” is null

The first thing I notice is that the urls in the log start with “http” but the instance is running behind an nginx reverse proxy using “https”
Is there some setting I have to change to avoid this or is this error unrelated?

XWiki : 14.10.15
Confluence: 8.5.0

Kind regards,