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

JVM module runtime connects directly to controller instead of runner #3617

Closed
matt2e opened this issue Dec 4, 2024 · 0 comments
Closed

JVM module runtime connects directly to controller instead of runner #3617

matt2e opened this issue Dec 4, 2024 · 0 comments
Assignees

Comments

@matt2e
Copy link
Collaborator

matt2e commented Dec 4, 2024

The aim was for the runner to proxy all messages for the controller for now, but it doesn't seem to be happening.

Turns out FTLController is connecting to the controller address not the runner address:

FTLController() {
        String endpoint = System.getenv("FTL_ENDPOINT");
        ... this points to http://127.0.0.1:8892/...

This came up because messages sent to publish's service gets 404'd as it is not present in the controller but is in the runner.

Steps to repro:
ftl serve
ftl deploy ./backend/controller/pubsub/testdata/java
ftl call publisher.publishTen

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

No branches or pull requests

2 participants