I’m working on a proof of concept using Axoniq’s beta EventStore. My application code is running inside PCFDev and is attempting to communicate to the Axoniq EventStore running locally on my machine. I’m getting the following error:
i.a.eventstore.client.util.Broadcaster : Error from: host.pcfdev.io:9090 - io.axoniq.eventstore.client.util.EventStoreClientException: UNAVAILABLE: Network closed for unknown reason
o.a.c.gateway.DefaultCommandGateway : Command ‘com.ats.ptrac.command.commands.AddProjectCommand’ resulted in io.axoniq.eventstore.client.util.EventStoreClientException(No available event store server)
If I ssh into the virtual machine, within PCFDev, I’m able to curl the /v1/events endpoint (200 OK):
curl -X GET --header ‘Accept: text/event-stream’ --header ‘Access-Token: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx’ ‘host.pcfdev.io:9090/v1/events?aggregateId=1234&allowSnapshots=true’
Any guesses on ‘unknown reason’? Could the problem be stemming from internal communication gRPC protocol?
Justin