Issues using 3.1

5214
30
12-17-2012 11:33 AM
KennethLyons
Emerging Contributor
I have recently downloaded v3.1 to test out.  I've attempted to use the compiled and uncompiled versions and both have given me similar results.  I'm not sure if there is something different that I need to do in this version, but previously it was more or less plug and play. 

I've attached a copy of the error I'm recieving. 

If anyone can help I'd appreciate it.

Thanks
Tags (2)
0 Kudos
30 Replies
DasaPaddock
Esri Regular Contributor
Can you try to load this URL and let us know more about the certificate error you're getting? Is this expected on your network?

https://www.arcgis.com/home/signin.html
0 Kudos
HeatherGonzago
Esri Contributor
Ah, I see now the issue. What appears to be happening is that the PortalURL is not getting set is always defaulting back to https://www.arcgis.com. This is definitely a bug and has been logged to be fixed. The initial requests made to the arcgis.com portal are in https, regardless of what you set it to. The subsequent requests to the services inside the portal are then made in http.

Also, if possible, could you please respond to Dasa's request as well regarding the certificate issue you were seeing?

Thanks for your patience, we will get this addressed ASAP.
0 Kudos
KennethLyons
Emerging Contributor
Dasa,

I'm sorry, I'm not completely understanding what you are asking me to do?  are you just asking me to log into the site you provided, or do you want me to try to load it in my viewer?

If you just need me to load it in a browser, I have no issues getting to that site, not even a certificate error.

As far as being expected, I'm really not sure.  since I'm on a government network, the policies are contstantly changing, and it's very possible that with the change from http to https that the permissions no longer match up.

Thank you for your help with this.
0 Kudos
DasaPaddock
Esri Regular Contributor
I was expecting that you would have a certificate error just loading that URL in your browser since I thought you said you were getting one when the Viewer tried to load urls like this one:

https://www.arcgis.com/sharing/rest/search?culture=en%2DUS&q=group%3A1f3bd43413f14b219643db9ae040423...

Can you give more details on the error you mentioned in post #16?
0 Kudos
KennethLyons
Emerging Contributor
Dasa,

I really am not sure what is causing the error.  I just know that when I use https for a link, most of the time I get a certificate error with options to close the page or continue to the page.  When I only use http, I am taken directly to the page.  

As far as the error with my viewer is concerned, I'm not sure what other information to provide other than the error message I posted earlier in this thread.  I've tried the recommendations that I have been given, and the only one that really seemed to make sense would be that the source code is refering to the  https://www.arcgis.com as apposed to  http://www.arcgis.com even when I make the correction with the "portalurl".  As stated before, I currently run with v3.0 and have not come accross this issue, at least not with the basemaps.  That's why I was thinking that something in the source code had changed when going from 3.0-3.1 

I hope this helps.
0 Kudos
KennethLyons
Emerging Contributor
I just wanted to follow up on this thread.  I'm still getting the error I mentioned in the beginning of this thread, but I have not seen any traffic related to how to fix it.

Just curious.

Thanks
0 Kudos
RhettZufelt
MVP Notable Contributor
As in Heathers post #22 above, it appears to be a bug with the portal.

I see you tried Heathers recommendation in post #12 and disable the portal (addarcgisbasemaps="false"), and load the basemaps in the old fasion way (under the <basemaps> tag) and it worked for you (post #14).

So, with addargisbasemaps="false" you are still getting this error?  I thought setting it to false and adding in the basemaps manually was the "fix/workaround" for this issue until they get it fixed in the API.

R_
0 Kudos
KennethLyons
Emerging Contributor
R,
Yeah I have been using that.  I just wasn't sure if a fix has been applied yet.

Thanks though.
0 Kudos
ThomasBrophy
Regular Contributor
I was expecting that you would have a certificate error just loading that URL in your browser since I thought you said you were getting one when the Viewer tried to load urls like this one:

https://www.arcgis.com/sharing/rest/search?culture=en-US&q=group%3A1f3bd43413f14b219643db9ae040423c&...

Can you give more details on the error you mentioned in post #16?


Dasa,
I am working in a similarly secure DoD environment as Mr. Lyons. Attached is a print screen of the cert error you requested. (https_arcgis_comCertError.JPG)
I have a problem that may be related. Here is the GIS web server setup configuration:

  • mid-Tier, 1 VCS Server

  • Windows Server 2008 R2 Enterprise SP1, 64-bit, 2 Processors, 8GB RAM

  • IIS 7.5 (Require SSL & Accept Client certificates)

  • IE 8 is used by default

  • ArcGIS Viewer for Flex (Source code) [arcgis-viewer-flex-develop.zip] �?? downloaded from https://github.com/Esri/arcgis-viewer-flex.

  • ArcGIS API 3.1 for Flex [arcgis_api_for_flex_3_1.zip]

  • Flash Builder 4.6 [FlashBuilder_4_6_LS10.exe]

  • Flex SDK 4.6 [flex_sdk_4.6.zip]

I'm using Adobe Flash Builder and I haven't changed anything in the source code since I downloaded it, accept the (addarcgisbasemaps="false") workaround. When I compiled it, I received 78 errors. See attached: [78errors_ArcGISViewerFlex31.txt] - I deleted the duplicate errors. By looking at these errors can you tell what is going on here?
Thank you for your time.
0 Kudos
GISDev1
Deactivated User
Dasa,
I am working in a similarly secure DoD environment as Mr. Lyons. Attached is a print screen of the cert error you requested. (https_arcgis_comCertError.JPG)
I have a problem that may be related. Here is the GIS web server setup configuration:

  • mid-Tier, 1 VCS Server

  • Windows Server 2008 R2 Enterprise SP1, 64-bit, 2 Processors, 8GB RAM

  • IIS 7.5 (Require SSL & Accept Client certificates)

  • IE 8 is used by default

  • ArcGIS Viewer for Flex (Source code) [arcgis-viewer-flex-develop.zip] �?? downloaded from https://github.com/Esri/arcgis-viewer-flex.

  • ArcGIS API 3.1 for Flex [arcgis_api_for_flex_3_1.zip]

  • Flash Builder 4.6 [FlashBuilder_4_6_LS10.exe]

  • Flex SDK 4.6 [flex_sdk_4.6.zip]

I'm using Adobe Flash Builder and I haven't changed anything in the source code since I downloaded it, accept the (addarcgisbasemaps="false") workaround. When I compiled it, I received 78 errors. See attached: [78errors_ArcGISViewerFlex31.txt] - I deleted the duplicate errors. By looking at these errors can you tell what is going on here?
Thank you for your time.



You need to talk to your IT guys. They probably have root certs. on all client images in order to decrypt all SSL traffic across their switches so all data going over the wire can be viewed by them.
0 Kudos