So this happens every morning where when I serve the Angular app, the layers initially do not appear. And I see the error.
[esri.views.2d.layers.MapImageLayerView2D] o {name: 'mapimagelayer:image-fetch-error', details: {…}, message: 'Unable to load image: <service-url>/MapServer/export'}
After restarting the "ArcGIS Server" service in the Windows server and waiting some time, the layer appears and functions normally.
As @AndyGup suggested, I created a simple JS app with the same layers. Still, I am getting the same errors.
I also tried the service URL individually, I the service shows as follows.
Below I have provided some log and service configuration screens shot to give some insight.
Yesterday after restarting the "ArcGIS Server" service:
Midnight time log of server:
Today when the app requested the service:
Today after restarting the "ArcGIS Server" service
Service parameters are as follows:
How can I resolve this? @George_Thompson and @TanuHoque can you also look into this issue.
Abdur Rahman
GIS Developer