Skip to content
This repository was archived by the owner on Jul 1, 2021. It is now read-only.
This repository was archived by the owner on Jul 1, 2021. It is now read-only.

'Unable to register with Registry in allotted time' in Geneva development compose file #106

@jinfahua

Description

@jinfahua

Use docker compose file from here, the virtual device docker cannot be started. Below is log file. It seems that it finally using http://localhost:8500 consul service, which is not available from virtual device service.

level=INFO ts=2020-05-08T08:37:16.869908569Z app=device-virtual source=config.go:219 msg="Loaded configuration from /res/configuration.toml"
level=INFO ts=2020-05-08T08:37:16.870696954Z app=device-virtual source=config.go:167 msg="Using Configuration provider (consul) from: http://edgex-core-consul:8500 with base path of edgex/core/1.0/device-virtual"
level=INFO ts=2020-05-08T08:37:16.876329427Z app=device-virtual source=config.go:321 msg="Configuration has been pulled from Configuration provider (0 environment overrides applied)"
level=ERROR ts=2020-05-08T08:37:16.876364955Z app=device-virtual source=logger.go:74 msg="logTarget cannot be blank, using stdout only"
level=INFO ts=2020-05-08T08:37:16.876390315Z app=device-virtual source=registry.go:79 msg="Using Registry (consul) from http://localhost:8500"
level=INFO ts=2020-05-08T08:37:16.877459523Z app=device-virtual source=config.go:308 msg="Writeable configuration has been updated from the Configuration Provider"
level=WARN ts=2020-05-08T08:37:16.877880295Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:17.878956726Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:18.879985579Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:19.881063027Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:20.882058479Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:21.883053127Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:22.884044029Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:23.885052145Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:24.886126492Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:25.887132598Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:26.888090213Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:27.889085337Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:28.890089518Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:29.891150097Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:30.892154954Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:31.893233021Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:32.894198148Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:33.89522399Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:34.896203372Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:35.897230938Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:36.898300995Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:37.899338436Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:38.900298079Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:39.901284867Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:40.902298227Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:41.903377517Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:42.904374304Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:43.905450905Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:44.90645977Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=WARN ts=2020-05-08T08:37:45.907535897Z app=device-virtual source=registry.go:139 msg="registry is not available"
level=ERROR ts=2020-05-08T08:37:46.907662304Z app=device-virtual source=bootstrap.go:43 msg="unable to register with Registry in allotted time"

Below is running docker instances.

$ docker ps
CONTAINER ID        IMAGE                                                                  COMMAND                  CREATED             STATUS              PORTS                                                                                              NAMES
cd8c1f38d4fb        emqx/kuiper:0.3.2                                                      "/usr/bin/docker-ent…"   2 hours ago         Up 2 hours          0.0.0.0:20498->20498/tcp, 9081/tcp, 0.0.0.0:48075->48075/tcp                                       edgex-kuiper
4bc85104930d        nexus3.edgexfoundry.org:10004/docker-edgex-ui-go:master                "./edgex-ui-server -…"   2 hours ago         Up 2 hours          0.0.0.0:4000->4000/tcp                                                                             edgex-ui-go
c2e34ec3e979        nexus3.edgexfoundry.org:10004/docker-core-command-go:master            "/core-command -cp=c…"   2 hours ago         Up 2 hours          0.0.0.0:48082->48082/tcp                                                                           edgex-core-command
f79e6087203d        nexus3.edgexfoundry.org:10004/docker-support-scheduler-go:master       "/support-scheduler …"   2 hours ago         Up 2 hours          0.0.0.0:48085->48085/tcp                                                                           edgex-support-scheduler
a66f07c60ec8        nexus3.edgexfoundry.org:10004/docker-app-service-configurable:master   "/app-service-config…"   2 hours ago         Up 2 hours          48095/tcp, 0.0.0.0:48100->48100/tcp                                                                edgex-app-service-configurable-rules
1f0c90b3d8f7        nexus3.edgexfoundry.org:10004/docker-sys-mgmt-agent-go:master          "/sys-mgmt-agent -cp…"   2 hours ago         Up 2 hours          0.0.0.0:48090->48090/tcp                                                                           edgex-sys-mgmt-agent
3da4d226e1d1        nexus3.edgexfoundry.org:10004/docker-core-data-go:master               "/core-data -cp=cons…"   2 hours ago         Up 2 hours          0.0.0.0:5563->5563/tcp, 0.0.0.0:48080->48080/tcp                                                   edgex-core-data
9d3905035a1c        nexus3.edgexfoundry.org:10004/docker-support-notifications-go:master   "/support-notificati…"   2 hours ago         Up 2 hours          0.0.0.0:48060->48060/tcp                                                                           edgex-support-notifications
d597f769fd43        nexus3.edgexfoundry.org:10004/docker-core-metadata-go:master           "/core-metadata -cp=…"   2 hours ago         Up 2 hours          0.0.0.0:48081->48081/tcp, 48082/tcp                                                                edgex-core-metadata
d0b9c010e951        nexus3.edgexfoundry.org:10004/docker-edgex-mongo:master                "/edgex-mongo/bin/ed…"   2 hours ago         Up 2 hours          0.0.0.0:27017->27017/tcp                                                                           edgex-mongo
b649ec8096c5        nexus3.edgexfoundry.org:10004/docker-edgex-consul:master               "edgex-consul-entryp…"   2 hours ago         Up 2 hours          0.0.0.0:8400->8400/tcp, 8300-8302/tcp, 8301-8302/udp, 8600/tcp, 8600/udp, 0.0.0.0:8500->8500/tcp   edgex-core-consul
e28a4da5e2b0        ubuntu:latest                                                          "tail -f /dev/null"      2 hours ago         Up 2 hours                                                                                                             edgex-files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions