-
Notifications
You must be signed in to change notification settings - Fork 294
"Unexpected EOF Error" when using Snap with influxdb container #1054
Comments
@NichelleBot can you look in the influxdb.stderr log in /tmp for an error On Thu, Jul 7, 2016 at 5:07 PM NichelleBot notifications@github.com wrote:
|
Here is what was logged.
|
@NichelleBot I have just repeated your experiment with snap-plugin-collector-psutil, snap-plugin-publisher-influxdb and snap-processor-passthru. I used task manifest you provided. InfluxDB running with docker, started with command you mentioned. I cannot reproduce your issue. Docker version: Server: Snap: $ curl -GET 'http://localhost:8086/query?pretty=true' --data-urlencode "db=snap" --data-urlencode 'q=SELECT last(value) FROM "intel/psutil/load/load15"'
{
"results": [
{
"series": [
{
"name": "intel/psutil/load/load15",
"columns": [
"time",
"last"
],
"values": [
[
"2016-07-11T19:43:50Z",
0.28
]
]
}
]
}
]
} Can you check if you are able to add some data to your db and query it from host? |
I ran the same docker protocol on a vm with ubuntu (I am assuming that you are not using OS X) and was not able to replicate the issue either. I think the error has to do with the new docker for mac beta. Thanks for all your help! |
Closing this issue as non reproducible. |
I will update the example with a note about the complications with Docker for Mac. |
👍 thanks @NichelleBot! Great work figuring this tough one out. Having it documented would be awesome. It may be worth sending that feedback to the Docker on Mac Beta team too if you have a chance. |
Updated influxdb-grafana example to include an issue with the Docker for Mac Beta ("unexpected EOF").
Updated influxdb-grafana example to include an issue with the Docker for Mac Beta ("unexpected EOF").
I am currently running Snap version v0.14.0-beta and Docker version 1.12.0-rc3 (for both client and server). I am also using the most recent update of the influxdb plugin that was merged after resolving issue #61 last week. When I load my plugins and run my Snap task, both snapd and my containers stall (meaning that they are running but not collecting telemetry). This said, I am confident that this issue is related to Snap's communication with the influxdb container because I have no errors when running the influxdb daemon (influxd) with Snap. It is only when I force quit out of snapd using
ctrl+c
that I get the following error. I have included my task file and docker commands to aid troubleshooting.Error
Snap Task
Docker commands
The text was updated successfully, but these errors were encountered: