Thanks Kunwar
sorry you are right there are the config options available for us at http://dev-author.westeurope.cloudapp.azure.com:4502/system/console/configMgr/org.apache.sling.scripting.java.impl.JavaS… (I think i mistakenly did a text search for Javascript expecting it to be in the title) but they are the same as my local environment.
Here are some log snippets where the offending request and path appear:
Log file /opt/aem-author/crx-quickstart/logs/error.log --------------------------------------------------
15.05.2018 13:11:54.567 *INFO* [81.128.191.42 [1526389914529] GET /mnt/overlay/myapp/components/widget/content/pathfield/picker.html%7Bvalue%7D HTTP/1.1] com.adobe.acs.commons.errorpagehandler.cache.impl.ErrorPageCacheImpl Starting ACS AEM Commons Error Page Handler Cache
15.05.2018 13:11:54.567 *INFO* [81.128.191.42 [1526389914529] GET /mnt/overlay/myapp/components/widget/content/pathfield/picker.html%7Bvalue%7D HTTP/1.1] com.adobe.acs.commons.errorpagehandler.cache.impl.ErrorPageCacheImpl > TTL (in seconds): 300
15.05.2018 13:11:54.567 *INFO* [81.128.191.42 [1526389914529] GET /mnt/overlay/myapp/components/widget/content/pathfield/picker.html%7Bvalue%7D HTTP/1.1] com.adobe.acs.commons.errorpagehandler.cache.impl.ErrorPageCacheImpl > Serve authenticated requests from cache: true
15.05.2018 13:11:54.569 *INFO* [81.128.191.42 [1526389914529] GET /mnt/overlay/myapp/components/widget/content/pathfield/picker.html%7Bvalue%7D HTTP/1.1] com.adobe.acs.acs-aem-commons-bundle Service [8371, [javax.management.DynamicMBean]] ServiceEvent REGISTERED
...
15.05.2018 14:31:38.479 *INFO* [81.128.191.42 [1526394698477] GET /etc/designs/myapp/app.js.map HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /etc/designs/myapp/app.js.map not found
15.05.2018 14:31:38.794 *INFO* [81.128.191.42 [1526394698620] GET /libs/wcm/core/content/components.1526391008401.json HTTP/1.1] com.day.cq.wcm.core.impl.components.ComponentServlet provided components.
15.05.2018 14:31:39.190 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.190 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.191 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.191 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.192 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.192 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.192 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.193 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.193 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.193 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.194 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.194 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.194 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.195 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.201 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.201 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.202 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.202 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.202 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.203 *WARN* [81.128.191.42 [1526394699172] GET /bin/wcm/contentfinder/asset/view.html HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.
15.05.2018 14:31:39.784 *WARN* [81.128.191.42 [1526394699781] GET /editor.html/content/myapp/undefined.2.json HTTP/1.1] com.adobe.cq.xf.impl.servlet.rendercondition.EditorRenderCondition Page at path /content/myapp/undefined.2.json doesn't have a jcr:content node
15.05.2018 14:32:05.281 *INFO* [sling-default-121-com.day.cq.replication.impl.ReverseReplicator.6143] com.day.cq.replication.Agent.publish_reverse Sending GET request to http://13.94.155.0:4503/bin/receive?sling:authRequestLogin=1
15.05.2018 14:32:05.288 *INFO* [sling-default-121-com.day.cq.replication.impl.ReverseReplicator.6143] com.day.cq.replication.Agent.publish_reverse sent. Response: 200 OK
15.05.2018 14:32:05.288 *INFO* [sling-default-121-com.day.cq.replication.impl.ReverseReplicator.6143] com.day.cq.replication.Agent.publish_reverse ------------------------------------------------
15.05.2018 14:32:05.288 *INFO* [sling-default-121-com.day.cq.replication.impl.ReverseReplicator.6143] com.day.cq.replication.Agent.publish_reverse Sending message to 13.94.155.0:4503
15.05.2018 14:32:05.288 *INFO* [sling-default-121-com.day.cq.replication.impl.ReverseReplicator.6143] com.day.cq.replication.Agent.publish_reverse >> GET /bin/receive?sling:authRequestLogin=1 HTTP/1.0
15.05.2018 14:32:05.288 *INFO* [sling-default-121-com.day.cq.replication.impl.ReverseReplicator.6143] com.day.cq.replication.Agent.publish_reverse >> Action: Internal Poll
15.05.2018 14:32:05.288 *INFO* [sling-default-121-com.day.cq.replication.impl.ReverseReplicator.6143] com.day.cq.replication.Agent.publish_reverse >> Path:
15.05.2018 14:32:05.288 *INFO* [sling-default-121-com.day.cq.replication.impl.ReverseReplicator.6143] com.day.cq.replication.Agent.publish_reverse >> Handle:
15.05.2018 14:32:05.288 *INFO* [sling-default-121-com.day.cq.replication.impl.ReverseReplicator.6143] com.day.cq.replication.Agent.publish_reverse --
15.05.2018 14:32:05.288 *INFO* [sling-default-121-com.day.cq.replication.impl.ReverseReplicator.6143] com.day.cq.replication.Agent.publish_reverse << HTTP/1.1 200 OK
15.05.2018 14:32:05.288 *INFO* [sling-default-121-com.day.cq.replication.impl.ReverseReplicator.6143] com.day.cq.replication.Agent.publish_reverse << Date: Tue, 15 May 2018 14:32:05 GMT
...
Around the time the problem is seen the error.log only seems to show INFO and WARN entries similar to the above.
But interestingly the request.log does return status 200 for some of the request parts (???)
Log file /opt/aem-author/crx-quickstart/logs/request.log --------------------------------------------------
15/May/2018:11:15:43 +0000 [2797] -> GET /mnt/overlay/myapp/components/widget/content/pathfield/picker.html%7Bvalue%7D?_charset_=utf-8&root=%2f&filter=image&selectionCount=single&_=1526382925353 HTTP/1.1
15/May/2018:11:15:43 +0000 [2797] <- 404 text/html 11ms
15/May/2018:11:16:13 +0000 [2798] -> GET /mnt/overlay/granite/ui/content/shell/header/actions/pulse.data.json?_=1526382914475 HTTP/1.1
15/May/2018:11:16:13 +0000 [2798] <- 200 application/json 13ms
15/May/2018:11:21:33 +0000 [2799] -> GET /mnt/overlay/myapp/components/widget/content/pathfield/picker.html HTTP/1.1
15/May/2018:11:21:33 +0000 [2799] <- 200 text/html 221ms
15/May/2018:11:21:33 +0000 [2801] -> GET /etc.clientlibs/myapp/components/widget/pathfield/clientlibs.js HTTP/1.1
15/May/2018:11:21:33 +0000 [2800] -> GET /etc.clientlibs/myapp/components/widget/pathfield/clientlibs.css HTTP/1.1
15/May/2018:11:21:33 +0000 [2800] <- 200 text/css 43ms
15/May/2018:11:21:33 +0000 [2801] <- 200 application/javascript 63ms
15/May/2018:11:21:33 +0000 [2802] -> GET /libs/granite/csrf/token.json HTTP/1.1
15/May/2018:11:21:33 +0000 [2802] <- 200 application/json 1ms
15/May/2018:11:22:38 +0000 [2803] -> GET /mnt/overlay/myapp/components/widget/content/pathfield/picker.html%7Bvalue%7D?_charset_=utf-8&root=%2f&filter=image&selectionCount=single&_=1526382925353 HTTP/1.1
15/May/2018:11:22:38 +0000 [2803] <- 404 text/html 52ms
15/May/2018:11:24:01 +0000 [2804] -> GET /libs/cq/i18n/dict.en.json HTTP/1.1
15/May/2018:11:24:01 +0000 [2804] <- 304 - 1ms
15/May/2018:11:24:01 +0000 [2805] -> GET /libs/granite/csrf/token.json HTTP/1.1
15/May/2018:11:24:01 +0000 [2805] <- 200 application/json 2ms
15/May/2018:11:25:11 +0000 [2806] -> GET /mnt/overlay/myapp/components/widget/content/pathfield/picker.html%7Bvalue%7D?_charset_=utf-8&root=%2f&filter=image&selectionCount=single&_=1526382925354 HTTP/1.1
15/May/2018:11:25:11 +0000 [2807] -> GET /editor.html/content/myapp/homepage.html HTTP/1.1
15/May/2018:11:25:11 +0000 [2806] <- 404 text/html 15ms