- Platform information:
- Hardware: _CPUArchitecture/RAM/storage_raspberry 3+
- OS: what OS is used and which version
- Java Runtime Environment: which java platform is used and what version
- openHAB version:openhabian 2.4
- Issue of the topic: please be detailed explaining your issue
- Please post configurations (if applicable):
- Items configuration related to the issue
- Sitemap configuration related to the issue
- Rules code related to the issue
- Services configuration related to the issue
- If logs where generated please post these here using code fences:
Hello, after a new one after passing 2.4 and SSD, there was a problem with influxdb binding. Everything is nice installed and the service works, but you can not add anything to the base, so you do not have data to read it. The logs appear
019-01-29 20:16:00.135 [ERROR] [org.influxdb.impl.BatchProcessor ] - Batch could not be sent. Data will be lost
retrofit.RetrofitError: Connection refused (Connection refused)
at retrofit.RetrofitError.networkError(RetrofitError.java:27) ~[276:org.openhab.persistence.influxdb:1.13.0]
at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:395) ~[276:org.openhab.persistence.influxdb:1.13.0]
at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240) ~[276:org.openhab.persistence.influxdb:1.13.0]
at org.influxdb.impl.$Proxy177.writePoints(Unknown Source) ~[276:org.openhab.persistence.influxdb:1.13.0]
at org.influxdb.impl.InfluxDBImpl.write(InfluxDBImpl.java:151) ~[276:org.openhab.persistence.influxdb:1.13.0]
at org.influxdb.impl.BatchProcessor.write(BatchProcessor.java:171) [276:org.openhab.persistence.influxdb:1.13.0]
at org.influxdb.impl.BatchProcessor$1.run(BatchProcessor.java:144) [276:org.openhab.persistence.influxdb:1.13.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:?]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:?]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:?]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:?]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:?]
at java.net.Socket.connect(Socket.java:589) ~[?:?]
at com.squareup.okhttp.internal.Platform.connectSocket(Platform.java:100) ~[?:?]
at com.squareup.okhttp.internal.http.SocketConnector.connectRawSocket(SocketConnector.java:160) ~[?:?]
at com.squareup.okhttp.internal.http.SocketConnector.connectCleartext(SocketConnector.java:67) ~[?:?]
at com.squareup.okhttp.Connection.connect(Connection.java:152) ~[?:?]
at com.squareup.okhttp.Connection.connectAndSetOwner(Connection.java:185) ~[?:?]
at com.squareup.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:128) ~[?:?]
at com.squareup.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:341) ~[?:?]
at com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:330) ~[?:?]
at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:248) ~[?:?]
at com.squareup.okhttp.Call.getResponse(Call.java:273) ~[?:?]
at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:230) ~[?:?]
at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:201) ~[?:?]
at com.squareup.okhttp.Call.execute(Call.java:81) ~[?:?]
at retrofit.client.OkClient.execute(OkClient.java:53) ~[?:?]
at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:326) ~[?:?]
Now, in Putty, when I issue the command: influx, the influx shell will report, but if I want to do another comedy, eg create a base:
Blockquote
ERR: unable to parse authentication credentials
Warning: It is possible this error is due to not setting a database.
Please set a database with the command “use <database>”.
Do you have any idea? Because I do not know.