anthilld status crashed - java.lang.NumberFormatException: For input string - http.proxyHost

3 replies
beanjiu
2 posts

Hello,

I am getting this,

/etc/init.d/anthilld restart

* Caching service dependencies ...                                                                                  [ ok ]

* Starting anthilld ...

Exception in thread "main" java.lang.NumberFormatException: For input string: ""

at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)

at java.lang.Integer.parseInt(Integer.java:592)

at java.lang.Integer.parseInt(Integer.java:615)

at inlein.client.Utils.inleinPort(Utils.java:105)

at inlein.client.ServerConnection.tryConnect(ServerConnection.java:73)

at inlein.client.ServerConnection.ensureConnected(ServerConnection.java:23)

at inlein.client.tasks.StartDaemon.run(StartDaemon.java:20)

at inlein.client.Main.main(Main.java:32)

* Starting inlein server...

* Error starting inlein server                                                                                      [ ok ]

which seems to come from inlein,  and more specifically

String proxyHost = System.getProperty("http.proxyHost");

from https://github.com/hypirion/inlein/blob/master/client/src/inlein/client/Utils.java

what is the expected value? where does it get it ?

thx

Former member
edited

Hi @beanjiu,

This is a known issue with inlein, the tool we use for anthilld. Steps to fix it, SSH into your antsle and run:

inlein --shutdown-daemon
rm /root/.inlein/port
service anthilld restart

Let me know how it goes!

▲ 1
bbergman
52 posts

Quote from mardo.delcid on December 4, 2019, 4:32 pm

This is a known issue with inlein, the tool we use for anthilld. Steps to fix it, SSH into your antsle and run:

inlein --shutdown-daemon
rm /root/.inlein/port
service anthilld restart

Just got bit by this on the provisioning of a new Nano. Followed the instructions above and now anthilld is working as expected.

Thanks!

▲ 1
klfrazier
13 posts

This worked for me.  I wish that I would have found it sooner.  It would have saved me so much headache.  Anthill now recognizes my server.  :)

Log in to reply. New here? It takes a minute.