Skip to content

ipv6 support? #428

Open
Open
@friggeri

Description

@friggeri

When trying to run on a machine connected to the network through ipv6 only, the application crashes when importing enterprise_gateway.processproxies.processproxy inside get_local_ip:

  File "[...]/enterprise_gateway/__init__.py", line 4, in <module>
    from .enterprisegatewayapp import launch_instance
  File "[...]/enterprise_gateway/enterprisegatewayapp.py", line 30, in <module>
    from .services.kernels.remotemanager import RemoteMappingKernelManager
  File "[...]/enterprise_gateway/services/kernels/remotemanager.py", line 11, in <module>
    from ..processproxies.processproxy import LocalProcessProxy, RemoteProcessProxy
  File "[...]/enterprise_gateway/services/processproxies/processproxy.py", line 78, in <module>
    local_ip = get_local_ip()
  File "[...]/enterprise_gateway/services/processproxies/processproxy.py", line 76, in get_local_ip
    return localinterfaces.public_ips()[0]  # all were blacklisted, so go with the first
IndexError: list index out of range

Are there any plans to support ipv6 in the future?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions