Jack, if you run "faxien ur faxien" you should be upgraded to the
latest version.  I have fixed the request timeout issue.  Let me know
if it works for you and if setting a larger timeout actually fixes
your issue.

Cheers,
Martin

On Thu, Sep 10, 2009 at 8:24 AM, jack.tang <[email protected]> wrote:
>
>
>
> On Sep 9, 3:31 am, Martin Logan <[email protected]> wrote:
>> I think the 404 you are seeing is for when faxien searches and tries
>> to pull other versions of compiled erts.  The first one, the one I
>> posted is the one it needs to succeed on. I run the same architecture
>> as you and just pulled sinan with no problems. The fact that it took
>> 60 seconds to download manually is surprising to me as well.  I wonder
>> if it is not a speed thing.  Lets try upping the timeout a bit.
>>
>> run the following
>>
>> faxien set-request-timeout 500000
>> faxien ir sinan
>
> Hi Martin
>
>  faxien set-request-timeout 500000 seems does not effect the
> requesting timeout,  see the logging
>
> =INFO REPORT==== 10-Sep-2009::21:22:39 ===
> fetching from the following pos locations ["/5.7.2/i686-pc-linux-gnu-
> glibc-2.3",
>                                           "/5.7.2/i686-pc-linux-gnu-
> glibc-2.2",
>                                           "/5.7.2/i686-pc-linux-gnu-
> glibc-2.1",
>                                           "/5.7.2/i686-pc-linux-gnu-
> glibc-2.0"]
>
> =INFO REPORT==== 10-Sep-2009::21:22:39 ===
> ewr_repo_dav:repo_get("http://repo.erlware.org/pub";, "/5.7.2/i686-pc-
> linux-gnu-glibc-2.3/erts.tar.gz", 120000)
>
> /Jack
>>
>> and see if it does not work
>>
>>
>>
>> On Tue, Sep 8, 2009 at 11:56 AM, jack.tang<[email protected]> wrote:
>>
>> > And from the error log, i dont think the http request is timeout, the
>> > lighttpd server response 404 - Not Found.
>> > So could you pls post the code of ewr_repo_dav:repo_get function?
>>
>> > Regards
>> > /Jack
>>
>> > On Sep 8, 11:49 pm, Martin Logan <[email protected]> wrote:
>> >> This is quite odd that it can't pull it down but it looks like the request
>> >> is timing out.  The lines below show that it is trying to pull from the
>> >> right place but timing out after 2 minutes of trying - is that what you 
>> >> are
>> >> seeing?  The port being used is just port 8 and this is a standard get. I
>> >> seem to be able to pull with curl no problem.  Do you have the same
>> >> experience on your end?
>>
>> >> =INFO REPORT==== 8-Sep-2009::13:23:56 ===
>> >> ewr_repo_dav:repo_get("http://repo.erlware.org/pub";, "/5.7.2/i686-pc-
>> >> linux-gnu-glibc-2.3/erts.tar.gz", 120000)
>>
>> >> =INFO REPORT==== 8-Sep-2009::13:25:56 ===
>> >> ewr_repo_dav:handle_ibrowse_return/2 -> {error,req_timedout}
>>
>> >> On Tue, Sep 8, 2009 at 12:28 AM, jack.tang <[email protected]> wrote:
>>
>> >> > /tmp/faxien.err_log
>> >> > ------------------------------------
>>
>> >> > =INFO REPORT==== 8-Sep-2009::13:23:49 ===
>> >> > faxien:cmdln_apply/1 (line 182) Faxien-0.42.1.2 running mod:func
>> >> > faxien:'install-release' with raw args from commandline: [sinan]
>>
>> >> > =INFO REPORT==== 8-Sep-2009::13:23:49 ===
>> >> > epkg_cmdln:convert_string_to_terms/1 (line 314) arg string "sinan"
>>
>> >> > =INFO REPORT==== 8-Sep-2009::13:23:49 ===
>> >> > epkg_cmdln:convert_string_to_terms/1 (line 320) scanning and parsing
>> >> > "sinan. "
>>
>> >> > =INFO REPORT==== 8-Sep-2009::13:23:49 ===
>> >> > fax_util:find_highest_vsn2/5 (line 131) Target erts versions to search
>> >> > are ["5.7.2",
>>
>> >> > "5.7.1",
>>
>> >> > "5.7",
>>
>> >> > "5.6.5",
>>
>> >> > "5.6.4",
>>
>> >> > "5.6.3"]
>>
>> >> > =INFO REPORT==== 8-Sep-2009::13:23:49 ===
>> >> > fax_util:find_em_in_order/6 (line 150) suffixes to check are first ["/
>> >> > 5.7.2/Generic/releases/sinan/",
>> >> >                                                                    "/
>> >> > 5.7.1/Generic/releases/sinan/",
>> >> >                                                                    "/
>> >> > 5.7/Generic/releases/sinan/"]
>> >> >  if nothing found then ["/5.7.2/i686-pc-linux-gnu-glibc-2.3/releases/
>> >> > sinan/",
>> >> >                        "/5.7.2/i686-pc-linux-gnu-glibc-2.2/releases/
>> >> > sinan/",
>> >> >                        "/5.7.1/i686-pc-linux-gnu-glibc-2.3/releases/
>> >> > sinan/",
>> >> >                        "/5.7.1/i686-pc-linux-gnu-glibc-2.2/releases/
>> >> > sinan/",
>> >> >                        "/5.7/i686-pc-linux-gnu-glibc-2.3/releases/
>> >> > sinan/",
>> >> >                        "/5.7/i686-pc-linux-gnu-glibc-2.2/releases/
>> >> > sinan/"]
>> >> >  and if nothing then finally ["/5.7.2/i686-pc-linux-gnu-glibc-2.1/
>> >> > releases/sinan/",
>> >> >                              "/5.7.2/i686-pc-linux-gnu-glibc-2.0/
>> >> > releases/sinan/",
>> >> >                              "/5.7.1/i686-pc-linux-gnu-glibc-2.1/
>> >> > releases/sinan/",
>> >> >                              "/5.7.1/i686-pc-linux-gnu-glibc-2.0/
>> >> > releases/sinan/",
>> >> >                              "/5.7/i686-pc-linux-gnu-glibc-2.1/
>> >> > releases/sinan/",
>> >> >                              "/5.7/i686-pc-linux-gnu-glibc-2.0/
>> >> > releases/sinan/",
>> >> >                              "/5.6.5/Generic/releases/sinan/",
>> >> >                              "/5.6.5/i686-pc-linux-gnu-glibc-2.3/
>> >> > releases/sinan/",
>> >> >                              "/5.6.5/i686-pc-linux-gnu-glibc-2.2/
>> >> > releases/sinan/",
>> >> >                              "/5.6.5/i686-pc-linux-gnu-glibc-2.1/
>> >> > releases/sinan/",
>> >> >                              "/5.6.5/i686-pc-linux-gnu-glibc-2.0/
>> >> > releases/sinan/",
>> >> >                              "/5.6.4/Generic/releases/sinan/",
>> >> >                              "/5.6.4/i686-pc-linux-gnu-glibc-2.3/
>> >> > releases/sinan/",
>> >> >                              "/5.6.4/i686-pc-linux-gnu-glibc-2.2/
>> >> > releases/sinan/",
>> >> >                              "/5.6.4/i686-pc-linux-gnu-glibc-2.1/
>> >> > releases/sinan/",
>> >> >                              "/5.6.4/i686-pc-linux-gnu-glibc-2.0/
>> >> > releases/sinan/",
>> >> >                              "/5.6.3/Generic/releases/sinan/",
>> >> >                              "/5.6.3/i686-pc-linux-gnu-glibc-2.3/
>> >> > releases/sinan/",
>> >> >                              "/5.6.3/i686-pc-linux-gnu-glibc-2.2/
>> >> > releases/sinan/",
>> >> >                              "/5.6.3/i686-pc-linux-gnu-glibc-2.1/
>> >> > releases/sinan/",
>> >> >                              "/5.6.3/i686-pc-linux-gnu-glibc-2.0/
>> >> > releases/sinan/"]
>>
>> >> > =INFO REPORT==== 8-Sep-2009::13:23:49 ===
>> >> > fax_util:find_em/4 (line 166) searching the following block of
>> >> > suffixes: ["/5.7.2/Generic/releases/sinan/",
>>
>> >> > "/5.7.1/Generic/releases/sinan/",
>>
>> >> > "/5.7/Generic/releases/sinan/"]
>>
>> >> > =INFO REPORT==== 8-Sep-2009::13:23:49 ===
>> >> > fax_util:'-find_em/4-fun-0-'/4 (line 169) Checking for highest version
>> >> > of "sinan" inhttp://repo.erlware.org/pub/5.7.2/Generic/releases/sinan/
>>
>> >> > =ERROR REPORT==== 8-Sep-2009::13:23:50 ===
>> >> > fax_util:repo_list/2 (line 324) repo_list("http://repo.erlware.org/pub/
>> >> > 5.7.2/Generic/releases/sinan/") -> "success:207"
>>
>> >> > =INFO REPORT==== 8-Sep-2009::13:23:50 ===
>> >> > fax_util:'-find_em/4-fun-0-'/4 (line 173) found vsns
>> >> > ["0.16.0.4","0.16.1.0",
>> >> >                                                      "0.16.1.1"]
>>
>> >> > =INFO REPORT==== 8-Sep-2009::13:23:50 ===
>> >> > fax_util:'-find_em/4-fun-0-'/4 (line 169) Checking for highest version
>> >> > of "sinan" inhttp://repo.erlware.org/pub/5.7.1/Generic/releases/sinan/
>>
>> >> > =ERROR REPORT==== 8-Sep-2009::13:23:51 ===
>> >> > fax_util:repo_list/2 (line 324) repo_list("http://repo.erlware.org/pub/
>> >> > 5.7.1/Generic/releases/sinan/") -> "success:207"
>>
>> >> > =INFO REPORT==== 8-Sep-2009::13:23:51 ===
>> >> > fax_util:'-find_em/4-fun-0-'/4 (line 173) found vsns
>> >> > ["0.14.0.3","0.14.0.4",
>>
>> >> > "0.15.0.0","0.15.0.1",
>>
>> >> > "0.16.0.1","0.16.0.3"]
>>
>> >> > =INFO REPORT==== 8-Sep-2009::13:23:51 ===
>> >> > fax_util:'-find_em/4-fun-0-'/4 (line 169) Checking for highest version
>> >> > of "sinan" inhttp://repo.erlware.org/pub/5.7/Generic/releases/sinan/
>>
>> >> > =ERROR REPORT==== 8-Sep-2009::13:23:52 ===
>> >> > fax_util:repo_list/2 (line 327) repo_list("http://repo.erlware.org/pub/
>> >> > 5.7/Generic/releases/sinan/") -> {ok,
>>
>> >> > "404",
>>
>> >> > [{"Content-Type",
>>
>> >> > "text/html"},
>>
>> >> > {"Content-Length",
>>
>> >> > "345"},
>>
>> >> > {"Date",
>>
>> >> > "Tue, 08 Sep 2009 05:01:37 GMT"},
>>
>> >> > {"Server",
>>
>> >> > "lighttpd/1.4.19"}],
>>
>> >> > "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<!DOCTYPE html
>> >> > PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n         \"http://
>> >> >www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=
>> >> > \"http://www.w3.org/1999/xhtml\"; xml:lang=\"en\" lang=\"en\">\n <head>
>> >> > \n  <title>404 - Not Found</title>\n </head>\n <body>\n  <h1>404 - Not
>> >> > Found</h1>\n </body>\n</html>\n"}
>>
>> >> > =INFO REPORT==== 8-Sep-2009::13:23:52 ===
>> >> > fax_util:find_highest_vsn2/5 (line 146) vsns from ["http://
>> >> > repo.erlware.org/pub"] are [{"http://repo.erlware.org/pub";,
>>
>> >> > "0.16.0.3",
>>
>> >> > "5.7.1"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.16.0.1",
>>
>> >> > "5.7.1"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.15.0.1",
>>
>> >> > "5.7.1"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.15.0.0",
>>
>> >> > "5.7.1"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.14.0.4",
>>
>> >> > "5.7.1"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.14.0.3",
>>
>> >> > "5.7.1"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.16.1.1",
>>
>> >> > "5.7.2"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.16.1.0",
>>
>> >> > "5.7.2"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.16.0.4",
>>
>> >> > "5.7.2"}]
>>
>> >> > =INFO REPORT==== 8-Sep-2009::13:23:52 ===
>> >> > fax_util:find_highest_remote_vsn_under_threshold/2 (line 217)
>> >> > find_highest_vsn list of remote versions [{"http://repo.erlware.org/
>> >> > pub",
>>
>> >> > "0.16.0.3",
>>
>> >> > "5.7.1"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.16.0.1",
>>
>> >> > "5.7.1"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.15.0.1",
>>
>> >> > "5.7.1"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.15.0.0",
>>
>> >> > "5.7.1"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.14.0.4",
>>
>> >> > "5.7.1"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.14.0.3",
>>
>> >> > "5.7.1"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.16.1.1",
>>
>> >> > "5.7.2"},
>>
>> >> > {"http://repo.erlware.org/pub";,
>>
>> >> > "0.16.1.0",
>>
>> >> > "5.7.2"},
>>
>> ...
>>
>> read more »
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlware-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/erlware-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to