Welcome to the Linux Foundation Forum!

Lab 2.1

I am yet to be able to install the requirments to complete this Lab. Have been on it for day and a half. . Having one problem after another. I am using Ubuntu 16.04. I have been able to weed out most of them but am stuck on this one.

Connecting to docs.projectcalico.org (docs.projectcalico.org)|142.93.122.177|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14592 (14K) [application/x-yaml]
Saving to: ‘calico.yaml’

calico.yaml 100%[===================>] 14.25K --.-KB/s in 0.05s

2018-12-09 12:32:44 (311 KB/s) - ‘calico.yaml’ saved [14592/14592]

unable to recognize "calico.yaml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refused
unable to recognize "calico.yaml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refused
unable to recognize "calico.yaml": Get http://localhost:8080/api?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refused
unable to recognize "calico.yaml": Get http://localhost:8080/api?timeout=32s:

Thank you for any assistance!

Answers

  • chrispokorni
    chrispokorni Posts: 2,372
    edited December 2018

    Hi,
    Is your Ubuntu firewall disabled/inactive?
    Are your instance/network firewalls open to all traffic: all protocols, all ports, all sources?
    Is the kube-apiserver running on your master and accepting connections on port 8080?
    Is coredns also running?
    Regards,
    -Chris

  • Was there a solution to this? I'm having the same issue.

  • chrispokorni
    chrispokorni Posts: 2,372

    Hi @sevenstreak,

    If you are experiencing timeouts when accessing port 8080 on localhost, then you have a networking issue, typically a firewall blocking that port.
    The firewall configuration requirements are found in the Overview section of Lab Exercise 2.1.

    Regards,
    -Chris

Categories

Upcoming Training