Skip to content

expose LocalNet's scan and registry as actual ports #264

@hrischuk-da

Description

@hrischuk-da

Problem description

The Java example demonstrating external party creation cannot use the Scan proxy. The problem is that it can't resolve scan.localhost against LocalNet supervalidator. The fix is to expose scan and registry in LocalNet using actual ports.

Bernhard has suggested a workaround is to expose the Scan API on a port on straight localhost with a simple edit that adds these two locations to the localhost server in sv.conf:

  location /api/scan {
    rewrite ^\/(.*) /$1 break;
    proxy_pass http://splice:5012/api/scan;
  }
  location /registry {
    rewrite ^\/(.*) /$1 break;
    proxy_pass http://splice:5012/registry;
  }

The documentation would need to be updated.

Related is #263

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions