Skip to main content

Hi All, 

Just wondering if anyone might be able to spot something I am trying to troubleshoot. I have tried all things I could track down forum-wise. I am stuck connecting to ArcGIS Portal 10.61. I used to be able to but after an upgrade to Pro 3.0 (not necessarily the case but happened around the same time) I have not been able to connect. I can connect to ArcGIS Portal 10.91 fine. This is using the Reader and the Hub Portal reader/transformers. I get the following when attempting a connect via get token or via web service. I downgraded to Pro 2.9 just in case but no luck. Running latest pre-2023 version of Form. Any pointers would be greatly appreciated. Thanks All!

c.

Connection attempt using get token
 
Using Python interpreter from `C:\Program Files\FME\fmepython310\python310.dll' with PYTHONHOME `C:\Program Files\FME\fmepython310'
Python version 3.10 loaded successfully
ArcGIS Portal Feature Service Reader: Logging into 'https://arcgis02.trca.local/portal/' as user 'gisportal'
Python Exception <ConnectionError>: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
 
Connection attempt using webservice
 
2023-07-05 07:19:54|      |     |INFORM|ArcGIS Portal Feature Service Reader: Requesting portal information
2023-07-05 07:19:54|      |     |WARN  |DEBUG: urllib3.connectionpool Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))': /portal/sharing/rest/portals/self?f=json&token=zEFa0zdn8hiIC7WcmPcCHMoFKIJGqlj9TgBGkMauQfdqJHTsZJpjPQQUpEyyh-e4MbeE5FvAp1lbyb428RkGJffH3xM3LBlgDXzKs9Ur1UFFvdWo-cGIYgINAX3x336YsRuKI-nEh0k9iyPCejkp2sMIm9pK-JdIgtIqHwNYSXmwuyKJpWIZz6ehepW7fmXeLn7XaAj2l3Rdfbf8UDN2BfHGiLnAF6oCiJB4bdxiMjLmC_cDhBZ7ZevBcxJEWvDI
2023-07-05 07:19:54|      |     |WARN  |DEBUG: urllib3.connectionpool Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))': /portal/sharing/rest/portals/self?f=json&token=zEFa0zdn8hiIC7WcmPcCHMoFKIJGqlj9TgBGkMauQfdqJHTsZJpjPQQUpEyyh-e4MbeE5FvAp1lbyb428RkGJffH3xM3LBlgDXzKs9Ur1UFFvdWo-cGIYgINAX3x336YsRuKI-nEh0k9iyPCejkp2sMIm9pK-JdIgtIqHwNYSXmwuyKJpWIZz6ehepW7fmXeLn7XaAj2l3Rdfbf8UDN2BfHGiLnAF6oCiJB4bdxiMjLmC_cDhBZ7ZevBcxJEWvDI
2023-07-05 07:19:54|      |     |WARN  |DEBUG: urllib3.connectionpool Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))': /portal/sharing/rest/portals/self?f=json&token=zEFa0zdn8hiIC7WcmPcCHMoFKIJGqlj9TgBGkMauQfdqJHTsZJpjPQQUpEyyh-e4MbeE5FvAp1lbyb428RkGJffH3xM3LBlgDXzKs9Ur1UFFvdWo-cGIYgINAX3x336YsRuKI-nEh0k9iyPCejkp2sMIm9pK-JdIgtIqHwNYSXmwuyKJpWIZz6ehepW7fmXeLn7XaAj2l3Rdfbf8UDN2BfHGiLnAF6oCiJB4bdxiMjLmC_cDhBZ7ZevBcxJEWvDI
2023-07-05 07:19:54|      |     |ERROR |ArcGIS Portal Feature Service Reader: Could not connect to server. Check that you are connected to the internet and that no firewall is blocking outbound connections. The error was 'HTTPSConnectionPool(host='arcgis02.trca.local', port=443): Max retries exceeded with url: /portal/sharing/rest/portals/self?f=json&token=zEFa0zdn8hiIC7WcmPcCHMoFKIJGqlj9TgBGkMauQfdqJHTsZJpjPQQUpEyyh-e4MbeE5FvAp1lbyb428RkGJffH3xM3LBlgDXzKs9Ur1UFFvdWo-cGIYgINAX3x336YsRuKI-nEh0k9iyPCejkp2sMIm9pK-JdIgtIqHwNYSXmwuyKJpWIZz6ehepW7fmXeLn7XaAj2l3Rdfbf8UDN2BfHGiLnAF6oCiJB4bdxiMjLmC_cDhBZ7ZevBcxJEWvDI (Caused by ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)))'

 

And to follow-up. A colleague of mine working in the same environment but using python in ide had an issue with authentication. Similar thing. All of a sudden the following code snippet stopped working when authenticating for Portal: account1 = Account('username', 'password')

 

But this now works: account1 = Account('{}'.format(user_name), '{}'.format(pswd))

 


Reply