All,
I am porting some modules from Ubuntu to Raspbain and using a Python module, I am getting the error:
2018-10-03 17:52:11.964 +00:00 [WRN] - Module pi/sample is not
connected 2018-10-03 17:52:39.530 +00:00 [WRN] - TLS handshake
failed., System.IO.IOException: Channel is closed, 555eae73
I am using the sample python module from VS Code. The exact same 'main.py' work on ubuntu.
Repro on Ubuntu:
1. Follow: https://learn.microsoft.com/en-us/azure/iot-edge/quickstart-linux.
2. in VS Code create a new sample module python. Push that to your docker repository
3. In portal.azure.com push both modules to your iot edge host with the following route:
"routes": {
"a": "FROM /messages/modules/tempSensor/outputs/* INTO BrokeredEndpoint(\"/modules/sample/inputs/input1\")",
"b": "FROM /messages/modules/sample/outputs/output1 INTO $upstream"
},
4. after a few minutes running docker logs edgeHub you will see:
018-10-03 17:51:53.270 +00:00 [INF] - Successfully generated identity for clientId ubuntu1/sample and username ksayeaz3166.azure-devices.net/ubuntu1/sample/?api-version=2017-11-08-preview&DeviceClientType=iothubclient%2f1.2.5%20(native%3b%20Linux%3b%20x86_64)
2018-10-03 17:51:53.275 +00:00 [INF] - ClientAuthenticated, ubuntu1/sample, 2ae77b92
2018-10-03 17:51:53.345 +00:00 [INF] - New device connection for device ubuntu1/sample
Repro on Pi:
1. Follow: https://learn.microsoft.com/en-us/azure/iot-edge/quickstart-linux.
2. in VS Code create a new sample module python. Push that to your docker repository
3. In portal.azure.com push both modules to your iot edge host with the following route:
"routes": {
"a": "FROM /messages/modules/tempSensor/outputs/* INTO BrokeredEndpoint(\"/modules/sample/inputs/input1\")",
"b": "FROM /messages/modules/sample/outputs/output1 INTO $upstream"
},
4. after a few minutes running docker logs edgeHub you will see:
2018-10-03 17:52:11.964 +00:00 [WRN] - Module pi/sample is not
connected 2018-10-03 17:52:39.530 +00:00 [WRN] - TLS handshake
failed., System.IO.IOException: Channel is closed, 555eae73 2018-10-03
17:53:11.966 +00:00 [WRN] - Module pi/sample is not connected
2018-10-03 17:54:03.357 +00:00 [INF] - Reauthenticating connected
clients 2018-10-03 17:54:12.079 +00:00 [WRN] - Module pi/sample is not
connected
I have mode no changes to the python module sample code.
PI info:
root#raspberrypi:/home/pi# uname -a
Linux raspberrypi 4.14.70-v7+ #1144 SMP Tue Sep 18 17:34:46 BST 2018 armv7l GNU/Linux
root#raspberrypi:/home/pi# docker version
Client:
Version: 18.06.0-dev
API version: 1.37
Go version: go1.10.2
Git commit: daf021fe
Built: Wed Jun 27 00:53:52 2018
OS/Arch: linux/arm
Experimental: false
Orchestrator: swarm
Server:
Engine:
Version: dev
API version: 1.37 (minimum version 1.12)
Go version: go1.10.2
Git commit: 9aac187
Built: Tue Jun 26 23:27:27 2018
OS/Arch: linux/arm
Experimental: false
Ubuntu Info:
ksaye#ksaye-700T:~/iotedge$ uname -a
Linux ksaye-700T 4.13.0-41-generic #46~16.04.1-Ubuntu SMP Thu May 3 10:06:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
ksaye#ksaye-700T:~/iotedge$ docker version
Client:
Version: 17.12.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:11:19 2017
OS/Arch: linux/amd64
Server:
Engine:
Version: 17.12.0-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:09:53 2017
OS/Arch: linux/amd64
Experimental: false
ksaye#ksaye-700T:~/iotedge$
Adding the OptimizedForPerformance setting discussed here resolve it: https://learn.microsoft.com/en-us/azure/iot-edge/troubleshoot#stability-issues-on-resource-constrained-devices
Related
I use docker to run geth on Linux:
Client:
Version: 18.06.0-ce
API version: 1.38
Go version: go1.10.3
Git commit: 0ffa825
Built: Wed Jul 18 19:04:39 2018
OS/Arch: linux/amd64
Experimental: false
Server:
Engine:
Version: 18.06.0-ce
API version: 1.38 (minimum version 1.12)
Go version: go1.10.3
Git commit: 0ffa825
Built: Wed Jul 18 19:13:39 2018
OS/Arch: linux/amd64
Experimental: false
Linux:
Linux version 4.4.0-1072-aws (buildd#lcy01-amd64-026) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10) ) #82-Ubuntu SMP Fri Nov 2 15:00:21 UTC 2018
geth:
Version: 1.8.20-unstable
Git Commit: f850123ec7500af732b73c2501f1ef36d80ee01d
Architecture: amd64
Protocol Versions: [63 62]
Network Id: 1
Go Version: go1.11.2
Operating System: linux
GOPATH=
GOROOT=/usr/local/go
I use docker-compose to start up it, when it is running for a while, it use almost 50% memory, and it increases utill the process is down? Why this happened? How can I fix this problem?
Thx
I still have this issue. I have docker version 17.12.0-ce-mac49 (21995). I am running IBM Cloud Private on 4 VMs with docker version on Ubuntu 16. When I run docker version on my master node I get the following:
Client:
Version: 17.12.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:11:19 2017
OS/Arch: linux/amd64
Server:
Engine:
Version: 17.12.0-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:09:53 2017
OS/Arch: linux/amd64
Experimental: false
On my mac if I run the command:
docker login mycluster.icp:8500
I login with my user id and password and get the following response:
Error response from daemon: Get https://mycluster.icp:8500/v2/: x509: certificate signed by unknown authority
I am trying to load a docker image into IBM Cloud Private and I get the same error. Any help would be greatly appreciated.
You need to copy the ICP registry certificate to you host that you want to push image. You can refer below ICP documentation for details.
https://www.ibm.com/support/knowledgecenter/en/SSBS6K_2.1.0/manage_images/configuring_docker_cli.html
I've installed Docker EE for Windows Server 2016 and was able to pull and run the hello-world example.
When I invoke "docker pull redis" , I get:
Using default tag: latest
latest: Pulling from library/redis
no matching manifest for windows/amd64 in the manifest list entries
My docker versions:
Client:
Version: 17.10.0-ee-preview-2
API version: 1.32
Go version: go1.8.3
Git commit: 10e292d
Built: Thu Sep 21 19:58:53 2017
OS/Arch: windows/amd64
Server:
Version: 17.10.0-ee-preview-2
API version: 1.32 (minimum version 1.24)
Go version: go1.8.3
Git commit: 777d4a1
Built: Thu Sep 21 20:08:05 2017
OS/Arch: windows/amd64
Experimental: false
Not sure what I'm doing wrong here.
As the docker info shows, the server is not started in experiemental mode.
You need to start docker server with experiemental mode on windows server. Check linux-containers-on-windows to see how you can do that.
Anytime I create a new docker network on the host, I loose inbound network access. If I have an active SSH session it boots me off. The only way to restore it is to delete the network.
[admin#server1 ~]$ docker version
Client:
Version: 17.06.0-ce
API version: 1.30
Go version: go1.8.3
Git commit: 02c1d87
Built: Fri Jun 23 21:20:36 2017
OS/Arch: linux/amd64
Server:
Version: 17.06.0-ce
API version: 1.30 (minimum version 1.12)
Go version: go1.8.3
Git commit: 02c1d87
Built: Fri Jun 23 21:21:56 2017
OS/Arch: linux/amd64
Experimental: false
[admin#server1 ~]$ uname -a
Linux server1 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[admin#server1 ~]$ cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core)
Upgraded to latest version as Tarun suggested and it fixed the issue.
[root#server1 ~]# docker --version
Docker version 17.06.2-ce, build cec0b72
I'm installing docker on CentOS 7 and i have this issue :
$ proxychains4 docker run hello-world
[proxychains] config file found: /usr/local/etc/proxychains.conf
[proxychains] preloading /usr/local/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.12
Unable to find image 'hello-world:latest' locally
Pulling repository docker.io/library/hello-world
docker: Error while pulling image: Get https://index.docker.io/v1/repositories/library/hello-world/images: tls: oversized record received with length 26992.
the docker message :
Client:
Version: 1.12.6
API version: 1.24
Go version: go1.6.4
Git commit: 78d1802
Built: Tue Jan 10 20:20:01 2017
OS/Arch: linux/amd64
Server:
Version: 1.12.6
API version: 1.24
Go version: go1.6.4
Git commit: 78d1802
Built: Tue Jan 10 20:20:01 2017
OS/Arch: linux/amd64
the centos message:
Linux localhost.localdomain 3.10.0-514.21.2.el7.x86_64 #1 SMP Tue Jun 20 12:24:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Can anyone help me to find a solution for this issue? Thank you.