The Flex profiler gives a "Socket timeout" error. What for?

When I try to start the Flex Builder 3 profiler, I do not get the profiler dialog box, and then after a few seconds I get a "Socket Timeout" in the console window. Any ideas why it can't connect?

I have the latest debug version of the Flash player, and I tried to disable the firewall.
I run it on XP from a local drive, i.e. not through localhost.

Thanks Alex

+3
source share
6 answers

It looks like the browser (Firefox in my case) should be turned off before the profiler starts. Step 1 in the residential documents even talks about this - I would like me to read it earlier. :)

http://livedocs.adobe.com/flex/3/html/help.html?content=profiler_3.html

+2

, , , , , , - (1001 20957) 9999, , mm. cfg ProfilingFileOutputEnable = 1, . HTH

0

, 9999, : "" > "Flex- > Profiler- > Connections".

0

Flex Profiler, :
Flash :

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation:
    file:///C|%2Fwork%2Flabsense%2Fbranches%2Frel%5F1%5F2%5F5%5FEA%2Fsources%2Fui%2F.metadata%2F.plugins%2Fcom.adobe.flash.profiler%2FProfilerAgent.swf?host=localhost&port=9999
    cannot load data from localhost:9999.
    at ProfilerAgent()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent.as:127]

Flex Profiler ( ) : - Socket.

Windows Vista,
Flex-: 3.2
Flash-: 10,0,22,87

:

  • 9998 ( )
  • .
  • Flex Builder 3.2 ( 3.0)
  • mm.cfg
  • mm.cfg:

    PreloadSwf=C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhost&port=9999 
    

    PreloadSwf=C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhost&port=9998
    

    PreloadSwf=C:/work/labsense/Sources/ui/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhost&port=9999
    

    :

    PreloadSwf=C: \ work \ labsense \ Sources \ ui \ .metadata \ .plugins \ com.adobe.flash.profiler \ ProfilerAgent.swf?host=localhost&port=9999
    

    C:\work\labsense\Sources\ui\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?
    

    :

    TraceOutputFileName=C:\Users\zivo\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt
    ErrorReportingEnable=1
    MaxWarnings=0
    TraceOutputFileEnable=1
    ProfilingFileOutputEnable=1
    
  • vista​​li >
  • 9999 vista​​li >
  • SWF

.
:
, , -, :

  • - (),
  • "",
  • " "
  • "127.0.0.1"
  • ok

(, , 127.0.0.1 localhost ( )
mm.cfg :

PreloadSwf=C:/work/labsense/branches/rel_1_2_5_EA/sources/ui/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=127.0.0.1&port=9999

, , !

:
C:\Windows\System32\drivers\etc\hosts :

# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

::1             localhost
127.0.0.1       iDBO # LMS GENERATED LINE

, localhost 127.0.0.1!!!
:

# ::1             localhost
# 127.0.0.1       iDBO # LMS GENERATED LINE
127.0.0.1       localhost

(

0

/etc/hosts (C:\Windows\System32\drivers\etc\hosts) , : 127.0.0.1 localhost - :: 1 localhost, .

Ziv ​​ ( ) .

0

, Adobe . Adobe

Flash debug player, mm.cfg % HOMEDRIVE %% HOMEPATH%. C: , I:. , I:\mm.cfg

PreloadSwf=C:\Users\ehedstrom\Documents\FLEXBU~1\.metadata\.plugins\com.adobe.flash.profiler\ProfilerAgent.swf?host=localhost&port=9999

!

0

Source: https://habr.com/ru/post/1697331/


All Articles