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

issue in ngrock container #123

Open
dolly1997 opened this issue Feb 8, 2024 · 3 comments
Open

issue in ngrock container #123

dolly1997 opened this issue Feb 8, 2024 · 3 comments

Comments

@dolly1997
Copy link

Hi @jleach @reflectivedevelopment @swcurran

We have been using aries python mediator since 1 year. As due to some security policy we cant use ngrock service so what i did i made some changes in start.sh file and build the images and ran the containers. ngrock container was not in running state.but still invitation url we were getting from mediator-service container and everything was working fine. we were able to communicate between mobile and mediator.

Now after some months I deleted the containers as well as images and build fresh new images and containers .it is throwing error "ngrock container is unhealthy" due to which mediator-service container is also not running as it has some dependencies.

Attaching scrrenshoot of my start.sh file which i have been using since 1 year .
image

Kindly look into it .whether we can use mediator without ngrock.

@WadeBarnes
Copy link
Member

You can absolutely use the mediator without ngrock, you just need to securely expose the Caddy proxy. ngrock support is only included to allow for local use during development. You can find an example OpenShift configuration here; https://github.com/bcgov/openshift-aries-mediator-service

@dolly1997
Copy link
Author

dolly1997 commented Feb 8, 2024

Thankyou for the response @WadeBarnes
So I am using ubuntu so i have to add caddy port in my respective security group right.so that it should be exposed right?

I would like to inform you ngrock anyway I am not using. i have commented the ngrock service from docker-compose file also.can u plz confirm on the shell file that i have shared is correctly configured or not..

Because if I put the invitation url of mediator in my aries bifold application it is throwing error of message unpack failed.
image

@WadeBarnes
Copy link
Member

Yes, the Caddy proxy will need to be exposed publicly.

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