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

JobScheduler not running locally in Docker #383

Open
niraymak opened this issue Feb 26, 2021 · 2 comments
Open

JobScheduler not running locally in Docker #383

niraymak opened this issue Feb 26, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@niraymak
Copy link
Member

Describe the bug
When starting our backend using Docker the JobScheduler can not execute HttpClient request to the API.
Presumably this has something to do with the generated certificate of the API. I tried HTTP instead of HTTPS because it is only for local testing but that also does not work.

To Reproduce

  1. Clone project (make sure issue Jobscheduler does not start in staging #382 is in)
  2. Run docker-compose up
  3. See logs

Expected behavior
JobScheduler is able to execute API requests in Docker on local machine.

Screenshots
image

Additional context
There are no issues on the staging environment

@niraymak niraymak added the bug Something isn't working label Feb 26, 2021
@Brend-Smits
Copy link
Member

Possibly similar issue as we had with API trying to reach Identity Server back with #282

@Maxvanhattum
Copy link
Contributor

It is possible to configure the httpclient that is used to not verify ssl certificates. You could do this in the local development when an environment variable defined in the docker-compose is set to true. See following link to build the httpclient with a custom ssl certificatie handler:
https://stackoverflow.com/questions/57283898/ignore-ssl-connection-errors-via-ihttpclientfactory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants