Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Error configuring the Cognitive Services Enpoint/Key (incl. solution) #127

Open
ReneHezser opened this issue Jul 9, 2020 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@ReneHezser
Copy link

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

  • Deploy the solution to an Ubuntu 18.04.
  • Go to the settings page and configure the Endpoint and Key
  • After hitting the "Update" button, the error Request failed with status code 500 will appear after a couple of seconds.
  • docker exec -it xyz bash
  • ping westeurope.api.cognitive.microsoft.com will not be resolved

Expected/desired behavior

The endpoint and key will be saved and the available models loaded.

OS and Version?

Ubuntu 18.04

Versions

1.0.9.3

Solution

The docker/moby daemon needs to be configured to use a specific DNS server. See https://l-lin.github.io/post/2018/2018-09-03-docker_ubuntu_18_dns/

Create/edit the file /etc/docker/daemon.json and add your DNS server.

@ReneHezser ReneHezser changed the title Error configuring the Cogi Error configuring the Cognitive Services Enpoint/Key Jul 10, 2020
@ReneHezser ReneHezser changed the title Error configuring the Cognitive Services Enpoint/Key Error configuring the Cognitive Services Enpoint/Key (incl. solution) Jul 10, 2020
initmahesh pushed a commit that referenced this issue Jul 26, 2020
@initmahesh initmahesh self-assigned this Jul 29, 2020
@initmahesh
Copy link
Contributor

Thanks please add this to troubleshoot read me section

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants