|
POST
|
Hi What I want: Have a Secure Service on ArcGIS Server and add it to Web app builder ultimately in a web service where that little prompt comes up. (Easy right?) This process has no issue if NOT SSL. 1. http://MACHINE:6080/arcgis/rest/services/TEST/TEST/MapServer 2. Create New Web Map 3. Web Map prompts user for credentials for the secure service 4. Save Web Map 5. Create Web App .. the prompt again appears when loading Now... I want SSL so... on IIS, I create a Redirect for all HTTP traffic to go HTTPS (443). 1. Server admin >> changed to HTTPS only 2. Change Portal to SSL 3. Create new Web Map 4 Web Map prompts user for credentials for the secure service - SO far this looks promising 5. Save Web Map 6. Create Web APP - and..... no layers... same thing happens both with ONLINE and Portal. How does one properly have Secure Map Services from ArcGIS Server show up in a web application HTTPS only?? I have tried going through the web adaptor... I have tried HTTP and HTTPS blend I have tried all kinds of things... I can only seem to get this to work with HTTP. Has no problem using ?jsapi from ArcGIS Server to push the prompt.. Why does Web APP BUILDER NOT SHOW THIS when using HTTPS? IT works as expected with HTTP...
... View more
07-25-2015
05:24 PM
|
0
|
17
|
11830
|
|
POST
|
Unfortunately... back to the same situation!! SSL - https - unable to add layers ... ERROR. I DO NOT GET THE PROMPT as I would when using HTTP. Simply receive an error 'cannot be added to the map'. Using HTTPS for portal, having https port 6443 on server... thoughts?
... View more
07-25-2015
03:23 PM
|
0
|
0
|
1379
|
|
POST
|
Ok, some progress. I managed to get it working without changing the apiUrl, what I believe is happening is that there is some disconnect when https was enabled somewhere in this IT structure.... I have everything HTTP and it now works with secure services. I did look in the env.js file and saw this: ...pathname,l={version:"3.13",_appBaseUrl:f.protocol+"//"+f.host+l.substr... so i guess I have version 3.13 on my local machine. I will now point to ESRI 3.14. I did notice also the apiUrl was pointing to HTTP, that may be the issue as well when using HTTPS .. so i have also made sure to use https://js.arcgis.com/3.14/init.js
... View more
07-24-2015
03:47 PM
|
0
|
1
|
1379
|
|
POST
|
Okay, thank you! I will give that a try but I have my doubts changing to JS3.14 will work considering it didn't work using Online, I suspect Online is already using 3.14 but will verify again. I had stated in an earlier post "What is Interesting is that I am not able to add a secure service to ArcGIS Online Web Map either", not until i opened up a separate tab in the browser and manually obtained a token from server. I still am thinking there is either a) something wrong with the setup I have b) there is a bug c) someone should tell me, 'if I want to use secure services and require Identity popup to appear that I have to ADD a bunch of code to the app'. have you validated what I am failing to get? Have you yourself tried to add a secure service and see the prompt as shown in earlier screen shots? I am not using Developer Edition yet, but after reading the documentation there, this is mentioned: Change URL of ArcGIS API for JavaScript—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
... View more
07-24-2015
08:12 AM
|
0
|
2
|
1379
|
|
POST
|
Hi, how does one 'switch' to using JavaScript API via Web App builder? or are you suggesting to write up a web application from scratch using JavaScript? Do you perhaps have the official NIMBUS (NIM) number for this bug OR a link ? I am unable to find BUG-000087135.
... View more
07-23-2015
07:43 AM
|
0
|
4
|
1379
|
|
POST
|
yes, that is correct.. Organizational setting was HTTPS only. So yea, that is why I could not add the service. I have definitely been up too long. lol. Yes I understand 6080 is not HTTPS supported... that 6443 is. All this ^^ is really not my main concern (only been up for 20 hrs doesnt help), my main issue was the prompt not showing up in WAB and the large post someone has yet to answer
... View more
07-22-2015
11:30 PM
|
0
|
6
|
1379
|
|
POST
|
this is very bizarre. I decided to step back and break it all down and just make it work... why cant I even add this to ArcGIS Online Web Map (below)? Add >> Add layer from Web >> http://xxxxxxxxx:6080/arcgis/rest/services/SampleWorldCities/MapServer wow, I must be too tired to see what Im missing...
... View more
07-22-2015
11:11 PM
|
0
|
9
|
1379
|
|
POST
|
Hi there! I do not think it is 'distrustful' certs due to the following: (but not 100% sure yet...) I can manually log into a 'distrusted' tab to arcgis server, obtain token, then the web application builder sees the secure services when accessing external. the cert is only a validation, you can still allow the browser to continue. I am not worried about that part or concerned. so, since the browser obtained the token from arcgis server, the WEB MAP in portal works as expected... allowing the Identity dialog to appear because of the secure mapping service. the Web APP does NOT! (note the difference, web MAP and web APP) This is all BEFORE even downloading the 'code' from portal of the web APP to add to IIS. This works: I CAN add ActiveDirectory users to the ArcGIS Server using 'windows authentication', then enable windows Auth in IIS, then rather than the pretty dialog, it uses the browser sign in popup... but IT really didnt like creating Users for the server itself, when it could be contained in ArcGIS Server alone (built-in). I am in the process of applying for a EV Cert (which is a pain I must say...) JavaScript API talks about this here: ags_secureservices.html | Guide | ArcGIS API for JavaScript 'To use the Identity Manager simply add the esri/IdentityManager module to your application.' Is this missing from web app builder? OR... am i just missing 'something' I cant be the only one adding secure services to a WAB application, extracting and adding to IIS. Note: I DO NOT want to use Portal OAuth to mitigate. The attachment is a WEB MAP, external, using 'distrustful'... and there it is! Exactly what I want and expect ... but never shows up in Web App Builder... web app builder has Empty Layer list and never challenges. Thus, the application put in IIS also has empty layer list. No proxy. What is Interesting is that I am not able to add a secure service to ArcGIS Online Web Map either, unless i obtain the token from ArcGIS Server in a separate tab (so the browser now has it... at which point I would get the prompt as seen above in Online Web Map but the credentials would fail. what does this mean? should I not have 6443 https enabled on server? Not through web adaptor 443? the mandate is to have https all around. Perhaps it IS the cert... Fiddler is not offering much for troubleshooting...
... View more
07-22-2015
10:24 PM
|
0
|
10
|
1684
|
|
POST
|
Update: Uninstall and Reinstall. Issue is no longer present.
... View more
07-22-2015
02:08 PM
|
0
|
0
|
939
|
|
POST
|
not sure why that would have anything to do with it but perhaps you can explain. I have come across the same issue where I'd grab a zip WAB built item, throw it in IIS, all works great when using the EXTERNAL https URL from within the server, the Identity window pops up when a Secure service is hit, fill in the credentials and on your way, exactly as expected. BUT when you hit IIS externally on a separate machine (https)... the map never prompts the user for credentials, it waits... then loads without the secure services. Organization SSL only is checked. I never found a fix. Suspect is REDIRECTS are required to maintain HTTPS throughout external transaction or a combination of various configurations / settings / proxy.
... View more
07-22-2015
02:02 PM
|
0
|
12
|
1684
|
|
POST
|
write the SOE in .net OR install the comTypes for python on each machine using python and then have access to same objects .net would.
... View more
07-20-2015
08:35 AM
|
0
|
0
|
727
|
|
POST
|
Hi, thank you for the response. I was able to get further, now on to the next hurdle... I sign in.. and the middle section disappears, but nothing happens. I can manually go to /organization.html, but then it reverts back to login saying I am not logged in. portal 10.3.1- fresh install - fails to log in
... View more
07-20-2015
07:37 AM
|
0
|
1
|
6817
|
|
POST
|
I should mention, this is on Server 2012R2. using IIS 8.5
... View more
07-18-2015
11:52 AM
|
0
|
1
|
939
|
|
POST
|
hello GIS community... problem is UNABLE TO SIGN In Testing this out... I have installed portal 10.3.1 Did the signup first account, no issues... Installed web adaptor adding binding port 443 to IIS 8.5 added the https://[MACHINENAME].local:7443 to the web adaptor verified through https://[machinename]:7443/arcgis/portaladmin/system/webadaptors that the adaptor is good. https://[machinename]/arcgis/home in I.E. 11 and NOTHING shows up in Chrome no problem (Version 43.0.2357.134 m). My problem is: Click on SIGN IN. https://[machinename]/arcgis/home/signin.html Use the credentials... UserName: TEST Password : password the sign in area disappears and NOTHING HAPPENS Nothing in fiddler.
... View more
07-18-2015
11:10 AM
|
0
|
2
|
4409
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-27-2024 09:04 AM | |
| 1 | 01-06-2016 11:32 AM | |
| 1 | 12-13-2021 10:03 PM | |
| 1 | 07-19-2017 07:31 AM | |
| 1 | 01-18-2016 07:23 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|