Hello, let me describe whats going on.
I have a mac running leopard (osx 10.5) and ran n2hell to a box
hosting rtorrent. This was all fine for a while and i stopped using
the program briefly. Meanwhile i changed the password ( on the server)
so that the config was no longer correct and couldn't connect.
I came back and ran n2hell a couple of days ago and it wouldn't
connect (naturally) witht he wrong password. When i try to change the
config i get all kinds of errors:
SEVERE: null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at n2hell.http.JSONRPC.call(Unknown Source)
at n2hell.http.JsonRpcService.call(Unknown Source)
at n2hell.http.JSONRPCServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:1890)
at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:1853)
at Acme.Serve.Serve$ServeConnection.run(Serve.java:1686)
at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1186)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.IllegalArgumentException: type mismatch for
downloadRate, expected long, but received String
at n2hell.config.AbstractConfig.load(Unknown Source)
at n2hell.config.AbstractConfig.load(Unknown Source)
at n2hell.config.AbstractConfig.load(Unknown Source)
at n2hell.N2hell.setConfig(Unknown Source)
... 14 more
OK, so thought ill redownload and reresh everything. I detled
everything i could find associated wiht n2hell, even my java cache and
firefox cache but something funny is happening. Even on a completey
new connect straight from the zip, it still tried to load the old
config. But where on earth does it get the config file and know the ip
address of my server already:
what happens when i try to connect wiht completely fresh files:
user: ./n2hell.sh
[Thu Feb 28 22:48:18 GMT 2008] Servlet overriden by
n2hell.http.JSONRPCServlet@ec6b00, for path:/system
Feb 28, 2008 10:48:23 PM n2hell.N2hell main
SEVERE: password authentication failed
java.io.IOException: password authentication failed
at n2hell.xmlrpc.SshFactory.findConnection(Unknown Source)
at n2hell.xmlrpc.SshFactory.getConnection(Unknown Source)
at n2hell.torrent.RTorrent.getProcessConfig(Unknown Source)
at n2hell.torrent.RTorrent.<init>(Unknown Source)
at n2hell.N2hell.initServer(Unknown Source)
at n2hell.N2hell.main(Unknown Source)
Feb 28, 2008 10:48:23 PM n2hell.N2hell getConfig
SEVERE: null
java.lang.NullPointerException
at n2hell.N2hell.getConfig(Unknown Source)
at n2hell.N2hell.main(Unknown Source)
POINT YOUR BROWSER TO:
https://127.0.0.1:3333/
[Thu Feb 28 22:48:24 GMT 2008] TJWS httpd 0.0.0.0 - SimpleAcceptor
ServerSocket[addr=
0.0.0.0/0.0.0.0,port=0,localport=3333] is listening.
i can see from that it still tries to use the custom port, the wrong
passwrd etc.
So yea i'd like to know how its finding my config, and where it is
stored. Also, if it is being put somewhere else, with all the
passwords i think it might be wise to state this clearly??
Thank you, great program,
kudeta