-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
Labels
bugSomething isn't workingSomething isn't working