[erlang-questions] ibrowse try #2

Wes James <>
Sat Apr 24 00:47:01 CEST 2010


On Fri, Apr 23, 2010 at 4:41 PM, Andrei Soroker <> wrote:
> Make sure to start it first: ibrowse:start().
>
> Andrei


Andrei,  thx - I'm getting closer:

1> ibrowse:start().
{ok,<0.34.0>}
2> ibrowse:send_req("http://www.google.com/", [], get).

=ERROR REPORT==== 23-Apr-2010::16:43:16 ===
** Generic server <0.36.0> terminating
** Last message in was {spawn_connection,
                           {url,"http://www.google.com/","www.google.com",80,
                               undefined,undefined,"/",http},
                           10,10,
                           {[],false}}
** When Server state == {state,<0.34.0>,16403,"www.google.com",80,10,10,0}
** Reason for termination ==
** {'module could not be loaded',
       [{ibrowse_http_client,start_link,
            [{16403,
              {url,"http://www.google.com/","www.google.com",80,undefined,
                  undefined,"/",http},
              {[],false}}]},
        {ibrowse_lb,handle_call,3},
        {gen_server,handle_msg,5},
        {proc_lib,init_p_do_apply,3}]}
** exception exit: {{undef,
                        [{ibrowse_http_client,start_link,
                             [{16403,

{url,"http://www.google.com/","www.google.com",80,undefined,
                                   undefined,"/",http},
                               {[],false}}]},
                         {ibrowse_lb,handle_call,3},
                         {gen_server,handle_msg,5},
                         {proc_lib,init_p_do_apply,3}]},
                    {gen_server,call,
                        [<0.36.0>,
                         {spawn_connection,

{url,"http://www.google.com/","www.google.com",80,undefined,
                                 undefined,"/",http},
                             10,10,
                             {[],false}}]}}
     in function  gen_server:call/2
     in call from ibrowse:send_req/6
3>


Do I need to start something else?  Is there a place for this list for
send code/errors so the whole chunk is not in the email?

thx,

-wes


More information about the erlang-questions mailing list