WARN LOGS: mIMPORT Base URL is unknown / mIMPORT Unable to construct URL for fileName generated
Asked by Petri Panula:

Hi,

### Confluence 6.10.0 {#toc-hId-1628249385}

Confluence in generating quite much following warning logs:

2018-09-17 16:42:13,895 WARN \[NotificationSender:thread-2\] \[web.csskit.antlr.CSSLexer\] mIMPORT Base URL is unknown  
-- url: /wiki/pages/doattachfile.action \| page: 14748922 \| traceId: f01ab59d5441b0d6 \| userName: xxxxxxxx \| referer: [https://xxx.xxx.xx/wiki/pages/viewpageattachments.action?pageId=14748922\&sortBy=date\&highlight=UX-grfdesaw.docx\&](https://xxx.xxx.xx/wiki/pages/viewpageattachments.action?pageId=14748922&sortBy=date&highlight=UX-kokousten+muistiinpanot.docx&) \| action: doattachfile  
2018-09-17 16:42:13,693 WARN \[NotificationSender:thread-2\] \[web.csskit.antlr.CSSLexer\] mIMPORT Unable to construct URL for fileName  
-- url: /wiki/pages/doattachfile.action \| page: 14748922 \| traceId: f01ab59d5441b0d6 \| userName: xxxxxxxx \| referer: [https://xxx.xxx.xx/wiki/pages/viewpageattachments.action?pageId=14748922\&sortBy=date\&highlight=UX-](https://xxx.xxx.xx/wiki/pages/viewpageattachments.action?pageId=14748922&sortBy=date&highlight=UX-kokousten+muistiinpanot.docx&)[grfdesaw](https://xxx.xxx.xx/wiki/pages/viewpageattachments.action?pageId=14748922&sortBy=date&highlight=UX-kokousten+muistiinpanot.docx&)[.docx\&](https://xxx.xxx.xx/wiki/pages/viewpageattachments.action?pageId=14748922&sortBy=date&highlight=UX-kokousten+muistiinpanot.docx&) \| action: doattachfile  
2018-09-17 16:42:13,693 WARN \[NotificationSender:thread-2\] \[web.csskit.antlr.CSSLexer\] mIMPORT Base URL is unknown  
2018-09-17 16:40:01,309 WARN \[NotificationSender:thread-3\] \[web.csskit.antlr.CSSLexer\] mIMPORT Unable to construct URL for fileName  
2018-09-17 16:40:01,309 WARN \[NotificationSender:thread-3\] \[web.csskit.antlr.CSSLexer\] mIMPORT Base URL is unknown  
2018-09-17 16:40:01,141 WARN \[NotificationSender:thread-3\] \[web.csskit.antlr.CSSLexer\] mIMPORT Unable to construct URL for fileName  
2018-09-17 16:40:01,140 WARN \[NotificationSender:thread-3\] \[web.csskit.antlr.CSSLexer\] mIMPORT Base URL is unknown  
2018-09-17 16:40:00,966 WARN \[NotificationSender:thread-3\] \[web.csskit.antlr.CSSLexer\] mIMPORT Unable to construct URL for fileName

Any idea what's wrong or how can I disable those?


Answers:
author: Manuel B?hnisch
body: I'm also experiencing this error after upgrading Confluence from 6.4.2 to 6.8.2.

The warning messages are even thrown at midnight, where definatly no user is online. But it also occurs during working hours. I haven't found a method to reproduce it yet. I suspect that there is some background thread up and running causing this error. We configured SSL but no proxy and the instance health check is flawless. Especially the configured base URL never threw any errors.

comments: author: Nabil Sayegh
body: same here with 6.8.1


author: Koen Gillard
body: Same with 6.10.2


author: M Hoogenboom
body: Same for me with 6.10.2 Server. Maybe we should submit an issue to Atlassian Support. Anyone already did this?


author: M Hoogenboom
body: <https://jira.atlassian.com/browse/CONFSERVER-56487>


author: IT Team
body: We are also experiencing this error spam, and it manifests itself to end-users as not completing XHR requests. If a user deletes a comment, it doesn't fade away - they have to refresh the page to make it actually disappear. If they click 'delete' again after having pressed it the first time, it generates a transaction rollback error in the logs (because the comment doesn't exist anymore, but the UI still shows it to the end user).  

We're using Datacenter clustered on 6.9.1 behind an AWS ELB. We've gone over our settings repeatedly following the guides, have proxyName and proxyPort configured properly in server.xml, etc.  

We're stumped as to what is causing the error.


author: Gregory Van Den Ham
body: Things to look at: Are you using a proxy and is the proxy passing the same url as you have set in confluence?

Do you have any issues identified under confluence administration, troubleshooting and support tools - instance health?

What's configured in server.xml, confluence.conf? Do they match the url of the site?

Would I turn off these warnings? No.

comments: author: Petri Panula
body: No help with these


Tags: confluence-server

server