+ Reply to Thread
Results 1 to 18 of 18

Thread: FlexViewer 2.4 strange error #2032

  1. #1
    Chris Bente
    Join Date
    Aug 2011
    Posts
    7
    Points
    0
    Answers Provided
    0


    0

    Default FlexViewer 2.4 strange error #2032

    This error has been driving me crazy for days now. I've tried mining the web and the Esri forums for any information that would help me rectify/diagnose the error. Tried everything out there, still with no luck. It's not a cross domain issue. The server, map services, and I am all on the same domain. It's not a MIME types issue or a mixing of IP addresses with machine names issue. It occurs randomly at least once a day, doesn't matter which web browser is used (IE, FF) usually at the first instance the server has to "spin up" per user invoke and serve the data in the morning, and it seems to be affecting random map services (of which there are 8). Here is the actual error message:

    County_Cities layer failed to load: Fault code: Server.Error.Request

    Fault info: HTTP request error

    Fault details: Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://gis01/ArcGIS/rest/services/XXXXXX/County_Cities/MapServer?f=json"]. URL: http://gis01/ArcGIS/rest/services/XX...pServer?f=json

    Here are the server specs:
    Running Windows Server 2003, Standard Edition, SP2
    IIS Version 6
    ASP.Net Version 2.0.50727

    I've adjusted the "Periodically check and repair data connections for idle instances" inside Manager for all the operational layers, changing the defualt setting from 30 to 15 minutes, then inside the server, I changed the settings for the ArcGIS ServicesAppPool Properties, under the performance tab for idle timeouts to 30 minutes and enabled pinging every 30 minutes. That still did not solve the issue.

    Here is a an example of the mapservice URL contained within my project's config.xml file:
    <layer label="County - Cities" type="dynamic" alpha="0.5" visible="true"
    url="http://gis01/ArcGIS/rest/services/XXXXXX/County_Cities/MapServer"/>

    the application was buillt with Adobe Flash Builder 4.5 and the Flex 4.5 SDK. Have Flash Player 10.3
    installed, my compiler arguments are as follows: -locale en_US -source-path=locale/{locale} -keep-all-type-selectors=true

    I've tried moving the operational layers into the pre-compiled Flex Viewer 2.4 just to test and see if it was something to do with the way I was compiling, but the same error occurs with the pre-compiled version as well, which is leading me to believe that it's something to do with the IIS or Server Configuration.

    I am stumped. Has anyone else battled this error with any success? If so, please share your solution and chime in with further diagnostics for me to troubleshoot. Any and all help here is much appreciated.

    Thanks.

  2. #2
    sam sam
    Join Date
    Oct 2011
    Posts
    10
    Points
    0
    Answers Provided
    0


    0

    Default Re: FlexViewer 2.4 strange error #2032

    Did you try loading mapserver URL from internet explorer?

  3. #3
    Chris Bente
    Join Date
    Aug 2011
    Posts
    7
    Points
    0
    Answers Provided
    0


    0

    Default Re: FlexViewer 2.4 strange error #2032

    Quote Originally Posted by samham View Post
    Did you try loading mapserver URL from internet explorer?
    Yes, Internet Explorer 8

  4. #4
    sam sam
    Join Date
    Oct 2011
    Posts
    10
    Points
    0
    Answers Provided
    0


    0

    Default Re: FlexViewer 2.4 strange error #2032

    same error on IE8

  5. #5
    sam sam
    Join Date
    Oct 2011
    Posts
    10
    Points
    0
    Answers Provided
    0


    0

    Default Re: FlexViewer 2.4 strange error #2032

    Did you check the event viewer log on the machine where the arcgis server is installed? If this is an issue with the map server then it would definitely log the error in the event viewer.

  6. #6
    Luke Evans
    Join Date
    Jun 2010
    Posts
    28
    Points
    0
    Answers Provided
    0


    0

    Default Re: FlexViewer 2.4 strange error #2032

    We have had this problem ourselves. It ended up being an issue with the map services, not the Flex viewer. Initially it happened when the rest cache wasn't cleared after a change to the services, meaning that the Flex Viewer was attempting to retrieve fields that were now hidden.

    This happened in another instance relating to changes in the map services but I can't recall what was changed. I can investigate with the team and get back to you. Hopefully that'll give you a starting point at least, knowing that we did resolve the problem here

  7. #7
    Chris Bente
    Join Date
    Aug 2011
    Posts
    7
    Points
    0
    Answers Provided
    0


    0

    Default Re: FlexViewer 2.4 strange error #2032

    Quote Originally Posted by luke.evans View Post
    We have had this problem ourselves. It ended up being an issue with the map services, not the Flex viewer. Initially it happened when the rest cache wasn't cleared after a change to the services, meaning that the Flex Viewer was attempting to retrieve fields that were now hidden.

    This happened in another instance relating to changes in the map services but I can't recall what was changed. I can investigate with the team and get back to you. Hopefully that'll give you a starting point at least, knowing that we did resolve the problem here
    Thanks Luke, I would really appreciate that.

    BTW, there are map services that have had fields hidden, but I always clear the cache when I make a change to the map service. However, clearing the cache does not seem to recitfy the situation in this case. Definitely curious to know what the other instance relating to changes in the map services that you mentioned was.

    To Samham: I did check the event viewer log on the machine where the arcgis server is installed however it does appear to contain any log events regarding this issue.

  8. #8
    Jarrod Doucette
    Join Date
    Apr 2010
    Posts
    5
    Points
    0
    Answers Provided
    0


    0

    Default Re: FlexViewer 2.4 strange error #2032

    I'm getting the same error. If I close the error window and go into the app I can't access the service that causes the error but the other services are fine (services are all from same server). If I refresh the browser I don't get the error and all of the services are accessible in the app.

    It feels like a timeout issue, but I don't think that's it exactly since other services have the same setting and aren't causing problems.

    The server had secure http added a few months ago so I'm wondering if that has something to do with it ( http://forums.esri.com/Thread.asp?c=158&f=2421&t=292921 ). I was thinking of setting security="false" on my crossdomain.xml file on the server, but I'm worried about security.

  9. #9
    J Montgomery
    Join Date
    Sep 2010
    Posts
    17
    Points
    1
    Answers Provided
    0


    0

    Default Re: FlexViewer 2.4 strange error #2032

    Has anyone resolved. I started getting this error one I migrated "all" of our sites to FV 2.4. Any Ideas. Once I refresh the browser errors stop.

  10. #10
    Martin Schejbal
    Join Date
    May 2010
    Posts
    3
    Points
    1
    Answers Provided
    0


    1

    Default Re: FlexViewer 2.4 strange error #2032

    Hello,
    i hat the same problem.!!
    Solution is : http://viveklakhanpal.wordpress.com/...-stream-error/

    Martin Schejbal

  11. #11
    Matt Shetzer
    Join Date
    Jul 2010
    Posts
    83
    Points
    0
    Answers Provided
    0


    0

    Default Re: FlexViewer 2.4 strange error #2032

    I'm having the exact issues as well since 2.4. I have tried the IIS config above, but I still get this intermittently. I have the same thing with 2 different servers running different services.

    Has anyone found a resolution for this behavior?

    Thank you,
    Matt

  12. #12
    Tom Giles
    Join Date
    Oct 2010
    Posts
    35
    Points
    1
    Answers Provided
    0


    0

    Default Re: FlexViewer 2.4 strange error #2032

    Just checking as you say you have two servers - IIS settings were applied to both?

  13. #13
    Matt Shetzer
    Join Date
    Jul 2010
    Posts
    83
    Points
    0
    Answers Provided
    0


    0

    Default Re: FlexViewer 2.4 strange error #2032

    IIS on both with windows authentication. The error is only every now and then, and I haven't been able to figure what is causing it. I never got it before 2.4.

    Thanks for the help.
    Matt

    Quote Originally Posted by tagiles View Post
    Just checking as you say you have two servers - IIS settings were applied to both?

  14. #14
    Matt Shetzer
    Join Date
    Jul 2010
    Posts
    83
    Points
    0
    Answers Provided
    0


    0

    Default Re: FlexViewer 2.4 strange error #2032

    anyone else still having this problem? It almost seems like a timeout problem.

    Thanks in advance !
    Matt

    Quote Originally Posted by mshetzer View Post
    IIS on both with windows authentication. The error is only every now and then, and I haven't been able to figure what is causing it. I never got it before 2.4.

    Thanks for the help.
    Matt

  15. #15
    Janie Goddard
    Join Date
    Sep 2010
    Posts
    114
    Points
    3
    Answers Provided
    1


    1

    Smile Re: FlexViewer 2.4 strange error #2032

    I'm getting the #2032 error off and on AND on different web services also. My first fix was under the web service pooling tab to change "The Maximum time a client will wait to get a service:" from the default 60 seconds (1 minute) to 180 seconds (3 minutes). I noticed in the service statistics it was taking around 40 seconds for the server to create the instance of the service. That seemed to help some. I was still receiving the error once in awhile especially in the morning when the web services have been idle. So I took another person's suggestion and changed under the web service Processes tab to click on the "Periodically check and repair data connections for idle instances". I left the defaul minutes to 30 minutes. That stopped all of the #2032 errors. But now I bring up a flex viewer and the webservice gives no error on screen or the GIS Server log. But the web service simply doesn't show anything. I stop and start the service and the service becomes visible on the server it is housed on in an internal server with my data. However I'm not getting the external server web service copy of the service refreshed. So..... to fix that I change the web services Processes tab the "Recycle this Configuration every" from the default 24 hours to one hour "Starting at:" in 15 minutes from the time it is currently having troubles. That refreshed the web service on the external server. It is like there are old instances or processes hanging around out there with the blank web service. I decided I'm going to switch all my web services to Recycle every hour starting at 7:45 am to keep the external web services refreshed and ready to go at 8:00 AM.
    Hope this helps someone!
    Janie

  16. #16
    Barry Turcotte
    Join Date
    Dec 2010
    Posts
    2
    Points
    0
    Answers Provided
    0


    0

    Default Re: FlexViewer 2.4 strange error #2032

    All...

    I just started getting this error yesterday morning after I changed the names of a few of my viewers after upgrading to 2.5. The exact error reads is shown here:

    Click image for larger version

Name:	2032 error.jpg
Views:	254
Size:	15.2 KB
ID:	11625

    I have read every forum I could find on the subject and tried virtually every suggestion, but nothing seems to change. I am not a developer in the slightest, I am a GIS analyst with an environmental background so I only know enough to be dangerous to customize the viewers to my needs. I know it has to be something simple that I'm overlooking but I can't figure it out. I've checked the urls for mistakes, I've checked permissions to all the folders, I've checked my cross domain file and nothing is jumping out at me. My url for the service works fine via browser in Server Manager. And unlike others, it's not an occasional error message, it happens every time I open my viewer(s) and with every browser (IE, FireFox, etc.) I can close the error message that pops up for all 10-15 operational layers in that service and my viewer works, but obviously it doesn't have any of my data. I have several of Robert's custom widgets running, and I've checked code in those that use data from this service and everythings seems fine.

    Please Help!

    -Barry

  17. #17
    John Zhang
    Join Date
    Oct 2010
    Posts
    22
    Points
    0
    Answers Provided
    0


    0

    Default Re: FlexViewer 2.4 strange error #2032

    If the "Error #2032" only happens on some machines (when loading the app) but the app works on other machines, then please try to replace the index.swf from a new download of flexviewer.

    We had seen this issue with some customers. Hope this helps.

  18. #18
    Ashley Peters
    Join Date
    Jul 2010
    Posts
    121
    Points
    1
    Answers Provided
    1


    0

    Default Re: FlexViewer 2.4 strange error #2032

    Barry,

    I had a similar problem and just resolved it yesterday. Have you tried adding a Cache-control to your http headers on your server?

    Ashley

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts