-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
ConsultREST API not connecting to REST API #26
Comments
You need to run both containers on the same |
ok. I was trying this in multiple ways without success. Finally I thought, let's try the development system.
So I assume this is a general problem and not a problem of my particular setup. |
ok. so installed matrix-corporal 2.3.2 before October 2022 when the file rest-service.go got updated. |
My problem with the ConsultREST API still persists. I don't really know the difference in the code and what the problem is with the new code... or maybe it is my setup? |
The same problem arises. Rest service used self-descriptive and hook-rest-service in containers with the same network. The matrix-corporal image is used with https://hub.docker.com/r/devture/matrix-corporal. |
I installed matrix-corporal in a docker container and it is working alright.
Homeserver is installed on docker host and accessible via local ip and port.
I wanted to use the REST API Hook and installed a minimum REST API with flask on the docker host. The API is running and it reacts to curl get requests curl -Xget http://local-ip:5000/restapi
from the docker host as well as inside the matrix-corporal container when i use curl.
However, the ConsultRestAPI that i setup in the policy file never connects to the API on local-ip:5000. There is not even a request that arrives at the flask api.
What am I doing wrong? or why does the http module from go not connect..?
The text was updated successfully, but these errors were encountered: