<?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[Timed out waiting for challenge]]></title><description><![CDATA[<p dir="auto">What am I trying to do:</p>
<pre><code>root@asterisk1:/etc/asterisk# /usr/local/fop2/fop2_server --test
Flash Operator Panel 2 - License file fop2.lic not found.
Running in Demo Mode
EV: error in callback (ignoring): Unknown warnings category 'FOP2::AMI2' at /tmp/par-root/cache-a35c6b2917b72b70bb45f0e4dec9f6353395ad95/inc/lib/FOP2/AMI2.pm line 311
Failed to connect to asterisk - 127.0.0.1:5038
Error Message: Timed out waiting for challenge
</code></pre>
<p dir="auto">System environment:</p>
<pre><code>Debian GNU/Linux 7 asterisk1 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
Asterisk 12.0.0 built by root @ asterisk1 on a x86_64 running Linux on 2014-01-14 15:37:23 UTC
</code></pre>
<p dir="auto">NOT part of a package / freepbx etc</p>
<p dir="auto">Ports:</p>
<pre><code>Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:5038          0.0.0.0:*               LISTEN      21457/asterisk
tcp        0      0 0.0.0.0:2000            0.0.0.0:*               LISTEN      21457/asterisk
</code></pre>
<p dir="auto">Manager.conf:</p>
<pre><code>[general]
enabled = yes
port = 5038
bindaddr = 127.0.0.1

[admin]
secret = helloworld
read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
write = system,call,agent,user,config,command,reporting,originate,message
</code></pre>
<p dir="auto">fop2.cfg</p>
<pre><code>; AMI definitions
manager_host=127.0.0.1
manager_port=5038
manager_user=admin
manager_secret=helloworld
;event_mask=agent,call,command,system,user,dialplan
</code></pre>
<p dir="auto">Raw traffic:</p>
<p dir="auto">Local telnet session with manual input (&gt;):</p>
<pre><code>&lt; Asterisk Call Manager/2.0.0
&gt; Action:Login
&gt; Username:admin
&gt; Secret:helloworld

&lt; Response: Success
&lt; Message: Authentication accepted

&lt; Event: FullyBooted
&lt; Privilege: system,all
&lt; Status: Fully Booted
</code></pre>
<p dir="auto">This is the traffic on LO(calhost) TCP stream with the demo being executed, yes thats it.</p>
<pre><code>&gt; AuthType: md5
&gt; Action: Challenge
&gt; ActionID: 1

&lt; Asterisk Call Manager/2.0.0
&lt; Response: Success
&lt; ActionID: 1
&lt; Challenge: 212179247
</code></pre>
<p dir="auto">What am i doing wrong?</p>
]]></description><link>http://localhost:4567/topic/1698/timed-out-waiting-for-challenge</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 14:01:58 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1698.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Jan 2014 11:06:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Timed out waiting for challenge on Thu, 30 Jan 2014 12:49:14 GMT]]></title><description><![CDATA[<p dir="auto">Yes, the problem was the AMI Version response header.</p>
]]></description><link>http://localhost:4567/post/7377</link><guid isPermaLink="true">http://localhost:4567/post/7377</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 30 Jan 2014 12:49:14 GMT</pubDate></item><item><title><![CDATA[Reply to Timed out waiting for challenge on Thu, 30 Jan 2014 12:21:19 GMT]]></title><description><![CDATA[<p dir="auto">The resulting output:</p>
<pre><code>root@asterisk1:~# wget http://download3.fop2.com/fop2-2.27-debian-x86_64.tgz
--2014-01-30 13:14:00--  http://download3.fop2.com/fop2-2.27-debian-x86_64.tgz
Resolving download3.fop2.com (download3.fop2.com)... 69.85.88.167
Connecting to download3.fop2.com (download3.fop2.com)|69.85.88.167|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8566172 (8.2M) [application/octet-stream]
Saving to: `fop2-2.27-debian-x86_64.tgz'

100%[===================================================================&gt;] 8,566,172   1.92M/s   in 5.1s

2014-01-30 13:14:05 (1.61 MB/s) - `fop2-2.27-debian-x86_64.tgz' saved [8566172/8566172]

root@asterisk1:~# tar -xvzf fop2-2.27-debian-x86_64.tgz
[..]
fop2/server/fop2_server
root@asterisk1:~# cp fop2/server/fop2_server /usr/local/fop2/fop2_server
root@asterisk1:~# /usr/local/fop2/fop2_server -X 3
Flash Operator Panel 2 - License file fop2.lic not found.
** SSL Certificate File cannot be read (/etc/pki/tls/certs/localhost.crt). Disabling TLS.

** SSL Certificate Private Key File cannot be read (/etc/pki/tls/private/localhost.key). Disabling TLS.

127.0.0.1            -&gt; AuthType: md5
127.0.0.1            -&gt; Action: Challenge
127.0.0.1            -&gt; ActionID: 1

127.0.0.1            &lt;- Response: Success
127.0.0.1            &lt;- ActionID: 1
127.0.0.1            &lt;- Challenge: 518046693

127.0.0.1            -&gt; AuthType: md5
127.0.0.1            -&gt; Events: on
127.0.0.1            -&gt; Username: admin
127.0.0.1            -&gt; Action: login
127.0.0.1            -&gt; Key: [*Redacted*]
127.0.0.1            -&gt; ActionID: 2

127.0.0.1            &lt;- Response: Success
127.0.0.1            &lt;- ActionID: 2
127.0.0.1            &lt;- Message: Authentication accepted

127.0.0.1            -&gt; Action: Status

127.0.0.1            -&gt; Action: QueueStatus

127.0.0.1            -&gt; Action: Agents

127.0.0.1            -&gt; Action: SipPeers

127.0.0.1            -&gt; Action: IaxPeers

127.0.0.1            -&gt; Action: ParkedCalls

127.0.0.1            -&gt; Command: database show fop2notes
127.0.0.1            -&gt; Action: Command
127.0.0.1            -&gt; ActionID: 3

127.0.0.1            -&gt; Command: database show fop2state
127.0.0.1            -&gt; Action: Command
127.0.0.1            -&gt; ActionID: 4

127.0.0.1            -&gt; Action: CoreSettings
127.0.0.1            -&gt; ActionID: 5

127.0.0.1            &lt;- Event: FullyBooted
127.0.0.1            &lt;- Privilege: system,all
127.0.0.1            &lt;- Status: Fully Booted

127.0.0.1            &lt;- Response: Success
127.0.0.1            &lt;- Message: Channel status will follow

127.0.0.1            &lt;- Event: StatusComplete
127.0.0.1            &lt;- Items: 0

127.0.0.1            &lt;- Response: Success
127.0.0.1            &lt;- Message: Queue status will follow

127.0.0.1            &lt;- Event: QueueStatusComplete

127.0.0.1            &lt;- Response: Success
127.0.0.1            &lt;- Message: Agents will follow

127.0.0.1            &lt;- Event: AgentsComplete

127.0.0.1            &lt;- Response: Success
127.0.0.1            &lt;- EventList: start
127.0.0.1            &lt;- Message: Peer status list will follow

127.0.0.1            &lt;- Event: PeerlistComplete
127.0.0.1            &lt;- EventList: Complete
127.0.0.1            &lt;- ListItems: 0

127.0.0.1            &lt;- Response: Success
127.0.0.1            &lt;- EventList: start
127.0.0.1            &lt;- Message: Peer status list will follow

127.0.0.1            &lt;- Event: PeerEntry
127.0.0.1            &lt;- Channeltype: IAX2
127.0.0.1            &lt;- ObjectName: demo/asterisk
127.0.0.1            &lt;- ChanObjectType: peer
127.0.0.1            &lt;- IPaddress: [*Redacted*]
127.0.0.1            &lt;- IPport: [*Redacted*]
127.0.0.1            &lt;- Dynamic: no
127.0.0.1            &lt;- Trunk: no
127.0.0.1            &lt;- Encryption: no
127.0.0.1            &lt;- Status: Unmonitored
127.0.0.1            &lt;- Description: Demo System At Digium

127.0.0.1            &lt;- Event: PeerlistComplete
127.0.0.1            &lt;- EventList: Complete
127.0.0.1            &lt;- ListItems: 1

127.0.0.1            &lt;- Response: Success
127.0.0.1            &lt;- Message: Parked calls will follow

127.0.0.1            &lt;- Event: ParkedCallsComplete
127.0.0.1            &lt;- Total: 0

127.0.0.1            &lt;- Response: Follows
127.0.0.1            &lt;- Privilege: Command
127.0.0.1            &lt;- ActionID: 3
127.0.0.1            &lt;- 0 results found.
--END COMMAND--

127.0.0.1            &lt;- Response: Follows
127.0.0.1            &lt;- Privilege: Command
127.0.0.1            &lt;- ActionID: 4
127.0.0.1            &lt;- 0 results found.
--END COMMAND--

127.0.0.1            &lt;- Response: Success
127.0.0.1            &lt;- ActionID: 5
127.0.0.1            &lt;- AMIversion: 2.0.0
127.0.0.1            &lt;- AsteriskVersion: 12.0.0
127.0.0.1            &lt;- SystemName:
127.0.0.1            &lt;- CoreMaxCalls: 0
127.0.0.1            &lt;- CoreMaxLoadAvg: 0.000000
127.0.0.1            &lt;- CoreRunUser:
127.0.0.1            &lt;- CoreRunGroup:
127.0.0.1            &lt;- CoreMaxFilehandles: 0
127.0.0.1            &lt;- CoreRealTimeEnabled: No
127.0.0.1            &lt;- CoreCDRenabled: Yes
127.0.0.1            &lt;- CoreHTTPenabled: No
</code></pre>
<p dir="auto">This seems to be succesful.</p>
<p dir="auto">When running as server daemon I get prompted the Login details now. It seems that the problem is solved!<br />
Just out of curiousity, was the problem the response header?</p>
<p dir="auto">Thank you for this, we can now proceed with implementation tests <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title=":D" alt="😄" /></p>
]]></description><link>http://localhost:4567/post/7376</link><guid isPermaLink="true">http://localhost:4567/post/7376</guid><dc:creator><![CDATA[Hyper]]></dc:creator><pubDate>Thu, 30 Jan 2014 12:21:19 GMT</pubDate></item><item><title><![CDATA[Reply to Timed out waiting for challenge on Thu, 30 Jan 2014 12:01:18 GMT]]></title><description><![CDATA[<p dir="auto">Try downloading <a href="http://download3.fop2.com/fop2-2.27-debian-x86_64.tgz" rel="nofollow ugc">http://download3.fop2.com/fop2-2.27-debian-x86_64.tgz</a>, extract it and replace your fop2_server binary with the one from the tarball, and run it in debug level 3 ( -X 3)</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/7375</link><guid isPermaLink="true">http://localhost:4567/post/7375</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 30 Jan 2014 12:01:18 GMT</pubDate></item><item><title><![CDATA[Reply to Timed out waiting for challenge on Thu, 30 Jan 2014 07:55:06 GMT]]></title><description><![CDATA[<p dir="auto">Nicolás, I understand your situation. We really appreciate the help and we are trying to be as verbose as we can on this.</p>
<p dir="auto">We're building a test setup to implement in our callcenter/support setup.</p>
<p dir="auto">If this issue is indeed the one you suggest, this problem will persist in all future versions of Asterisk and it is worth looking into. Could you post your findings and a possible fix?</p>
]]></description><link>http://localhost:4567/post/7374</link><guid isPermaLink="true">http://localhost:4567/post/7374</guid><dc:creator><![CDATA[Hyper]]></dc:creator><pubDate>Thu, 30 Jan 2014 07:55:06 GMT</pubDate></item><item><title><![CDATA[Reply to Timed out waiting for challenge on Mon, 27 Jan 2014 20:35:55 GMT]]></title><description><![CDATA[<p dir="auto">I am helping you all I can in a very limited medium like this forum. It is really hard and slow  to troubleshoot interactive protocols via forum posts.</p>
<p dir="auto">I do not see the challenge response in the fop2 capture log, so it is not the same you had before. For some reason, there is no challenge response captured/received by fop2.</p>
<p dir="auto">I do notice a difference that might lead to problems, the Call Manager version advertisement includes a 3 digit, compare this:</p>
<p dir="auto">Asterisk Call Manager/1.3</p>
<p dir="auto">to</p>
<p dir="auto">Asterisk Call Manager/2.0.0</p>
<p dir="auto">That <em>could</em> be an issue, but I have to test it out locally/further.</p>
]]></description><link>http://localhost:4567/post/7373</link><guid isPermaLink="true">http://localhost:4567/post/7373</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 27 Jan 2014 20:35:55 GMT</pubDate></item><item><title><![CDATA[Reply to Timed out waiting for challenge on Mon, 27 Jan 2014 08:10:18 GMT]]></title><description><![CDATA[<p dir="auto">As quoted above:<br />
Asterisk <strong>12.0.0</strong> built by root @ asterisk1 on a x86_64 running Linux on 2014-01-14 15:37:23 UTC</p>
<p dir="auto">Regarding the results of the commandline execution, nothing unexpected, the output was already verified on TCP level.</p>
<pre><code>Flash Operator Panel 2 - License file fop2.lic not found.
** SSL Certificate File cannot be read (/etc/pki/tls/certs/localhost.crt). Disabling TLS.

** SSL Certificate Private Key File cannot be read (/etc/pki/tls/private/localhost.key). Disabling TLS.

127.0.0.1            -&gt; AuthType: md5
127.0.0.1            -&gt; Action: Challenge
127.0.0.1            -&gt; ActionID: 1

EV: error in callback (ignoring): Unknown warnings category 'FOP2::AMI2' at /tmp/par-root/cache-a35c6b2917b72b70bb45f0e4dec9f6353395ad95/inc/lib/FOP2/AMI2.pm line 311
Failed to connect to asterisk - 127.0.0.1:5038
Error Message: Timed out waiting for challenge
Error occured on socket FOP2::AMI2=HASH(0x326b310)
CLEAN activity for buttons for server 127.0.0.1 as the connection was lost

127.0.0.1            -&gt; AuthType: md5
127.0.0.1            -&gt; Action: Challenge
127.0.0.1            -&gt; ActionID: 1

EV: error in callback (ignoring): Unknown warnings category 'FOP2::AMI2' at /tmp/par-root/cache-a35c6b2917b72b70bb45f0e4dec9f6353395ad95/inc/lib/FOP2/AMI2.pm line 311
Failed to connect to asterisk - 127.0.0.1:5038
Error Message: Timed out waiting for challenge
Error occured on socket FOP2::AMI2=HASH(0x326b760)
CLEAN activity for buttons for server 127.0.0.1 as the connection was lost

127.0.0.1            -&gt; AuthType: md5
127.0.0.1            -&gt; Action: Challenge
127.0.0.1            -&gt; ActionID: 1

EV: error in callback (ignoring): Unknown warnings category 'FOP2::AMI2' at /tmp/par-root/cache-a35c6b2917b72b70bb45f0e4dec9f6353395ad95/inc/lib/FOP2/AMI2.pm line 311
^CRemoving /var/www/html/fop2/fop2-variablesGENERAL.txt...

Disconnecting from settings DB

Exiting...
</code></pre>
<p dir="auto">Can you help me any further than this?</p>
]]></description><link>http://localhost:4567/post/7372</link><guid isPermaLink="true">http://localhost:4567/post/7372</guid><dc:creator><![CDATA[Hyper]]></dc:creator><pubDate>Mon, 27 Jan 2014 08:10:18 GMT</pubDate></item><item><title><![CDATA[Reply to Timed out waiting for challenge on Fri, 24 Jan 2014 02:22:55 GMT]]></title><description><![CDATA[<p dir="auto">Try to run fop2 in debug mode:</p>
<p dir="auto">/usr/local/fop2/fop2_server -X 3</p>
<p dir="auto">What do you see there? Also, what asterisk version are you using?</p>
]]></description><link>http://localhost:4567/post/7371</link><guid isPermaLink="true">http://localhost:4567/post/7371</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 24 Jan 2014 02:22:55 GMT</pubDate></item></channel></rss>