##やろうとしていること
次の記事を参考にして、DBを作成しました。
https://www.mikan-tech.net/entry/raspi-sensortag-influxdb
データベースの作成、Grafanaでの可視化までできていたのですが、
Raspberry Piを再起動した後、次のエラーがでてしまい、データベースにアクセスできなくなってしまいました。
原因が分からず困っております。
##エラー
次のメッセージはプログラムを実行したときのエラーです。
text
1Traceback (most recent call last): 2 File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send 3 timeout=timeout 4 File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen 5 _stacktrace=sys.exc_info()[2]) 6 File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment 7 raise MaxRetryError(_pool, url, error or ResponseError(cause)) 8urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8086): Max retries exceeded with url: /write?db=sensor (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x72d8b310>: Failed to establish a new connection: [Errno 111] Connection refused')) 9 10During handling of the above exception, another exception occurred: 11

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。