Comments (5)
@jhevenor Maybe to see if it is a timing related issue, can you see if it connects successfully on a second run?
Thanks,
Cameron K.
from arcgis-powershell-dsc.
Hi @cameronkroeker, a manual run goes smoothly
Output of execution:-
Configuring the ArcGIS Enterprise Web Adaptor with ArcGIS Server.
Configuring Web adaptor...
Instead of the Output of execution:- ERROR: Unable to connect to Web Adaptor URL
I received on the first run. Not 100% apples to apples, as this ran in a powershell admin window, verses being launched via cfn-init which I think runs as the SYSTEM user (windows server 2019).
from arcgis-powershell-dsc.
Just to follow up here, I'm running two VMs per site (call them A, B), and each VM has the web adaptor installed. I just want the context change from /arcgis to something custom as I run a generate site and separate image server on the same subdomain.
The two things I notice from the logs (ran fresh this morning). First, the two machine each just finish installing their self-signed certs:
12/18/2023 3:22:29 PM: [EC2AMAZ-A]: LCM: [ Start Resource ] [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242]
12/18/2023 3:22:29 PM: [EC2AMAZ-A]: LCM: [ Start Test ] [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242]
12/18/2023 3:22:29 PM: [EC2AMAZ-A]: LCM: [ End Test ] [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242] in 0.1660 seconds.
12/18/2023 3:22:29 PM: [EC2AMAZ-A]: LCM: [ Start Set ] [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242]
12/18/2023 3:22:29 PM: [EC2AMAZ-A]: [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242] Setting up SSL Binding with self signed certificate
12/18/2023 3:22:29 PM: [EC2AMAZ-A]: [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242] Creating Binding on Port 443 for https
12/18/2023 3:22:29 PM: [EC2AMAZ-A]: [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242] Finished Creating Binding on Port 443 for https
12/18/2023 3:22:29 PM: [EC2AMAZ-A]: [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242] Installing Self-Signed Certificate for DnsName 10.155.1.242
12/18/2023 3:22:29 PM: [EC2AMAZ-A]: [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242] Creating New-SelfSignedCertificate for DNS:- 10.155.1.242
12/18/2023 3:22:29 PM: [EC2AMAZ-A]: [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242] Creating using New-SelfSignedCertificate
12/18/2023 3:22:34 PM: [EC2AMAZ-B]: [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.241] Creating using New-SelfSignedCertificate
12/18/2023 3:22:34 PM: [EC2AMAZ-B]: [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.241] Finished Creating using New-SelfSignedCertificate
12/18/2023 3:22:34 PM: [EC2AMAZ-B]: [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.241] Installing Certificate with thumbprint 3AE58C9DA424398EAD2C41E9037E32D3F0D4F957 and subject CN=10.155.1.241 into IIS Binding for Port 443
12/18/2023 3:22:34 PM: [EC2AMAZ-B]: [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.241] Finished Installing Certificate
12/18/2023 3:22:34 PM: [EC2AMAZ-B]: LCM: [ End Set ] [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.241] in 2.5290 seconds.
12/18/2023 3:22:34 PM: [EC2AMAZ-B]: LCM: [ End Resource ] [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.241]
12/18/2023 3:22:34 PM: [EC2AMAZ-B]: LCM: [ Start Resource ] [[ArcGIS_WebAdaptor]ConfigureServerWebAdaptor10.155.1.241]
12/18/2023 3:22:34 PM: [EC2AMAZ-B]: LCM: [ Start Test ] [[ArcGIS_WebAdaptor]ConfigureServerWebAdaptor10.155.1.241]
12/18/2023 3:22:34 PM: [EC2AMAZ-B]: LCM: [ End Test ] [[ArcGIS_WebAdaptor]ConfigureServerWebAdaptor10.155.1.241] in 0.2490 seconds.
12/18/2023 3:22:34 PM: [EC2AMAZ-B]: LCM: [ Start Set ] [[ArcGIS_WebAdaptor]ConfigureServerWebAdaptor10.155.1.241]
12/18/2023 3:22:34 PM: [EC2AMAZ-B]: [[ArcGIS_WebAdaptor]ConfigureServerWebAdaptor10.155.1.241] https://10.155.1.241/maps-cartes/webadaptor
12/18/2023 3:22:34 PM: [EC2AMAZ-A]: [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242] Finished Creating using New-SelfSignedCertificate
12/18/2023 3:22:34 PM: [EC2AMAZ-A]: [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242] Installing Certificate with thumbprint C5DFD0072FF57247C7199BC03871843A2F30709B and subject CN=10.155.1.242 into IIS Binding for Port 443
12/18/2023 3:22:34 PM: [EC2AMAZ-A]: [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242] Finished Installing Certificate
12/18/2023 3:22:34 PM: [EC2AMAZ-A]: LCM: [ End Set ] [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242] in 2.5920 seconds.
12/18/2023 3:22:34 PM: [EC2AMAZ-A]: LCM: [ End Resource ] [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstall10.155.1.242]
12/18/2023 3:22:34 PM: [EC2AMAZ-A]: LCM: [ Start Resource ] [[ArcGIS_WebAdaptor]ConfigureServerWebAdaptor10.155.1.242]
12/18/2023 3:22:34 PM: [EC2AMAZ-A]: LCM: [ Start Test ] [[ArcGIS_WebAdaptor]ConfigureServerWebAdaptor10.155.1.242]
12/18/2023 3:22:34 PM: [EC2AMAZ-A]: LCM: [ End Test ] [[ArcGIS_WebAdaptor]ConfigureServerWebAdaptor10.155.1.242] in 0.1980 seconds.
12/18/2023 3:22:34 PM: [EC2AMAZ-A]: LCM: [ Start Set ] [[ArcGIS_WebAdaptor]ConfigureServerWebAdaptor10.155.1.242]
12/18/2023 3:22:34 PM: [EC2AMAZ-A]: [[ArcGIS_WebAdaptor]ConfigureServerWebAdaptor10.155.1.242] https://10.155.1.242/maps-cartes/webadaptor
12/18/2023 3:24:14 PM: [EC2AMAZ-B]: [[ArcGIS_WebAdaptor]ConfigureServerWebAdaptor10.155.1.241] Output of execution:- ERROR: Unable to connect to Web Adaptor URL : https://10.155.1.241/maps-cartes/webadaptor.
12/18/2023 3:24:14 PM: [EC2AMAZ-B]: LCM: [ End Set ] [[ArcGIS_WebAdaptor]ConfigureServerWebAdaptor10.155.1.241] in 103.3310 seconds.
12/18/2023 3:24:14 PM: [EC2AMAZ-B]: LCM: [ End Set ]
12/18/2023 3:24:14 PM: Operation 'Invoke CimMethod' complete.
Trace-DSCJob : 12/18/2023 3:24:14 PM: PowerShell DSC resource ArcGIS_WebAdaptor failed to execute Set-TargetResource
functionality with error message: [ERROR]:- ERROR: Unable to connect to Web Adaptor URL :
https://10.155.1.241/maps-cartes/webadaptor.
Second, if I remote in and load the URL in Edge I get warned and click through with the usual 'unsafe' warning. When I do, I am shown that the Web Adaptor page can only be loaded from the hosting machine?
This feels like the root cause here, but there must be a 1000 other deployments using 11.1 and 4.1.0 out there so not sure what's happening. Any thoughts on this @cameronkroeker ?
from arcgis-powershell-dsc.
@jhevenor is the 10.155.1.241 address an external ip or the private ip? This looks like its an AWS environment, so I suspect the 10.155.1.241 is the external EIP which may not work to configure the web adaptor. I believe you will need to use the private ip.
Thanks,
Cameron K.
from arcgis-powershell-dsc.
Hi @cameronkroeker , the 10.155 is an internal IP address. No public IPs are available on the VMs (accessed through app gateway). A note to add, when on VM A (10.155.1.242) I can load the WA link, get warned of cert, and still see the WA config pages as it's the local machine. Trying to load VM B (10.155.1.241) is where I get the message from the image above.
from arcgis-powershell-dsc.
Related Issues (20)
- Problem WebAdaptor Java with Version HOT 1
- Ability to Federate ArcGIS Server with the Administration URL set to the Public Services URL HOT 9
- 4.2.0: WebAdaptor not upgraded or not installed HOT 2
- 11.1 to 11.2 Upgrade: ArcGIS_License failed to execute Set-TargetResource SoftwareAuthorization.exe not found HOT 10
- Data Store 11.1 Upgrade - "The computer name was not specified and the configuration directory does not have any configuration files." HOT 2
- ArcGIS_xDisk.psm1 has DataDisk hardcoded as DiskNumber =2, but this is not present on VMs that do not have a temporary disk. HOT 2
- "Register an Enterprise Geodatabase with ArcGIS Server site" Links to devtopia.esri.com HOT 1
- Changelogs for versions so scripts can be more easily upgraded
- 4.2: GISServer-GeneralPurpose-MultipleWA-MultiContext.json Uses AllNodes.WebAdaptorConfig.ServerContext Instead of AllNodes.WebAdaptorConfig.Context
- DSC 4.2 - Enterprise 11.1 - AllNode property not getting completely processed when doing downloads. HOT 1
- Documentation: Portal Content directory must exist, it will not be created HOT 1
- Service account username/password is not changed if service is already set as automatic startup HOT 1
- Enterprise 11.1 - Error creating site when using Azure Storage accounts. HOT 8
- Enterprise 11.2 - Insights 2023.3 HOT 1
- Web Adaptor fails to install with exit code 1642 HOT 2
- Installing on AWS image with pre-installed server HOT 7
- WebAdaptor fails to install with error SendConfigurationApply function did not succeed HOT 6
- [ArcGISLicense] ArcGIS Pro Single licensing not working. HOT 1
- Multiple WA settings HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcgis-powershell-dsc.