<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[New install pops up an error 'Manager connection problem']]></title><description><![CDATA[<p dir="auto">We've just installed FOP 2.21 on a Debian system running Asterisk 1.8.5. After successfully logging in with a user defined in /usr/local/fop2/fop2.cfg, I get a popup window with the error "Manager connection problem".</p>
<p dir="auto">Besides being a vague error message, I'm really not sure where to go from here. I've followed the directions for installation at  <a href="http://www.fop2.com/documentation-installation-from-tarball.php" rel="nofollow ugc">http://www.fop2.com/documentation-insta ... arball.php</a> and gleaned the user configuration from <a href="http://www.fop2.com/documentation-usermanual-login-in.php" rel="nofollow ugc">http://www.fop2.com/documentation-userm ... gin-in.php</a>. Not only is there no mention of this error, it appears to be the assumption that everything should be working fine from here.</p>
<p dir="auto">I've also found a few details about how to debug FOP2 from other forum messages, so here's the output from /usr/local/fop2/fop2_server -X 15:</p>
<pre><code>Flash Operator Panel 2 - No valid license found. Demo Mode

** MANAGER CONNECTION Connecting to localhost:5038 (Server 0)
** MANAGER CONNECTION Connected to localhost:5038 (Server 0)

127.0.0.1       -&gt; Action: Challenge
127.0.0.1       -&gt; AuthType: MD5

127.0.0.1       &lt;- Asterisk Call Manager/1.1
127.0.0.1       &lt;- Response: Success
127.0.0.1       &lt;- Challenge: 203534767
127.0.0.1       &lt;- Server: 0

127.0.0.1       -&gt; Action: Login
127.0.0.1       -&gt; Username: admin
127.0.0.1       -&gt; AuthType: MD5
127.0.0.1       -&gt; Key: e20d04d7ee18b5238ce0ff9afa7de443

127.0.0.1       &lt;- Response: Error
127.0.0.1       &lt;- Message: Authentication failed
127.0.0.1       &lt;- Server: 0

** CLEAN SOCKET  connection lost removing socket IO::Socket::INET=GLOB(0xba20dbc)
** CLEAN SOCKET  Connection lost to server 0

CLEAN activity for buttons for server 0 as the connection was lost

** MANAGER CONNECTION Connecting to localhost:5038 (Server 0)
** MANAGER CONNECTION Connected to localhost:5038 (Server 0)

Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)

127.0.0.1       -&gt; Action: Challenge
127.0.0.1       -&gt; AuthType: MD5

65.110.29.154   =&gt; HTTP/1.1 101 WebSocket Protocol Handshake
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Origin: http://voip.lightspeed.ca
Sec-WebSocket-Location: ws://voip.lightspeed.ca:4445/


-Í¸dè1ÏF"õgI

127.0.0.1       &lt;- Asterisk Call Manager/1.1
127.0.0.1       &lt;- Response: Success
127.0.0.1       &lt;- Challenge: 146891476
127.0.0.1       &lt;- Server: 0

127.0.0.1       -&gt; Action: Login
127.0.0.1       -&gt; Username: admin
127.0.0.1       -&gt; AuthType: MD5
127.0.0.1       -&gt; Key: 8e32099bd3eac31e7e619731386ad094

65.110.29.154   &lt;= &lt;msg data="GENERAL|contexto|1|" /&gt;
65.110.29.154   =&gt; { "btn": "0", "cmd": "key", "data": "vXjnM8208zvsdSzMN4foxA1CmbKqzejnMZSJ5", "slot": "" }

65.110.29.154   =&gt; { "btn": "0@GENERAL", "cmd": "version", "data": "2.21!!1", "slot": "" }

65.110.29.154   &lt;= &lt;msg data="1|auth|ernied|dfd99345766202202283790218fe1470" /&gt;
65.110.29.154   =&gt; { "btn": "0@GENERAL", "cmd": "preferences", "data": "e30=", "slot": "" }

65.110.29.154   =&gt; { "btn": "0@GENERAL", "cmd": "vmailpath", "data": "/var/spool/asterisk/voicemail", "slot": "" }

65.110.29.154   =&gt; { "btn": "0@GENERAL", "cmd": "permit", "data": "YWxs", "slot": "" }

65.110.29.154   =&gt; { "btn": "0@GENERAL", "cmd": "permitbtn", "data": "YWxsITA=", "slot": "" }

65.110.29.154   =&gt; { "btn": "1@GENERAL", "cmd": "zbuttons", "data": "AwA=", "slot": "" }

65.110.29.154   &lt;= &lt;msg data="1|initState||dfd99345766202202283790218fe1470" /&gt;
65.110.29.154   =&gt; { "btn": "0@GENERAL", "cmd": "demo", "data": "2", "slot": "0" }

65.110.29.154   =&gt; { "btn": "0@GENERAL", "cmd": "managerproblem", "data": "2", "slot": "0" }

65.110.29.154   =&gt; { "btn": "0@GENERAL", "cmd": "pong", "data": "PGRpdiBpZD0iI3tpZH0iPjxhIGhyZWY9Imh0dHA6Ly93d3cuZm9wMi5jb20iPkZPUDI8L2E+IC0gVmVyc2lvbiA8c3BhbiBpZD0iZm9wdmVyc2lvbiI+I3t2ZXJzaW9ufTwvc3Bhbj4gLSBMaXRlIFZlcnNpb24gLSBMaW1pdGVkIHRvIDE1IGV4dGVuc2lvbnMgLiBCdXkgaXQgPGEgaHJlZj0iaHR0cDovL3d3dy5mb3AyLmNvbS9idXkucGhwIj5ub3c8L2E+IGZvciB1bmxpbWl0ZWQgZXh0ZW5zaW9ucy4gSWYgeW91IGFscmVhZHkgaGF2ZSBhIGNvZGUgZW50ZXIgaXQgPGEgaHJlZj0iIyIgb25DbGljaz0icmVnaXN0ZXIoKTsgcmV0dXJuIGZhbHNlOyI+aGVyZTwvYT48L2Rpdj4=", "slot": "" }

127.0.0.1       &lt;- Response: Error
127.0.0.1       &lt;- Message: Authentication failed
127.0.0.1       &lt;- Server: 0

** CLEAN SOCKET  connection lost removing socket IO::Socket::INET=GLOB(0xbcd9300)
** CLEAN SOCKET  Connection lost to server 0

CLEAN activity for buttons for server 0 as the connection was lost

65.110.29.154   &lt;= &lt;msg data="1|ping||" /&gt;

Cannot send command to  (unauthenticated or connection failed)

65.110.29.154   =&gt; { "btn": "0", "cmd": "pong", "data": "PGRpdiBpZD0iI3tpZH0iPjxhIGhyZWY9Imh0dHA6Ly93d3cuZm9wMi5jb20iPkZPUDI8L2E+IC0gVmVyc2lvbiA8c3BhbiBpZD0iZm9wdmVyc2lvbiI+I3t2ZXJzaW9ufTwvc3Bhbj4gLSBMaXRlIFZlcnNpb24gLSBMaW1pdGVkIHRvIDE1IGV4dGVuc2lvbnMgLiBCdXkgaXQgPGEgaHJlZj0iaHR0cDovL3d3dy5mb3AyLmNvbS9idXkucGhwIj5ub3c8L2E+IGZvciB1bmxpbWl0ZWQgZXh0ZW5zaW9ucy4gSWYgeW91IGFscmVhZHkgaGF2ZSBhIGNvZGUgZW50ZXIgaXQgPGEgaHJlZj0iIyIgb25DbGljaz0icmVnaXN0ZXIoKTsgcmV0dXJuIGZhbHNlOyI+aGVyZTwvYT48L2Rpdj4=", "slot": "" }

** MANAGER CONNECTION Connecting to localhost:5038 (Server 0)
** MANAGER CONNECTION Connected to localhost:5038 (Server 0)

Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)

127.0.0.1       -&gt; Action: Challenge
127.0.0.1       -&gt; AuthType: MD5

127.0.0.1       &lt;- Asterisk Call Manager/1.1
127.0.0.1       &lt;- Response: Success
127.0.0.1       &lt;- Challenge: 447284182
127.0.0.1       &lt;- Server: 0

127.0.0.1       -&gt; Action: Login
127.0.0.1       -&gt; Username: admin
127.0.0.1       -&gt; AuthType: MD5
127.0.0.1       -&gt; Key: 6d834ed839621075235bbec0036c89a2

127.0.0.1       &lt;- Response: Error
127.0.0.1       &lt;- Message: Authentication failed
127.0.0.1       &lt;- Server: 0

** CLEAN SOCKET  connection lost removing socket IO::Socket::INET=GLOB(0xb1e550c)
** CLEAN SOCKET  Connection lost to server 0

CLEAN activity for buttons for server 0 as the connection was lost

65.110.29.154   &lt;= &lt;msg data="1|ping||" /&gt;

Cannot send command to  (unauthenticated or connection failed)

65.110.29.154   =&gt; { "btn": "0", "cmd": "pong", "data": "PGRpdiBpZD0iI3tpZH0iPjxhIGhyZWY9Imh0dHA6Ly93d3cuZm9wMi5jb20iPkZPUDI8L2E+IC0gVmVyc2lvbiA8c3BhbiBpZD0iZm9wdmVyc2lvbiI+I3t2ZXJzaW9ufTwvc3Bhbj4gLSBMaXRlIFZlcnNpb24gLSBMaW1pdGVkIHRvIDE1IGV4dGVuc2lvbnMgLiBCdXkgaXQgPGEgaHJlZj0iaHR0cDovL3d3dy5mb3AyLmNvbS9idXkucGhwIj5ub3c8L2E+IGZvciB1bmxpbWl0ZWQgZXh0ZW5zaW9ucy4gSWYgeW91IGFscmVhZHkgaGF2ZSBhIGNvZGUgZW50ZXIgaXQgPGEgaHJlZj0iIyIgb25DbGljaz0icmVnaXN0ZXIoKTsgcmV0dXJuIGZhbHNlOyI+aGVyZTwvYT48L2Rpdj4=", "slot": "" }

** MANAGER CONNECTION Connecting to localhost:5038 (Server 0)
** MANAGER CONNECTION Connected to localhost:5038 (Server 0)

Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)

127.0.0.1       -&gt; Action: Challenge
127.0.0.1       -&gt; AuthType: MD5

127.0.0.1       &lt;- Asterisk Call Manager/1.1
127.0.0.1       &lt;- Response: Success
127.0.0.1       &lt;- Challenge: 174705327
127.0.0.1       &lt;- Server: 0

127.0.0.1       -&gt; Action: Login
127.0.0.1       -&gt; Username: admin
127.0.0.1       -&gt; AuthType: MD5
127.0.0.1       -&gt; Key: 56275ad14818f22e950284e58c46f95b

127.0.0.1       &lt;- Response: Error
127.0.0.1       &lt;- Message: Authentication failed
127.0.0.1       &lt;- Server: 0

** CLEAN SOCKET  connection lost removing socket IO::Socket::INET=GLOB(0xa9af6f8)
** CLEAN SOCKET  Connection lost to server 0

CLEAN activity for buttons for server 0 as the connection was lost
</code></pre>
]]></description><link>http://localhost:4567/topic/860/new-install-pops-up-an-error-manager-connection-problem</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 11:56:18 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/860.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Aug 2011 21:04:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to New install pops up an error 'Manager connection problem' on Tue, 23 Aug 2011 23:57:05 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">You searched too hard, and missed the <strong>first</strong> chapter in the installation guide:</p>
<p dir="auto"><a href="http://www.fop2.com/documentation-installation-from-tarball.php" rel="nofollow ugc">http://www.fop2.com/documentation-insta ... arball.php</a></p>
<p dir="auto">Specifically. the manager credentials section, I will copy the relevant part here:</p>
<p dir="auto">Manager Credentials</p>
<p dir="auto">Before starting the service, some basic configuration is required in fop2.cfg and probably in /etc/asterisk/manager.conf, because the FOP2 daemon connects via TCP to the Asterisk Manager Interface (AMI) using a username and secret. The basic daemon config is covered [url=<a href="http://www.fop2.com/documentation-configuration-server.php:nii0nnwn" rel="nofollow ugc">http://www.fop2.com/documentation-configuration-server.php:nii0nnwn</a>]here[/url:nii0nnwn].</p>
<p dir="auto">[strip...]</p>
<p dir="auto">You can always check if the manager credentials are correctly configured, and also verify if your license is ok, by running the command:</p>
<pre><code>#&gt; /usr/local/fop2/fop2_server --test
</code></pre>
]]></description><link>http://localhost:4567/post/3814</link><guid isPermaLink="true">http://localhost:4567/post/3814</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 23 Aug 2011 23:57:05 GMT</pubDate></item></channel></rss>