Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/drop prov rpc #774

Merged
merged 1 commit into from
Nov 15, 2023
Merged

Conversation

connorsmith256
Copy link
Contributor

@connorsmith256 connorsmith256 commented Oct 20, 2023

Feature or Problem

Leaving in draft for now, since we should remove support from wash first: wasmCloud/wash#929

The host supports separate rpc and prov_rpc NATS connections. The intent was to separate untrusted providers from snooping on traffic they shouldn't have access to. However, in practice this doesn't work, since the host only sends a single NATS URL to the provider in HostDatata. The host has been sending prov_rpc, but the host subscribes to RPC traffic on rpc, which means if two separate URLs/servers were used, providers and hosts wouldn't be able to communicate. Since this doesn't work today, let's just remove support for separate connections.

Related Issues

Release Information

v0.80, since this is technically a breaking change (though I expect no users to be relying on it)

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

Signed-off-by: Connor Smith <connor.smith.256@gmail.com>
@connorsmith256 connorsmith256 marked this pull request as ready for review November 14, 2023 23:57
@connorsmith256 connorsmith256 requested a review from a team as a code owner November 14, 2023 23:57
@connorsmith256 connorsmith256 merged commit 545c21c into wasmCloud:main Nov 15, 2023
42 checks passed
@connorsmith256 connorsmith256 deleted the fix/drop-prov-rpc branch November 15, 2023 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants