#61 ✓resolved
Ahmed Al Hafoudh

AHN app cannot connect to sandbox

Reported by Ahmed Al Hafoudh | 2009-03-14 18:09:37 UTC

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 2009-03-14 20:36:39 UTC

    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 2009-03-15 03:59:01 UTC

    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 2009-03-15 04:00:38 UTC

    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 2009-03-24 18:45:29 UTC

    • 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 2009-03-25 02:25:28 UTC

    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 2009-03-25 02:58:48 UTC

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

  • Ahmed Al Hafoudh

    Ahmed Al Hafoudh 2009-03-25 03:17:22 UTC

    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 2009-04-23 20:47:09 UTC

    • 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 2010-06-22 15:30:29 UTC

    • 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