Skip to content

TCP transporter IP bug #380

@0x39

Description

@0x39

I'm testing TCP transporter.
All nodes is docker containers managed by rancher.

Transporter configuration, kind:

nodeID: 'node-id-1',
transporter: {
        type: 'TCP',
        options: {
            udpDiscovery: false,
            useHostname: true, //have tried true/false
            urls: [
               container_hostname:6000/node-id-1,
               ...
            ],
        }
    }

Problem is when i upgrade my rancher service, container IP changes, but all moleculer nodes still try to use old IP.

Some logs: https://gist.github.com/0x39/25bcf691268858155f8efeb210651ce8

screenshot from 2018-09-23 01 11 32

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions