refined-motherboard-83704
10/22/2023, 8:36 AMinfracost auth login
We're redirecting you to our log in page, please complete that,
and return here to continue using Infracost.
Error: listen tcp: lookup localhost on [::1]:53: read udp [::1]:53353->[::1]:53: read: connection refused
white-airport-8778
infracost configure set api_key MY_API_KEY
- let us know if that works for youbusy-agent-35515
10/22/2023, 1:32 PMrefined-motherboard-83704
10/23/2023, 5:03 AMinfracost breakdown --path .
Evaluating Terraform directory at .
✔ Downloading Terraform modules
✔ Evaluating Terraform directory
✖ Retrieving cloud prices to calculate costs
Project: cardin1/terraform-book/1-intro-aws
Errors:
Error sending API request:
Post "<https://pricing.api.infracost.io/graphql>":
POST <https://pricing.api.infracost.io/graphql> giving up after 5 attempt(s):
Post "<https://pricing.api.infracost.io/graphql>":
dial tcp:
lookup <http://pricing.api.infracost.io|pricing.api.infracost.io> on [::1]:53:
read udp [::1]:48266->[::1]:53:
read:
connection refused
OVERALL TOTAL $0.00
──────────────────────────────────
No cloud resources were detected
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Project ┃ Monthly cost ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ cardin1/terraform-book/1-intro-aws ┃ $0.00 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛
busy-agent-35515
10/23/2023, 2:15 PMcurl -i <http://pricing.api.infracost.io/health|pricing.api.infracost.io/health>
to see if there is access to the outside world.white-airport-8778
refined-motherboard-83704
10/24/2023, 8:58 AMcurl -i <http://pricing.api.infracost.io/health|pricing.api.infracost.io/health>
HTTP/1.1 301 Moved Permanently
Server: awselb/2.0
Date: Tue, 24 Oct 2023 08:57:42 GMT
Content-Type: text/html
Content-Length: 134
Connection: keep-alive
Location: <https://pricing.api.infracost.io:443/health>
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
</body>
</html>
infracost-bin 0.10.29-1
from the AUR.
I am not behind a corporate proxy and not hosting the api myself.white-airport-8778
curl -i <https://pricing.api.infracost.io/health>
refined-motherboard-83704
10/25/2023, 1:54 AMcurl -i <https://pricing.api.infracost.io/health>
HTTP/2 200
date: Wed, 25 Oct 2023 01:52:34 GMT
content-type: application/json; charset=utf-8
content-length: 20
x-powered-by: Express
access-control-allow-origin: *
etag: W/"14-Y53wuE/mmbSikKcT/WualL1N65U"
{"status":"success"}⏎
> go install <http://github.com/andremueller/md-publisher@latest|github.com/andremueller/md-publisher@latest>
go: <http://github.com/andremueller/md-publisher@latest|github.com/andremueller/md-publisher@latest>: module <http://github.com/andremueller/md-publisher|github.com/andremueller/md-publisher>: Get "<https://proxy.golang.org/github.com/andremueller/md-publisher/@v/list>": dial tcp: lookup <http://proxy.golang.org|proxy.golang.org> on [::1]:53: read udp [::1]:43766->[::1]:53: read: connection refused
Curl has no problems here either:
> curl -i <https://proxy.golang.org/github.com/andremueller/md-publisher/@v/list>
HTTP/2 200
accept-ranges: bytes
access-control-allow-origin: *
cache-control: public, max-age=60
content-length: 14
content-type: text/plain; charset=UTF-8
date: Wed, 25 Oct 2023 05:03:55 GMT
expires: Wed, 25 Oct 2023 05:04:55 GMT
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 0
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
v0.0.1
v0.0.2
> terraform plan
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: retrieving AWS account details: validating provider credentials: retrieving caller identity from STS: operation error STS: GetCallerIdentity, exceeded maximum number of attempts, 9,
https response error StatusCode: 0, RequestID: , request send failed, Post "<https://sts.ap-northeast-1.amazonaws.com/>": dial tcp: lookup <http://sts.ap-northeast-1.amazonaws.com|sts.ap-northeast-1.amazonaws.com> on [::1]:53: read udp
[::1]:47449->[::1]:53: read: connection refused
│
│ with provider["<http://registry.terraform.io/hashicorp/aws|registry.terraform.io/hashicorp/aws>"],
│ on <http://main.tf|main.tf> line 1, in provider "aws":
│ 1: provider "aws" {
│
╵
white-airport-8778
refined-motherboard-83704
10/27/2023, 5:08 AM/etc/nsswitch.conf
is configured to use nss-resolve(8) if it is available.
To provide domain name resolution for software that reads /etc/resolv.conf
directly, such as web browsers and GnuPG, requires some work.
Go must be part of this group.
ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
Fixed connection issues for all go applications.
See https://wiki.archlinux.org/title/Systemd-resolved#DNSwhite-airport-8778