POST
|
Hi, I have a customer that uses nginx as a proxy server in DMZ, and acessing upstream IIS server in the internal network running webadaptor for ArcGIS Portal. When we use curl with following call: curl -k https://<ip>/agsportal it returns <html><head><title>Object moved</title></head><body> <h2>Object moved to <a href="https://community.esri.com/agsportal/home">here</a>.</h2> </body></html> adding -L curl -k -L https://<ip>/agsportal works, Then we are prompt for login So using the external URL (DNS) https://www.acme.com/agsportal end up with 502 Bad gateway. Is this because of the Object Moved to? Should location /agsportal/ { proxy_pass https://<ip>/agsportal/; proxy_set_header X-Forwarded-Host $host:$server_port; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } Should I add handling redirect from the webadaptor server? location /agsportal/ {
proxy_pass https://<ip>/agsportal/;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_intercept_errors on; error_page 301 302 307 = @handle_redirects; } location @handle_redirects { set $saved_redirect_location '$upstream_http_location'; proxy_pass $saved_redirect_location; }
... View more
11-06-2020
06:52 AM
|
0
|
0
|
3211
|
POST
|
Is there anybody out there that have been able to hook up or wire up event delegates on the VersionManager Dialog in ArcMap? The only sample I have found is this, but SetupVersionmanagerEvets reqiures an instance of IVersionManager, and that's logical. The question is how to get this instance when user clicks that button in the GUI? class EventList { public IVersionManagerEvents_OnVersionCreatedEventHandler dOnVersionCreatedE; public void SetupVersionManagerEvents(IVersionManager versionManager) { IVersionManagerEvents_Event versionManagerEvent = (IVersionManagerEvents_Event)versionManager; //Wire OnReconcile event. dOnVersionCreatedE = new IVersionManagerEvents_OnVersionCreatedEventHandler (versionManagerEvents_OnVersionCreated); versionManagerEvent.OnVersionCreated += dOnVersionCreatedE; } //Event handler method. private void versionManagerEvents_OnVersionCreated(IVersion version) { string versionName = version.VersionName; MessageBox.Show("Created " + versionName); } }
... View more
12-09-2019
05:55 AM
|
0
|
0
|
280
|
POST
|
We have created a WebAppBuilder app deployed on a Linux server. At our site we have ArcGIS Portal and ArcGIS Enterprise. Every service is open, and running the web app works fine. We have added the Enterprise's IDP using SAML2 to ArcGIS Portal and turn off Portal Authentication. Users has to login clicking the Sign in to Organization button, but when this is done, the user is automatically signed in next time accessing the Portal home site. All servers is running on Linux I have configured the webappbuilder to use Web-tier authentication, setting the isWebTier to true an so on in the config.json file as described in the documentation: https://developers.arcgis.com/web-appbuilder/guide/work-with-web-tier-anthentication.htm But when the application starts, I'm prompt to login with built in Portal user and not the organization's identity provider (ADFS). So how do I configure the app to use Enterprise Login?
... View more
06-18-2019
04:17 AM
|
1
|
2
|
1721
|
POST
|
Hi, I have looked into generator-esri-appbuilder-js and this works great for custom widgets and themes. With the grunt file I would be able to keep my development environment up to date. But there is one approach I can't see being solved by this practice. Here is my scenario: We work in a team of developers, we use WebAppBuilder developer Edition. Each developer has their own local node.js server running the WebAppBuilder application. Now, lets say we have set up a webapp with a a lot of out of the box widgets, and added our own widgets. This is done by one developer, how will we be able to reflect these changes and configuration in the webappbuilder application for the co-workers on the project when the grunt file only synchronize custom widgets. How do we keep the actual application configuration in source control? We've tried to great an app folder outside the WebAppBuilder, but how do we reflect the changes to the app, back to the Server/2 application? Do any one have any good pattern for handling this?
... View more
03-05-2019
05:47 AM
|
0
|
1
|
685
|
POST
|
Yes we have tried this, but meanwhile we have seen that we forgot to run the updatelicense command. After doing so and now got a bit further, but there is a problem with primary/standby issue here. ERROR 001886: Failed to create scene service. ERROR: code 500. This operation must be performed on the primary data store machine. Not allowed on the standby machine. Generic Server Error. Internal server error. Failed to execute (Publish Portal Service). Oddly everything seems correct set up, but the tilecache datastore and the spatial datastore has different primary machines. It fails when we try to set the same server as primary for both of them, but that fails as well. May be because of the operation may have been interrupted. After a changing allowed inbound ip to communicate with the two Datastore serveres, missing the ip of each of the datastore servers was the reason for the problem with setting primary/standby of the datastore. So main reason, missing update of license and then the security tightening that was done, had forgot to allow internal communication between the two datastore servers on the datastore port.
... View more
01-07-2019
06:57 AM
|
2
|
0
|
4435
|
POST
|
When we try to publish a 3D scene with ArcGIS Portal 10.6, we are getting the following error: ERROR 001887: Failed to create couchdb database: Failed to execute (Publish Portal Sevice). We are using SSL and have tried all of the suggested approaches to handle SSL between ArcGIS Server Host machine and DataStore machine. 1. Adding requesting URLs to trusted sites - not working 2. Enabling SSLv3 - not working 3. Also made sure that writing request also uses SSL. - not working Turning of SSL is not an option. Upgrading to 10.6.1 is not an option at this point. Is there any one else struggling with this out there?
... View more
01-07-2019
03:19 AM
|
0
|
2
|
6356
|
POST
|
Yes, I'm aware of that, was just trying to point out that I was not running the application within VS. Bjørnar Sundsbø pointed out an interesting theory that I can relate to in an answer to a thread I started: ArcGIS Runtime 100.4 draws basemap really slow when zooming with the mouse wheel It seems that the animation slow down the drawing process, and that the cancellation do not occur, but I'm not certain about the non cancellation of the requests.
... View more
12-11-2018
11:28 PM
|
0
|
0
|
1719
|
POST
|
Hi Bryan, Did a test. Same behavior when running as a released EXE file. Slow.
... View more
12-11-2018
06:52 AM
|
0
|
0
|
1223
|
POST
|
I still get slow performance even if I run a Released exe file. It is really slow. Running Runtime 100.4
... View more
12-11-2018
06:42 AM
|
0
|
2
|
1719
|
POST
|
I've created an application for in Visual Studio 2017.Net WPF and with ArcGIS Runtime 100.4 just using the standard application when you create a new project. I thought the usage of tiled cache should be fast, but using ArcGIS Runtime .Net 100.4. When I zoom in and out with the mouse wheel it some times take about 4-20 seconds before all the tiles for the extent is loaded. 20 seconds! is really slow. In the Javascript API it is no wait time near this at all. I have 8 GB Mem. 4 core cpu, NVIDIA Quadro K2100M GPU. Anyone experience this? It seems to be loading a lot of tiles. As it sends request for every step I reach during the wheel zoom operation. Shouldn't there be an cancellation of previous requests that doesn't count any more since the extent has changed? There is also the animation on between the zoom levels that slow the zooming process down as well. It should be able to urn this off or at least adjust the time of the animation. See attached video!
... View more
12-07-2018
05:18 AM
|
1
|
4
|
1648
|
POST
|
Hi, Jonathan Thanks for your answer. We're on th 10.6 version and we are just in the production deployments so we won't be able to upgrade at this moment. For now we will stick to snapshot and file server backup.
... View more
10-19-2018
08:23 AM
|
0
|
1
|
1064
|
POST
|
I believe the bug isn't the same we experience here with HA deployment. We have the exactly same problem as Szymon describes it.
... View more
10-18-2018
04:43 AM
|
0
|
0
|
2342
|
POST
|
Hi, We have the exact same problem. Our setup is ArcGIS Enterprise 10.6 High Availability Deployment (2 Portal, 2 ArcGIS Host, 2 ArcGIS Server, 2 Geoevent, 2 Datastore and SQL Servere as RDBMS for ArcGIS GeoDatabase). All setup with load balancer for the federated servers Configurations and other common files is stored on a High Available NAS. This is really critical for us that this will work, so my question is: Will snapshots of the servers be a good workaround for not using WebGISDR since all configurations is on High Available NAS?
... View more
10-18-2018
12:17 AM
|
0
|
3
|
2342
|
POST
|
Aha! That could off course be the reason. How do you reset the workspace, just get det workspace from Search for the EditorExt by ID and get the workspace again? I'll will try that out! I've now tried this out. I wire up the MapEvents.VersionChanged event on the Document OpenDocument, and in the VersionChanged delegate I get the current workspace from the new version: _wsEdit = (IWorkspace)newVersion; I've tested out this a couple of times now, and I can't seem to reproduce the error. I will rebuild the Add-in and let my customer test it as well. As you wrote Jeff, I also unwire the VersionChanged event in the CloseDocument Event, and the OpenDocument, CloseDocument is wired up in startup of the EditorExtension. Thanks a lot for the answer. I thought that the active edit workspace was obtained by the editorExtension Editor object, but the IVersion points to the Geodatabase edit workspace. I think that is the reason for the unstable behaivour, that the ArcMap.Editor.WorkspaceEdit was lost when version is changed. So following the principle that you pointed out so well Jeff, gives me better control.
... View more
09-19-2018
12:48 AM
|
1
|
0
|
3290
|
POST
|
Hi Jeff, Thank you for your answer. I do the following wire and unwire in the OnStartEditing on OnStopEditng. That should be with in the scope of editing, but do you think that I should wire up the IVersionEvents_OnBeginReconcileEvent in the OnStartEditOperation? I think that at that point the OnBeginReconcileEvent has already fired, because that is an edit operation. So I can't understand where else to wire up an unwire the event other that OnStartEditing an OnStopEditing. But if I start edit operations with code within this editing process, may that disturb the scope? If that is the case, then I can't understand that there is possible to interact with the reconcile process.
... View more
09-18-2018
12:40 AM
|
0
|
2
|
3290
|
Title | Kudos | Posted |
---|---|---|
2 | 01-07-2019 06:57 AM | |
1 | 06-18-2019 04:17 AM | |
1 | 12-07-2018 05:18 AM | |
1 | 09-19-2018 12:48 AM |
Online Status |
Offline
|
Date Last Visited |
01-16-2024
12:41 PM
|