#61 ✓resolved
Ahmed Al Hafoudh

AHN app cannot connect to sandbox

Reported by Ahmed Al Hafoudh | March 14th, 2009 @ 06:09 PM

I start my application with sandbox component enabled and username/password set and i get this output:

INFO ahn: Adhearsion initialized! INFO sandbox: Fetching sandbox connection information INFO sandbox: Connecting to sandbox.adhearsion.com:20000 DEBUG sandbox: Establishing outbound AGI socket

and from this point iam stuck.

Normally this would end up in response loop:

sandbox.rb#57

          unless response
            ahn_log.sandbox "Communication with the sandbox ended before receiving any response. Trying again in 10 seconds."
            sleep 10
            next
          end

but the

sandbox.rb#56: response = socket.gets

is the problem. Script cannot pass this line.

Comments and changes to this ticket

  • jsgoecke

    jsgoecke March 14th, 2009 @ 08:36 PM

    What exactly is happening here as it is not clear from the ticket. Right now the sandbox is working, so if you could try again and provide your whole log after a dial attempt that would be great.

    Thanks.

  • Ahmed Al Hafoudh

    Ahmed Al Hafoudh March 15th, 2009 @ 03:59 AM

    I simply cannot get pass through line 56 in sandbox.rb. I dont get any response from server after sending identifying_hash. My output:

    alhafoudh@Aluminium:~/Projects/asterisk/my_test$ ahn - INFO ahn: Adhearsion initialized! INFO sandbox: Fetching sandbox connection information INFO sandbox: Connecting to sandbox.adhearsion.com:20000 DEBUG sandbox: Establishing outbound AGI socket

    And I am stuck here.

  • Ahmed Al Hafoudh

    Ahmed Al Hafoudh March 15th, 2009 @ 04:00 AM

    Sorry, i forgot formatting:

    
    alhafoudh@Aluminium:~/Projects/asterisk/my_test$ ahn -
     INFO ahn: Adhearsion initialized!
     INFO sandbox: Fetching sandbox connection information
     INFO sandbox: Connecting to sandbox.adhearsion.com:20000
    DEBUG sandbox: Establishing outbound AGI socket
    
  • Jay Phillips

    Jay Phillips March 24th, 2009 @ 06:45 PM

    • Milestone cleared.
    • State changed from “new” to “open”

    I think this may have been an issue with our server. Are you still having this issue Ahmed?

  • Ahmed Al Hafoudh

    Ahmed Al Hafoudh March 25th, 2009 @ 02:25 AM

    Hi Jay, I am sorry to tell, but I end up the same as before :( I am stuck on socket.gets in sandbox.rb

  • Jay Phillips

    Jay Phillips March 25th, 2009 @ 02:58 AM

    Are you doing this on Windows? What version of Ruby are you using?

  • Ahmed Al Hafoudh

    Ahmed Al Hafoudh March 25th, 2009 @ 03:17 AM

    I am using Mac OS X 10.5.6

    Darwin Aluminium 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 i386 ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]

  • Jay Phillips

    Jay Phillips April 23rd, 2009 @ 08:47 PM

    • Tag changed from agi, sandbox to sandbox

    Ahmed, are you still having this issue? It may have been someone on our backend that we've now fixed...

  • Ben Klang

    Ben Klang June 22nd, 2010 @ 03:30 PM

    • State changed from “open” to “resolved”

    Closing for inactivity.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Tags

Pages