On Tuesday 15 October 2002 13:57, you wrote:

> > At 19.57 14/10/02 -0400, you wrote:
> >On Monday 14 October 2002 15:37, Marco wrote:
> >> With several node (513 & 515) when trying to recover a FEC
> >>  key, I always have one of this two error
>
> ....
>
> >> There is trouble on the FEC decoder ?
> >
> >Try this test:
> >0) Insert a > 1MB file into your local node from the fproxy web interface
> > at at htl 0.
>
> Insert Status
> Inserting a split file can consume a lot of resources.  Use the link
> below if you want to stop the insert cleanly. <p>
> <p><a href="/__INTERNAL__00/8709853646532201078/cancel/">Cancel Insert</a>
> </p>
>
> Inserting SplitFile: ginotalibano
>
> Processing segment 1 of 1.
> Creating 4 262144 byte check blocks.
> Be patient. This can take a long time...
> UNEXPECTED EXCEPTION: java.io.FileNotFoundException: /tmpbffile_1
> (Permission denied) java.io.FileNotFoundException: /tmpbffile_1 (Permission
> denied)
>         at java.io.FileOutputStream.open(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:176)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
>         at freenet.support.FileBucket.getOutputStream(FileBucket.java:42)
>         at FECUtils.makeBuckets(FECUtils.java:243)
>         at OnionFECEncoder.encode(OnionFECEncoder.java:92)
>         at freenet.client.FECTools.encodeSegment(FECTools.java:221)
>         at
> freenet.client.http.InsertContext.insertSplitFileSegment(InsertContext.java
>:403) at
> freenet.client.http.InsertContext.insertSplitFileBlocks(InsertContext.java:
>443) at freenet.client.http.InsertContext.run(InsertContext.java:604) at
> java.lang.Thread.run(Thread.java:536)
>
> <h1> Insert Failed. </h1>
>
> ..... and, yes, /tmp *is* world writable & empty ....

You need trailing slashes. e.g.

FECTempDir=/tmp/
# LOOK-----------^
mainport.params.servlet.1.params.tempDir=/tmp/
# LOOK------------------------------------------^


>
> >1) Request it from your local node.
>
> Not work, fproxy returns immediatly the normal screen
>  if I use a tunneled node.
>
> It is my opinion (is not related to this FEC problem) that
>  fproxy is *more broken than ever*.
>
> try this:
>
> http://bespin.homelinux.net:443  tunneled mainport
> http://bespin.homelinux.net:444  tunneled nodestatus
> http://bespin.homelinux.net:8888 not tunneled mainport
>
> I am able to insert only using 8888, 443 returns immediatly a windows
>  "server closed connection"
I have no idea what your problem is.

What do you see in the freenet.log file? Is there even an acknowledgement of 
the tunneled request? If not, your tunneling configuration is probably wrong.


>
> >Here's my best guess.
> >
> >I think what is probably happening is that you are requesting a FEC split
> >file that was encoded with an obsolete encoder, fproxy can't get a decoder
> > so treats it as a non-redundant split-file, and hits a bug somewhere in
> > the non-redundant downloading codepath.
> >
> >I'll look into this.  If there's a bug I'll clean it up.
> >
> >But the real solution is to get content authors to insert files using the
> > new FEC code.  fproxy is using the new code so any FEC files inserted via
> > fproxy should be retrievable by fproxy.  fish's FCP based command line
> > tools should be using the new encoders too, though I haven't looked at
> > them lately.
>
> I attach my config file, just in case.
>
> I'm using fcptools from snapshot dir to inser; there is a better suited
>  tool for FEC insert ?
fcptools don't do FEC at all (unless they have been updated recently.)

fproxy is probably your best choice for now.  Or maybe fishes tools but I 
haven't tested them lately.

>
> Are the FEC related lines of my config correct ?
They look fine. These are just the defaults.

By they way, these lines don't do anything.
All the per port configuration is done on mainport now, since nodeinfo and 
fproxy now "live" in the MultipleHttpServletContainer (i.e. mainport).

# have no effect !
nodeinfo.allowedHosts=127.0.0.1
fproxy.allowedHosts=127.0.0.1

>
> Ciao.   Marco

----------------------------------------
Content-Type: application/octet-stream; charset="us-ascii"; 
name="freenet.conf"
Content-Transfer-Encoding: base64
Content-Description: 
----------------------------------------

_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to