Skip to main content
Participant
August 9, 2012
Question

FMLE not connecting to Flash Media Server

  • August 9, 2012
  • 1 reply
  • 1572 views

I have two laptops with windows 7 and FMLE 3.2 and FMS 4.5 in them. Laptop A is working perfectly with the default settings but i cannot connect to FMS with laptop B. I have tried turning windows firewall off, setting fmscore, fmscore and fmsmaster to run under administrator privileges.

The FMS starts correctly on laptop B (i compared the log-files on laptop a and b) and here is edge.00.log from laptop B (i censored my ip and host):

#Date: 2012-08-09

#Fields: date          time          x-pid          x-status          x-ctx          x-comment

2012-08-09          12:37:37          3432          (i)2581173          FMS detected IPv6 protocol stack!          -

2012-08-09          12:37:37          3432          (i)2581173          FMS config <NetworkingIPv6 enable=false>          -

2012-08-09          12:37:37          3432          (i)2581173          FMS running in IPv4 protocol stack mode!          -

2012-08-09          12:37:37          3432          (i)2581173          Host: myhost IPv4: myip      -

2012-08-09          12:37:37          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4          -

2012-08-09          12:37:38          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 1935/v4          -

2012-08-09          12:37:38          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 80/v4          -

2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : myip:19350 (rtmfp-core)/v4          -

2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:19350 (rtmfp-core)/v4          -

2012-08-09          12:37:39          3432          (i)2631509          Public rtmfp-core addresses for listener _defaultRoot__edge1 are: myip:19350          -

2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : myip:1935 (rtmfp)/v4          -

2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:1935 (rtmfp)/v4          -

2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : myip:80 (rtmfp)/v4          -

2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:80 (rtmfp)/v4          -

When i hit Connect button in FMLE i get the "Cannot connect to primary server" - error. When i change the FMS-Url to the ip-address of my laptop A i can connect to its FMS. The default FMS Url is rtmp://localhost/live and  Stream: "mystream@38220" (this is working in laptop A).

I downloaded TCPView and compared whats happening with the laptops when i hit the Connect button. On laptop B FMLE sends bytes to FMSEdge and it responds with 1 byte and then nothing happens. On laptop A same thing happens but it opens up FMSCore and the stream starts going live.

Apparently the FMS had worked on laptop B before but then it stopped working due to reasons unknown. I tried reinstalling it with no results and now im clueless. I also tried the fmscheck and it said it cannot connect to FMS. It seems the FMSEdge is not behaving correctly or something is blocking the traffic between the programs. Please help.

This topic has been closed for replies.

1 reply

Inspiring
August 13, 2012

Hi

Please check your "access logs" on Machine B to see if the connection is even reaching there. If its not, there is some issue with the network.

Also check all other logs(core, application ) to see any unexpected behavior.

Thanks,

Shiven

Participant
August 14, 2012

Access log looks like this:

#Date: 2012-08-09

#Fields: x-event          x-category          date          time          tz          x-ctx          s-ip          x-pid          x-cpu-load          x-mem-load          x-adaptor          x-vhost          x-app          x-appinst          x-duration          x-status          c-ip          c-proto          c-proto-ver          s-uri          cs-uri-stem          cs-uri-query          c-referrer          c-user-agent          c-client-id          cs-bytes          sc-bytes          c-connect-type          x-sname          x-sname-query          x-suri-query          x-suri-stem          x-suri          x-file-name          x-file-ext          x-file-size          x-file-length          x-spos          c-spos          cs-stream-bytes          sc-stream-bytes          x-service-name          x-sc-qos-bytes          x-comment          x-eid          x-sid          x-trans-sname          x-trans-sname-query          x-trans-file-ext          x-trans-mode          x-soffset          x-codec-type          x-codec          x-plugin          x-page-url          x-smax-rec-size          x-smax-rec-duration          x-forwarded-for

server-start          server          2012-08-09          12:35:42          FLE Daylight Time          -          192.194.211.110          7492          0          48          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -

Then there is the master log:

#Date: 2012-08-14

#Fields: date          time          x-pid          x-status          x-ctx          x-comment

2012-08-14          13:30:12          3216          (i)2581173          FMS detected IPv6 protocol stack!          -

2012-08-14          13:30:12          3216          (i)2581173          FMS config <NetworkingIPv6 enable=false>          -

2012-08-14          13:30:12          3216          (i)2581173          FMS running in IPv4 protocol stack mode!          -

2012-08-14          13:30:12          3216          (i)2581173          Host: Tatu-PC IPv4: 192.194.211.110          -

2012-08-14          13:30:12          3216          (i)2571011          Server starting...          -

2012-08-14          13:30:12          3216          (i)2581224          Edge (2992) started, arguments : -edgeports ":1935,80" -coreports "localhost:19350" -conf "C:\Program Files\Adobe\Flash Media Server 4.5\conf\server.xml" -adaptor "_defaultRoot_" -name "_defaultRoot__edge1" -edgename "edge1".          -

2012-08-14          13:30:12          3216          (i)2571111          Server started (C:\Program Files\Adobe\Flash Media Server 4.5\conf\server.xml).          -

And the core log

#Version: 1.0

#Start-Date: 2012-08-09 09:35:26

#Software: Adobe Flash Media Server 4.5.0 r297 x86

#Date: 2012-08-09

#Fields: date          time          x-pid          x-status          x-ctx          x-comment

2012-08-09          09:35:26          5380          (e)2571122          Server aborted.          -

#Date: 2012-08-09

#Fields: date          time          x-pid          x-status          x-ctx          x-comment

2012-08-09          11:51:27          1340          (e)2571122          Server aborted.          -

#Date: 2012-08-09

#Fields: date          time          x-pid          x-status          x-ctx          x-comment

2012-08-09          11:51:36          7848          (e)2571122          Server aborted.          -

#Date: 2012-08-09

#Fields: date          time          x-pid          x-status          x-ctx          x-comment

2012-08-09          12:35:43          7492          (e)2571122          Server aborted.          -

I tried connecting to localhost:1935 with telnet and typing something and then watching what happens in TCPView. It says that the fmsedge process listening to port 1935 establishes the connection and receives the bytes, though it closes it after few seconds probably because it doesnt understand what data i sent. And when FMLE sends 1537 bytes to fmsedge it receives them but nothing happens.

Inspiring
August 14, 2012

Hi,

Thanks for the information.It seems that the fmscore process is unable to start due to some reason.

Also, its hard to debug since the chronology of the logs is not proper. (Master logs on 8/14 and Core on 8/9)

Here are a few things you should do:

     1. Go to FMS updaters page and update to the latest 4.5.2. You are currently using 4.5.0

          http://www.adobe.com/support/flashmediaserver/downloads_updaters.html

     2. Make a fresh installation and generate fresh logs when the issue occurs.

     3. Please state if you made any changes to the configurations.

Shiven