http problem

Anders Nygren anders.nygren@REDACTED
Wed Mar 2 02:36:16 CET 2005


Hi
I have a program that does    
    URL="http://148.233.175.237:80/callejero/callejeroXMLfeed2.asp?name=ford&cp=01020&tu=3"
    Headers=[],
    Request={URL,Headers},
    Timeout=Srv_config#http_server.timeout,
    Reply=http:request(get,Request,[{timeout,Timeout}],[]) ,

On linux with otp-R10B-0 Erlang (BEAM) emulator version 5.4 [source]
[hipe] it works fine.
But on Windows XP otp-R10B-3 Erlang 5.4.3 it crashes like shown below.

Does anyone have any ideas what can be wrong?

/Anders Nygren


=ERROR REPORT==== 1-Mar-2005::18:58:32 ===
** Generic server httpc_manager terminating
** Last message in was {request,{request,
                                    undefined,
                                    <0.117.0>,
                                    0,
                                    http,
                                    {"148.233.175.237",80},
                                    "/callejero/callejeroXMLfeed2.asp",
                                    "?name=ford&cp=01020&tu=3",
                                    get,
                                    {http_request_h,
                                        undefined,
                                        "keep-alive",
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        "148.233.175.237",
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        [],
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        "0",
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        undefined,
                                        []},
                                    {[],[]},
                                    {http_options,5000,true,[],false,false}}}
** When Server state == {state,[],50,{options,{undefined,[]},3,400}}
** Reason for termination ==
** {{badmatch,{error,badarg}},
    [{httpc_manager,handle_request,2},
     {gen_server,handle_msg,6},
     {proc_lib,init_p,5}]}



More information about the erlang-questions mailing list