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

Error starting revad from sciencemesh-testing branch #3968

Closed
michielbdejong opened this issue Jun 13, 2023 · 3 comments
Closed

Error starting revad from sciencemesh-testing branch #3968

michielbdejong opened this issue Jun 13, 2023 · 3 comments
Assignees

Comments

@michielbdejong
Copy link
Contributor

I think we need to add some config entries to make these errors go away:

2023-06-13 08:01:05.341 ERR ../reva/pkg/notification/notificationhelper/notificationhelper.go:77 > connecting to nats failed, notifications will be disabled error="connection to nats server at '' failed: nats: no servers available for connection" pid=301883 pkg=rhttp service=ocs
2023-06-13 08:01:05.342 INF ../reva/pkg/rhttp/rhttp.go:215 > http service enabled: ocs@/ocs pid=301883 pkg=rhttp
2023-06-13 08:01:05.343 INF ../reva/pkg/rgrpc/rgrpc.go:147 > grpc server listening at tcp:0.0.0.0:19000 pid=301883 pkg=rgrpc
2023-06-13 08:01:05.385 ERR ../reva/pkg/notification/notificationhelper/notificationhelper.go:77 > connecting to nats failed, notifications will be disabled error="connection to nats server at '' failed: nats: no servers available for connection" pid=301883 pkg=rhttp service=ocdav
2023-06-13 08:01:05.386 INF ../reva/pkg/rhttp/rhttp.go:215 > http service enabled: ocdav@/ pid=301883 pkg=rhttp
2023-06-13 08:01:05.386 ERR ../reva/cmd/revad/runtime/runtime.go:211 > error starting the http server error="http service sciencemesh could not be started,: sciencemesh: provider_domain is missing from configuration" pid=301883
@michielbdejong michielbdejong self-assigned this Jun 13, 2023
@glpatcern
Copy link
Member

For the notifications part, it's "benign" and @javfg already fixed the message AFAIU.

The last message is important: you need to specify provider_domain in the [http.services.sciencemesh] section (it was already mandatory, now reva won't start) and you can actually drop the invite_link template

@javfg
Copy link
Contributor

javfg commented Jun 13, 2023

@michielbdejong yes! I already have a patch ready so the connection to NATS is only performed if there is at least something configured for the notifications. That way the error will be an info log instead.

The failure to start should not be related to those errors, tho.

@michielbdejong
Copy link
Contributor Author

And mesh_directory_url should be "https://sciencemesh.cesnet.cz/iop/meshdir"?

glpatcern pushed a commit to glpatcern/ocm-test-suite that referenced this issue Jun 15, 2023
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

3 participants