Publishing New Map Service issues

4148
7
06-16-2015 02:29 AM
ThomasIllingworth
New Contributor III

We have been trying to publish some new map services on ArcGIS for server 10.2 through using arc map basic. Previously we have had no problems publishing services however recently. We have been getting the following error:

kh.png

In the server logs at the time it shows the following error messages:

SEVERE16 Jun 2015 07:44:19Error executing tool.: ERROR 001359: Failed to connect to the server. Failed to execute (Publish Service Definition).System/PublishingTools.GPServer
SEVERE16 Jun 2015 07:44:19Failed to connect to the server.: ERROR: unable to establish connection to the server.System/PublishingTools.GPServer
SEVERE16 Jun 2015 07:44:19Error while using HTTPS security, URL = https://machinename:6443/arcgis/services, HTTP Status code = 0 and Status Text =  (WinInet error code = 12170)System/PublishingTools.GPServer
SEVERE16 Jun 2015 07:44:19Error while using HTTPS security, URL = https://machinename:6443/arcgis/services, HTTP Status code = 0 and Status Text =  (WinInet error code = 12170)System/PublishingTools.GPServer
SEVERE16 Jun 2015 07:43:22Error while using HTTPS security, URL = https://machinename:6443/arcgis/services, HTTP Status code = 0 and Status Text =  (WinInet error code = 12170)System/PublishingTools.GPServer
SEVERE16 Jun 2015 07:43:22Error while using HTTPS security, URL = https://machinename:6443/arcgis/services, HTTP Status code = 0 and Status Text =  (WinInet error code = 12170)System/PublishingTools.GPServer

From what I can tell the ssl certificate is okay

Could any suggest any potential reasons as to why this may be happening?

Thanks

Tom

0 Kudos
7 Replies
JayantaPoddar
MVP Esteemed Contributor

Hi Thomas,

Have you been able to connect to the ArcGIS Server successfully from ArcCatalog, as a publisher or administrator .



Think Location
0 Kudos
ThomasIllingworth
New Contributor III

Hi Jayanta

There has been no problem connecting to the ArcGIS server through Arc Catalog both as the publisher or the administrator.

0 Kudos
RebeccaStrauch__GISP
MVP Emeritus

​check to make sure the password hasn't expired or changed for the account running the actual service, and/or for the account being used to provide security permissions for users.  That is, is you are using active directory and have to change passwords ever 60-90 days, make sure to update the account password that is used to connect to the network active directory (in ArcGIS Server manager).

if possible, it helps to use a service account with a really complicated password (to make the IT folks happy) that never expires....or at least has a long password shelf life.

Also, never hurts to reboot of course as a first try....sometimes that fixes things that just start happening for no other known reason.

JayantaPoddar
MVP Esteemed Contributor

Hi Thomas,

Try this:

Save the MXD through File > Save As. Publish it. Does the issue still persist?



Think Location
0 Kudos
ThomasIllingworth
New Contributor III

Hi Jayanta

Currently the publishing service is not working as I stopped it and planned to start it again afterwards. However the service will not start again at present.

I will try your suggestion once the publishing service issue has been resolved

Thanks

Tom.

AnthonyKobah
Occasional Contributor

Hi Thomas,

Did you by any chance delete the default cluster?

What account is running the ArcGIS Server?

Consider running the "Configure arcgis server account" to fix any permissions issues.

Bump up the Server logs to verbose, try to restart the publishing service (same approach can be used for publishing), check the logs for clues (Paste here if possible). Change log setting back to warning.

0 Kudos
DanielUrbach
Occasional Contributor II

Tom,

The 001359 error generally means the service account running the ArcGIS Server service cannot make the request to a server URL, either due to a domain user policy, or in this case it appears to be the result of a revoked SSL certificate.  A new signed certificate should clear this up.