Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

493
Visualizações
ArangoDB-NET Error: System.Net.WebException: 'No such host is known No such host is known'

I'm working on a project that needed a Graph DB. I'm developing the project using C# .Net Core. I had to choose ArangoDB as a Graph DB for this project. Unfortunately, there is no official driver for .Net. That's why I choose a community driver. That is ArangoDB-NET.

https://www.nuget.org/packages/ArangoDB-NET/

https://github.com/yojimbo87/ArangoDB-NET

The driver is working fine with my local installed ArangoDB database. The driver is returning an error when I'm trying to deploy the database in ArangoDB Cloud (ArangoDB Oasis).

Error: System.Net.WebException: 'No such host is known No such host is known'

enter image description here

Please check the below information about the database connection:

Connection String Settings:

  "DatabaseSettings": {
    "ConnectionName": "CloudDBConnection",
    "Host": "https://xxxxxxxx.arangodb.cloud",
    "Port": 8529,
    "UserName": "root",
    "Password": "xxxxxxxx",
    "DatabaseName": "KKBDTestDB"
  }

Database Connection:

private readonly ADatabase db;
public DatabseService(IDatabaseSettings settings)
{
    ASettings.AddConnection(settings.ConnectionName, settings.Host, settings.Port, false, settings.DatabaseName, settings.UserName, settings.Password, true);
    db = new ADatabase(settings.ConnectionName);
}
over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

1) Remove https from your host name, then try.

Connection string should be:

"DatabaseSettings": {
    "ConnectionName": "CloudDBConnection",
    "Host": "xxxxxxxx.arangodb.cloud",
    "Port": 8529,
    "UserName": "root",
    "Password": "xxxxxxxx",
    "DatabaseName": "KKBDTestDB"
  }

2) Download public key for windows from arongodb cloud and follow the following steps:

  1. Convert Certificate (PEM) to ca-9676da18.crt
  2. Open a Powershell with Run as Administrator
  3. certutil -addstore root ca-9676da18.crt
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda