Skip to content

Scene.load() failed to load in Edge with IPV6 loopback address #629

@markconnellypro

Description

@markconnellypro

TANGRAM VERSION:

v0.14.2 (minified, tried using both web and local versions)

ENVIRONMENT:

Microsoft Windows 10 Home Version 10.0.16299 Build 16299
Microsoft Edge 41.16299.15.0

ISSUE:

When loading a page with a Tangram instance in Microsoft Edge when accessing page on local web server using IPV6 loopback address ([::1]), an error ensues and the map does not load:

image

This does not occur when using another browser or when accessing the page using IPV4 loopback address (127.0.0.1). Paths to YAML files show as follows:

image

OBSERVATIONS:

I also tested this using debug version, and I believe the issue is in the highlighted line, as Firefox appropriately returns brackets around the IP address for the IPV6 loopback address when displaying the output for base_info.host, while Edge does not. I am not familiar enough with how the host method works to suggest an alternate implementation that will not break in other use cases:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions