Opened 5 years ago

Closed 5 years ago

#1833 closed defect (not our bug)

Syndie v1.106b-4 and Freenet: '500 Internal Error' if Java v1.8 instead of 1.7

Reported by: hummingbird Owned by: zzz
Priority: major Milestone: undecided
Component: apps/syndie Version: 0.9.26
Keywords: Cc:
Parent Tickets: Sensitive: no


  1. The Syndie located on this PC can read and write to the Freenet archive :
    java -version
    java version "1.7.0_101"
    OpenJDK Runtime Environment (IcedTea 2.6.6) (7u101-2.6.6-0ubuntu0.14.04.1)
    OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
  1. The Syndie located on this PC can only write to the Freenet archive :
    java -version
    openjdk version "1.8.0_91"
    OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~14.04-b14)
    OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
    2016/08/10 16:13:58.130  loadDataRoot(Archive 'Freenet unamed read': USK@xQyCqp8UMOy7WH7xlB2TYJcq8USrSAEIIsuaKWGIhJQ,OQePKNqZSRdRJqWUF19LBN6zuohC10QJLHcAWQYMxiY,AQACAAE/archive/): nextTime in -116769ms
    2016/08/10 16:13:58.125  archiveUpdated(Archive 'Freenet unamed read': USK@xQyCqp8UMOy7WH7xlB2TYJcq8USrSAEIIsuaKWGIhJQ,OQePKNqZSRdRJqWUF19LBN6zuohC10QJLHcAWQYMxiY,AQACAAE/archive/)
    2016/08/10 16:13:58.125  SyncArchive: index fetch complete for Freenet unamed read
    2016/08/10 16:13:58.125 Invalid HTTP response code: 500 Internal Error
    	at net.i2p.util.EepGet.readHeaders(
    	at net.i2p.util.EepGet.doFetch(
    	at net.i2p.util.EepGet.doFetch(
    	at net.i2p.util.EepGet.fetch(
    	at syndie.db.IndexFetcher$
    2016/08/10 16:13:58.125  index fetch failed for Freenet unamed read: Unable to fetch
    2016/08/10 16:13:58.125  Fetch totally failed [,OQePKNqZSRdRJqWUF19LBN6zuohC10QJLHcAWQYMxiY,AQACAAE/archive/-1/shared-index.dat?forcedownload] after 0 and 1 attempts
    2016/08/10 16:13:58.125  Fetch attempt failed [,OQePKNqZSRdRJqWUF19LBN6zuohC10QJLHcAWQYMxiY,AQACAAE/archive/-1/shared-index.dat?forcedownload] after 0
    2016/08/10 16:13:01.508  archive fetch already in progress: Freenet unamed read inprogress?true complete? false
  1. (My) How to setup Syndie (v1.106) in order to use a archive located in Freenet :
    1. Tab 'Syndicate', click the button 'Add archive', the window 'HTTP Achive' does open
    - Name: Freenet_unnamed
    - Public key:  USK@xQyCqp8UMOy7WH7xlB2TYJcq8USrSAEIIsuaKWGIhJQ,OQePKNqZSRdRJqWUF19LBN6zuohC10QJLHcAWQYMxiY,AQACAAE/archive/
    2. Click the button 'Advanced' > 'Configure freenet settings'
    3. A new window does open ('Freenet configuration').
    - Private key, paste: 
    Note: the button [x] 'Read only' will automatically switch to '[x] Write only'
    - 'FCP host' is preset with ''
    - 'Port' is preset with '9481'
    4. click the button 'Save'
    - Proxy Host: you can leave empty (default value is
    - Port: leave empty (default value is 9481 ? or 8888 ?)
    5. click the button 'Save'
    6. to syndicate, Freenet must be running (wait many minutes).


Change History (1)

comment:1 Changed 5 years ago by zzz

Resolution: not our bug
Status: newclosed

As can be seen at EepGet?.java line 1079, the "500" and "Internal Error" are the actual HTTP response code and text returned from freenet. So it's their error, not ours. Freenet is of course also in java, so perhaps it has some issue with your Java 8. Perhaps the freenet logs will have more info. After skimming through our IndexFetcher?.java, the requested index URI looks right.

Closing not-our-bug for now, please reopen if that's proven wrong.

Note: See TracTickets for help on using tickets.