Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

AHN app cannot connect to sandbox

#61

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.

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

State: resolved
Milestone: none
Assigned to: Jay Phillips Jay Phillips

Activity

  1. jsgoecke
    jsgoecke

    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.

    March 14th, 2009 @ 08:36 PM

  2. Ahmed Al Hafoudh
    Ahmed Al Hafoudh

    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.

    March 15th, 2009 @ 03:59 AM

  3. Ahmed Al Hafoudh
    Ahmed Al Hafoudh

    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
    

    March 15th, 2009 @ 04:00 AM

  4. Jay Phillips
    Jay Phillips
    • 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?

    March 24th, 2009 @ 06:45 PM

  5. Ahmed Al Hafoudh
    Ahmed Al Hafoudh

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

    March 25th, 2009 @ 02:25 AM

  6. Jay Phillips
    Jay Phillips

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

    March 25th, 2009 @ 02:58 AM

  7. Ahmed Al Hafoudh
    Ahmed Al Hafoudh

    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]

    March 25th, 2009 @ 03:17 AM

  8. Jay Phillips
    Jay Phillips
    • 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...

    April 23rd, 2009 @ 08:47 PM

  9. Ben Klang
    Ben Klang
    • State changed from open to resolved

    Closing for inactivity.

    June 22nd, 2010 @ 03:30 PM

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.