Closed anchit93 closed 4 years ago
@anchit93 Could you please describe the steps to reproduce it?
I've checked it http://localhost:8089/openapi/#/did-exchange/createInvitation
works fine.
Here is a curl
command. Let me know whether it works.
curl -X POST "http://localhost:8082/connections/create-invitation?alias=demo" -H "accept: application/json"
Okay, I think I figured out the issue. I was accessing the swagger interface of Alice agent from a different machine, but the create-invitation
API expects Aries rest server to be up and running on localhost:8082
in case of Alice which was not available in my case.
Thanks for the help!
I'm trying the open API demo, and getting this error for all APIs in all the Agents
@DaevMithran make sure you are able to open this URL in the browser https://localhost:8082/connections/create-invitation. I assume you have a problem with HTTPS. Click Advanced->Proceed anyway
Yea Thanks!, that was the issue
I am following the Open API demo and was able to bring up the agents by running
make run-openapi-demo
command however getting below error in the server response while callingPOST /connections/create-invitation
from Alice agent Error:TypeError: Failed to fetch
Not able to debug this as there is no error message logged in the containers running for Alice agent. Same is the case with Bob's agent also.