I am facing the same issue. It was working just fine before our SSL certificate expired. I then reconfigured the security to use both HTTP and HTTPS protocols. The service has been unable to execute since. Its says
"Error executing tool. Export Web Map Task : Failed to create layer from service at https://<domain>:6443/arcgis/rest/services/<folder>/<service_name>/MapServer/0.
Failed to execute (Export Web Map).
Failed to execute (Export Web Map Task)."
By turning off the layers, I can execute the service, and the layers added to the map or view are coming in the generated map. My server version is also 10.6.1.
Before the SSL certificate expired, we published a service using ArcMap and provided the server connection URL as HTTPS with port 6443. Do we need to republish the service again with an HTTP connection?
Can @TanuHoque, @JonathanQuinn, and @jcarlson provide some guidelines on how to resolve this issue?
Abdur Rahman
GIS Developer