Giter Club home page Giter Club logo

Comments (9)

tg123 avatar tg123 commented on August 15, 2024

The server name or address could not be resolved

means that dns cannot resolve your domain name
cloud you please paste output of

nslookup yourhost

from csharp.

VenkateshSrini avatar VenkateshSrini commented on August 15, 2024

Hi,
I got the below response
Server: UnKnown
Address: fe80::261f:a0ff:fec4:7109

Non-authoritative answer:
Name: ifttt-demo-kube-faas-rg-eea6d7-7d1fd319.hcp.eastus.azmk8s.io
Address: 52.186.82.246

But if you could see I'm able to execute kubectl commands without any issues
also https://ifttt-demo-kube-faas-rg-eea6d7-7d1fd319.hcp.eastus.azmk8s.io is very much accessible from browser

from csharp.

VenkateshSrini avatar VenkateshSrini commented on August 15, 2024

@tg123 ,
Any guidance for me on the same ?

from csharp.

tg123 avatar tg123 commented on August 15, 2024

@VenkateshSrini I tested using your domain name I cannot reproduce your issue
are you using any proxy in your .net program?

from csharp.

VenkateshSrini avatar VenkateshSrini commented on August 15, 2024

@tg123,
I'm still not able to connect. I'm using a. Net core web api app. Can you please share the code that you had used to test. I will try to see where the difference is. Alternatively I can also check-in my code to git hub and share you a link. Please tell me which will work for you

from csharp.

tg123 avatar tg123 commented on August 15, 2024
       IKubernetes client = new Kubernetes(new KubernetesClientConfiguration
            {
                Host = "https://ifttt-demo-kube-faas-rg-eea6d7-7d1fd319.hcp.eastus.azmk8s.io",
                SkipTlsVerify = true
            });
            var list = client.ListNamespacedPod("default"); //401 here 

from csharp.

VenkateshSrini avatar VenkateshSrini commented on August 15, 2024

@tg123

  1. Can you please tell me what is the mistake I'm doing in the attached code. I still get the above error
  2. Even If I give the correct Cert data , key and access token I'm still getting unauthorized error with AKS. The same works with kubectl . please hel
    ReadKubeLogs.Service.zip

from csharp.

tg123 avatar tg123 commented on August 15, 2024

from csharp.

VenkateshSrini avatar VenkateshSrini commented on August 15, 2024

@tg123,
I have found the issue. It was with wrong access token. Thanks for helping me. Happy and successful travel to you

from csharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.