POST
|
restarted the web server and still getting the same error. Tried a new username/password and same error. Could my ssl affect it? We are using a wildcard ssl on IIS and a selfsigned on the site.
... View more
09-02-2014
08:13 AM
|
0
|
1
|
7710
|
POST
|
As of this morning the proxy page isn't working for me, can't figure out what might have changed over the weekend and the log file isn't very helpful. I have hard coded a request for a token and that is working, so I don't think it's my service. Any advice? config file: <?xml version="1.0" encoding="utf-8" ?> <ProxyConfig allowedReferers="*" logFile="proxy_log.log" mustMatch="true"> <serverUrls> <serverUrl url="http://gis.northcharleston.org/arcgis/rest/services" matchAll="false" username="xxx" password="xxx"/> </serverUrls> </ProxyConfig> the log file shows: 09-02-14 13:20:07 | GET detected 09-02-14 13:20:07 | Authorization failed : {"error":{"code":499,"message":"Token Required","details":[]}} 09-02-14 13:20:07 | Retry attempt 1 of 3 09-02-14 13:20:07 | Resource using ArcGIS Server security 09-02-14 13:20:07 | Got token endpoint 09-02-14 13:20:09 | Authorization failed : {"error":{"code":499,"message":"Token Required","details":[]}} 09-02-14 13:20:09 | Retry attempt 2 of 3 09-02-14 13:20:09 | Resource using ArcGIS Server security 09-02-14 13:20:09 | Got token endpoint 09-02-14 13:20:09 | Authorization failed : {"error":{"code":499,"message":"Token Required","details":[]}} 09-02-14 13:20:09 | Retry attempt 3 of 3 09-02-14 13:20:09 | Resource using ArcGIS Server security 09-02-14 13:20:09 | Got token endpoint 09-02-14 13:20:09 | Removing session value 09-02-14 13:20:09 | Authorization failed : {"error":{"code":499,"message":"Token Required","details":[]}} 09-02-14 13:20:09 | Proxy complete
... View more
09-02-2014
06:28 AM
|
0
|
4
|
7710
|
POST
|
Thanks Bjorn! -I misread the firebug response, confused Query parameters with the config parameters (I had looked at it too long) - and my SSL is not working correctly. I think I've got that covered now, but would you know why I get the 498 error in the log file? I think it only appears when I am testing the live site, not when I am debugging. The program always picks it up on the retry, but still concerns me. Hopefully we'll get the SSL issues corrected today and then I'll start testing it again.
... View more
08-29-2014
05:38 AM
|
0
|
0
|
7710
|
POST
|
I'm using the php proxy page from here: resource-proxy/PHP at master · Esri/resource-proxy · GitHub It appears to work perfect however when I run it using firebug in firefox I can see my username and password for my secure service in both the response and the parameters. I can repeat this both within my network and without, and I am using https (unsigned). log file shows: 08-28-14 15:54:42 | GET detected 08-28-14 15:54:42 | Using session token 08-28-14 15:54:42 | Authorization failed : {"error":{"code":498,"message":"Invalid Token","details":[]}} 08-28-14 15:54:42 | Retry attempt 1 of 3 08-28-14 15:54:42 | Resource using ArcGIS Server security 08-28-14 15:54:42 | Got token endpoint 08-28-14 15:54:42 | Adding token to session 08-28-14 15:54:42 | Using session token 08-28-14 15:54:42 | Ok to proxy 08-28-14 15:54:42 | Proxy complete Just not sure what I've done. If I hadn't run firebug I would not have even noticed that my username/password is visible.
... View more
08-28-2014
10:42 AM
|
0
|
7
|
12788
|
POST
|
Thanks! I'll give this a try next time I upgrade the api. I think for now I'm sticking with 3.3, unless I hit a limitation with the functionality it saves me from having to apply the fix.
... View more
10-07-2013
08:58 AM
|
0
|
0
|
747
|
POST
|
so it appears the upgrade corrupted my application. I am able to apply this fix to all new mobile projects and it clears the warnings I get. My original project still has warnings regardless of what I do, I've had to recreate it. However even with this fix I can not get a release build to export using 3.4 or 3.5. I've described my error messages in another thread: http://forums.arcgis.com/threads/93772-Flex-Mobile-using-3.4-or-3.5-compile-problems?p=334705&posted=1#post334705 My guess is these issues are related. I've gone back to using the 3.3 api, it works flawlessly for me.
... View more
10-07-2013
08:55 AM
|
0
|
0
|
446
|
POST
|
Thanks, I'm actually the last commenter on that thread. I can get the warnings to clear, which then allows me test the application. Even with this fix I can not get a release build.
... View more
10-07-2013
08:45 AM
|
0
|
0
|
747
|
POST
|
I did try adding mx.swc and sparkskins.swc but it did not solve the issue. I added skins to solve the warnings we get bc of the attributeInspector/relationshipInspector and the warnings clear but still can't build a final release. I am using multiple libraries and I created a test project where I tested each library individually. I only run into issues when I pull in 3.4 or 3.5. I have only worked on mobile projects since I upgraded, so I do not know if I have the same problem with a desktop project. 3.3 is working great, there is no need to use skins and it has all the functionality I need to create my project. So for now it's my work around.
... View more
10-04-2013
03:28 AM
|
0
|
0
|
747
|
POST
|
I can not get a release build using either the 3.4 or 3.5 api on a flex mobile project. I switch the library back to 3.3 and it's working again. Using 3.4/3.5 I can debug, launch the project on the device with a fast packaging (I have not tried standard) - problem only occurs when I go to compile my release build. My log file for 3.4/3.5: !ENTRY com.adobe.flexbuilder.project 4 43 2013-10-01 09:40:08.431 !MESSAGE Error occurred while packaging the application: Exception in thread "main" java.lang.Error: Unable to find named traits: mx.controls::RichTextEditor at adobe.abc.Domain.resolveTypeName(Domain.java:232) at adobe.abc.Domain.resolveTypeName(Domain.java:149) at adobe.abc.GlobalOptimizer$InputAbc.resolveTypeName(GlobalOptimizer.java:273) at adobe.abc.GlobalOptimizer$InputAbc.resolveSlotType(GlobalOptimizer.java:956) at adobe.abc.GlobalOptimizer$InputAbc.resolveType(GlobalOptimizer.java:536) at adobe.abc.GlobalOptimizer$InputAbc.resolveTypes(GlobalOptimizer.java:449) at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:334) at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:611) at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:104) Compilation failed while executing : ADT It continues from there... I don't know what else to do but to stick with 3.3 for all my mobile projects. I'm using flash builder 4.7, apache flex 4.10.0 11.8 Air 3.8.
... View more
10-01-2013
10:49 AM
|
0
|
7
|
1166
|
POST
|
I'm using Flash Builder 4.7. The above fix was working until I went and updated eclipse. now I have 5 new warnings. Any ideas on which skin could be causing them? The style backgroundColor is only supported by type mx.containters.Panel with the theme(s) 'halo,spark'. The style borderAlpha is only supported by type mx.containters.Panel with the theme(s) 'halo,spark'. The style borderColor is only supported by type mx.containters.Panel with the theme(s) 'halo,spark'. The style cornerRadius is only supported by type mx.containters.Panel with the theme(s) 'halo,spark'. The style corner Radius is only supported by the type mx.coreContainer with the theme(s) 'halo, spark'
... View more
09-10-2013
05:18 AM
|
0
|
0
|
446
|
POST
|
I'm editing data that is not versioned. I can't figure out this error (faultcode -2147467259) I'm trying to delete a row in a table. I can add to this table and update the records, but it's not letting me delete. this code throws the error every time: deleteGraphic.attributes={OBJECTID:event.item.OJBECTID} featurelayer.applyEdits(null,null,[deleteGraphic], false, new asyncResponder(deleteDone, DeleteFail)); If I use this code, it updates my record successfully: deleteGraphic.attributes={OBJECTID:event.item.OJBECTID, Contact:"test"} featurelayer.applyEdits(null,[deleteGraphic],null, false, new asyncResponder(deleteDone, DeleteFail)); This is a mobile project, not sure if that matters.
... View more
09-04-2013
09:38 AM
|
0
|
0
|
3448
|
POST
|
Same issues here. I have a flex site where my users can attach files to a table. It's been working until today, as of today when they go to attach they get a fault code 400, lock request conflicts . I can't find answers anywhere, we have service pack 1 installed. It seems to only happen when we attach a file, they can update attributes and even add records. It seems to take longer than an hour for the 'lock' to get released.
... View more
05-06-2013
11:49 AM
|
0
|
0
|
6427
|
POST
|
I'm stumped. My map is in a component based on a canvas (caseMapComp)-abbrivated code below. I have a set of buttons that alows the user to change which of the components is visible. Works great in firefox but when I went to run it live in explorer I get a blank map-controls all load but no services load. I have secure services in this project, but I am not loading secure services in this particular map. Any ideas? I'll be installing firefox on all my user computers as a work around, but sure would like to figure this out regardless. <Border container> <comp:ContactInfo id="contactInfoComp" visible=true/> <comp:ActionGroup id="actionGroupComp" visible=false/> <comp:CaseMap id="caseMapComp" visible=false/> </Border containter>
... View more
04-26-2013
07:59 AM
|
0
|
0
|
587
|
POST
|
I'm not certain what you mean by ip solution. I've used this: var rootURL:String=mx.core.Application.application.url.substr(0,mx.core.Application.application.url.indexOf("/",8)); var expir:int=1440; var param:Object={"request":"gettoken","username":username, "password": password, "clientid":"ref."+rootURL,"expiration":expir} I do get a token back, but it's invalid. I get warnings from flashbuilder on my mx.core.Application as well. I wonder if it is 10.1. This current project does not really need to be secure, but I want to get this right so I can secure projects that require security. Am I losing the security by not passing the clientID and expiration? I have time limits set on tokens on the server side. I did not use tokens before 10.1 so I'm not certain what settings have changed. Thank you for your info on SSL certificates. It's what I had assumed, but it was nice to know I wasn't assuming wrong!
... View more
04-18-2013
05:48 AM
|
0
|
0
|
317
|
POST
|
I don't yet have an ssl certificate, although I am planning to get that part taken care of soon. I have used the suggested methods above and at one point "I swear" it was working. Now that I have programed the rest of my site it has quit working. I am at Server 10.1. If I send: http.url="http://xxxxxxx/arcgis/tokens/arcgis/tokens?request=gettoken&username="+username+"&password="+password; I get a valid token. If I add clientid or expiration to this url, I get invalid tokens. Am I getting invalid tokens b/c I don't yet have the certificate set up? or are the issues with my security settings on the service or server side? or by any chance is this just how it works at 10.1? Also, can anyone tell me if I set up the SSL will it affect my nonsecure services. Or in otherwords, once I get the SSL certificate running is it going to shut down my sites that are not using tokens. Might seem like a silly question, but I've made assumptions before and I am fumbling through this security stuff. Thanks in advance!!
... View more
04-18-2013
04:27 AM
|
0
|
0
|
1324
|
Title | Kudos | Posted |
---|---|---|
4 | 12-05-2019 08:53 AM | |
1 | 03-07-2016 08:44 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|