Opened 3 years ago

Closed 3 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:

Description

  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
    java.io.IOException: Invalid HTTP response code: 500 Internal Error
    	at net.i2p.util.EepGet.readHeaders(EepGet.java:1079)
    	at net.i2p.util.EepGet.doFetch(EepGet.java:701)
    	at net.i2p.util.EepGet.doFetch(EepGet.java:780)
    	at net.i2p.util.EepGet.fetch(EepGet.java:642)
    	at syndie.db.IndexFetcher$1.run(IndexFetcher.java:150)
    	at java.lang.Thread.run(Thread.java:745)
    
    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 [http://127.0.0.1:8888/USK@xQyCqp8UMOy7WH7xlB2TYJcq8USrSAEIIsuaKWGIhJQ,OQePKNqZSRdRJqWUF19LBN6zuohC10QJLHcAWQYMxiY,AQACAAE/archive/-1/shared-index.dat?forcedownload] after 0 and 1 attempts
    2016/08/10 16:13:58.125  Fetch attempt failed [http://127.0.0.1:8888/USK@xQyCqp8UMOy7WH7xlB2TYJcq8USrSAEIIsuaKWGIhJQ,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: 
    USK@Lz-mIQ0mpxPvfreEhzjlaHxzb-wuaa~AB9E0lzF6MGY,2XoMBNm9OR0iQ-rZTreI5K3XfoYTR~D8o89lotuLtx0,AQECAAE/archive/
    Note: the button [x] 'Read only' will automatically switch to '[x] Write only'
    - 'FCP host' is preset with '127.0.0.1'
    - 'Port' is preset with '9481'
    4. click the button 'Save'
    - Archive URL : USK@xQyCqp8UMOy7WH7xlB2TYJcq8USrSAEIIsuaKWGIhJQ,OQePKNqZSRdRJqWUF19LBN6zuohC10QJLHcAWQYMxiY,AQACAAE/archive/
    - Proxy Host: you can leave empty (default value is 127.0.0.1)
    - Port: leave empty (default value is 9481 ? or 8888 ?)
    5. click the button 'Save'
    6. to syndicate, Freenet must be running (wait many minutes).
    

Subtickets

Change History (1)

comment:1 Changed 3 years ago by zzz

  • Resolution set to not our bug
  • Status changed from new to closed

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.