by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 20 2018 20:45

    traviscrist on nl-remove-host-wiki

    (compare)

  • Jun 20 2018 20:45

    traviscrist on master

    feat: remove adding hosts to wi… Merge pull request #3 from codi… (compare)

  • Jun 20 2018 20:45
    traviscrist closed #3
  • Jun 20 2018 20:32
    njlie opened #3
  • Jun 20 2018 20:31

    njlie on nl-remove-host-wiki

    feat: remove adding hosts to wi… (compare)

  • Jun 15 2018 23:03

    njlie on master

    fix: typo (compare)

  • Jun 15 2018 22:07

    njlie on nl-updates

    (compare)

  • Jun 15 2018 18:10

    njlie on master

    feat: more examples (compare)

  • Jun 14 2018 00:19

    njlie on master

    feat: add wiki and mailing list (compare)

  • Jun 13 2018 00:09

    njlie on master

    fix: git url typo (compare)

  • Jun 12 2018 19:17

    njlie on master

    fix: docs use bootstrap nodes i… (compare)

  • Jun 07 2018 21:05

    njlie on master

    feat: host architecture doc (compare)

  • Jun 07 2018 17:09

    njlie on master

    fix: four components -> three c… (compare)

  • Jun 07 2018 00:32

    njlie on master

    fix: proper blog links (compare)

  • Jun 07 2018 00:13

    njlie on master

    fix: broken links Merge branch 'nl-updates' (compare)

  • Jun 07 2018 00:10

    njlie on nl-updates

    fix: broken links (compare)

  • Jun 06 2018 15:50

    njlie on master

    feat: updates to latest codius … Merge pull request #2 from codi… (compare)

  • Jun 06 2018 15:50
    njlie closed #2
  • Jun 06 2018 15:50
    njlie opened #2
  • Jun 06 2018 15:50

    njlie on nl-updates

    feat: updates to latest codius … (compare)

Sidewinder3514
@Sidewinder3514
Looks normal I think?
Brandon Wilson
@wilsonianb
Thanks. The gatehub payment pointer url looks fine. I can query it directly.
Can you check the traefik ingress logs for anything related to the receipt-verifier
kubectl logs -n kube-system     traefik-XXXXX
Sidewinder3514
@Sidewinder3514
@wilsonianb I mailed you the full result file
But this a brief synopsis :-)
[root@sidewinder ~]# kubectl logs -n kube-system traefik-6c96bd9f66-fxs6m
{"level":"info","msg":"Using TOML configuration file /config/traefik.toml","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"No tls.defaultCertificate given for https: using the first item in tls.certificates as a fallback.","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"Traefik version v1.7.19 built on 2019-10-28_02:07:32PM","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/v1.7/basics/#collected-data\n","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"Preparing server https \u0026{Address::443 TLS:0xc000492630 Redirect:\u003cnil\u003e Auth:\u003cnil\u003e WhitelistSourceRange:[] WhiteList:\u003cnil\u003e Compress:true ProxyProtocol:\u003cnil\u003e ForwardedHeaders:0xc00089f700} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"Preparing server prometheus \u0026{Address::9100 TLS:\u003cnil\u003e Redirect:\u003cnil\u003e Auth:\u003cnil\u003e WhitelistSourceRange:[] WhiteList:\u003cnil\u003e Compress:false ProxyProtocol:\u003cnil\u003e ForwardedHeaders:0xc00089f740} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"Preparing server http \u0026{Address::80 TLS:\u003cnil\u003e Redirect:\u003cnil\u003e Auth:\u003cnil\u003e WhitelistSourceRange:[] WhiteList:\u003cnil\u003e Compress:true ProxyProtocol:\u003cnil\u003e ForwardedHeaders:0xc00089f6e0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"Starting provider configuration.ProviderAggregator {}","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"Starting server on :443","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"Starting server on :9100","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"Starting server on :80","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"Starting provider *kubernetes.Provider {\"Watch\":true,\"Filename\":\"\",\"Constraints\":[],\"Trace\":false,\"TemplateVersion\":0,\"DebugLogGeneratedTemplate\":false,\"Endpoint\":\"\",\"Token\":\"\",\"CertAuthFilePath\":\"\",\"DisablePassHostHeaders\":false,\"EnablePassTLSCert\":false,\"Namespaces\":null,\"LabelSelector\":\"\",\"IngressClass\":\"\",\"IngressEndpoint\":{\"IP\":\"\",\"Hostname\":\"\",\"PublishedService\":\"kube-system/traefik\"},\"ThrottleDuration\":0}","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"ingress label selector is: \"\"","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"Creating in-cluster Provider client","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"Server configuration reloaded on :9100","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"Server configuration reloaded on :80","time":"2020-07-25T13:03:49Z"}
{"level":"info","msg":"Server configuration reloaded on :443","time":"2020-07-25T13:03:49Z"}
E0725 13:04:33.683804 1 reflector.go:322] github.com/containous/traefik/vendor/k8s.io/client-go/informers/factory.go:86: Failed to watch *v1beta1.Ingress: Get https://10.43.0.1:443/apis/extensions/v1beta1/ingresses?resourceVersion=3&timeoutSeconds=563&watch=true: dial tcp 10.43.0.1:443: connect: connection refused
E0725 13:04:33.683931 1 reflector.go:322] github.com/containous/traefik/vendor/k8s.io/client-go/informers/factory.go:86: Failed to watch *v1.Secret: Get https://10.43.0.1:443/api/v1/secrets?resourceVersion=708&timeoutSeconds=588&watch=true: dial tcp 10.43.0.1:443: connect: connection refused
E0725 13:04:33.684237 1 reflector.go:322] github.com/containous/traefik/vendor/k8s.io/client-go/informers/factory.go:86: Failed to watch *v1.Endpoints: Get https://10.43.0.1:443/api/v1/endpoints?resourceVersion=748&timeoutSeconds=560&watch=true: dial tcp 10.43.0.1:443: connect: connection refused
E0725 13:04:33.684290 1 reflector.go:322] github.com/containous/traefik/vendor/k8s.io/client-go/informers/factory.go:86: Failed to watch *v1.Servi
This is for sidewinder.internos.be
Brandon Wilson
@wilsonianb
Can you try increasing the ingress logging by adding logLevel: "debug" to /var/lib/rancher/k3s/server/manifests/traefik-mod.yaml?
Modifying the file should cause the traefik pod to reload. After which can you visit the sidewinder.internos.be again and check the logs?
Sidewinder3514
@Sidewinder3514
@wilsonianb could give me more explanation?
I added # static configuration
log:
level: DEBUG
filePath: /var/lib/rancher/k3s/server/manifests/traefik-mod.yaml
format: json
directly into traefik-mod.yaml file
Brandon Wilson
@wilsonianb
I expect /var/lib/rancher/k3s/server/manifests/traefik-mod.yaml would like this with logLevel: "debug" added
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
  name: traefik
  namespace: kube-system
spec:
  chart: https://%{KUBERNETES_API}%/static/charts/traefik-1.81.0.tgz
  valuesContent: |-
    rbac:
      enabled: true
    ssl:
      insecureSkipVerify: true
      enabled: true
    metrics:
      prometheus:
        enabled: true
    kubernetes:
      ingressEndpoint:
        useDefaultPublishedService: true
    image: "rancher/library-traefik"
    tolerations:
      - key: "CriticalAddonsOnly"
        operator: "Exists"
      - key: "node-role.kubernetes.io/master"
        operator: "Exists"
        effect: "NoSchedule"
    logLevel: "debug"
Sidewinder3514
@Sidewinder3514
and when saving the file with the "debug" parameter is auto active?
or need reboot system?
Brandon Wilson
@wilsonianb
Sidewinder3514
@Sidewinder3514
same message: Pay with Web Monetization to access this Codius host.
Brandon Wilson
@wilsonianb
I just re-tried both of your hosts
I expect there to be traefik logs for /.well-known/pay and/or the receipt verifier
feel free to dump the logs to a file and send them my way
Sidewinder3514
@Sidewinder3514
Ok thank for info, need to sleep now it's rather late here in Belgium and had a long working day
will look at it tomorrow
Brandon Wilson
@wilsonianb
:+1:
Sidewinder3514
@Sidewinder3514
could this be a problem?
Aug 01 08:26:12 sidewinder.internos.be k3s[6429]: E0801 08:26:12.224224 6429 dns.go:135] Nameserver limits were exceeded, some nameservers have been omitted, the applied nameserver line is: 195.135.195.135 195.8.195.8 2a01:7c8:7000:195:0:135:195:135
Brandon Wilson
@wilsonianb
Brandon Wilson
@wilsonianb
sounds like you could take a look at /etc/netplan/SOME_FILE.yaml / /etc/resolv.conf and see what was omitted
https://bugzilla.redhat.com/show_bug.cgi?id=1791008#c15
Sidewinder3514
@Sidewinder3514
@wilsonianb Could you check my two hosts again? There should be activity now.
Got a persistent incoming stream on Gatehub payment pointer
Sidewinder3514
@Sidewinder3514
I also did "Monetize your website" instructions from the Coil.com on a website of my uncles that I upkeep
So if I understand are my two codius hosts processing the trafic of that website?
Brandon Wilson
@wilsonianb
both still only show Awaiting Web Monetization...
Sidewinder3514
@Sidewinder3514
why do I have an incomming stream then?
image.png
Brandon Wilson
@wilsonianb
I don't think the stream in from the codius hosts
the coil extension still logs 502 and 503 errors on the SPSP queries to https://sidewinder.internos.be/.well-known/pay
and payment won't happen without a successful SPSP response

So if I understand are my two codius hosts processing the trafic of that website?

if the website and hosts have the same payment pointer, web-monetized users who visit the hosts or site would pay to the wallet account corresponding to the payment pointer.
outside of that, the codius hosts are unrelated to the website

Sidewinder3514
@Sidewinder3514
what is the best approach I can do for a root cause analyse or debug it?
What OS you use to run the hosts?
Brandon Wilson
@wilsonianb
I'd still recommend the traefik logs (with debug logging)
or you could try one of the nameserver limit solution (if that's actually the issue)
I've been running on centos7
Sidewinder3514
@Sidewinder3514
I install a CentOS 7 with GNOME Desktop software selection
Joel Torres
@primemachinist_twitter
Hey all!!!
CoraxR
@CoraxR
@Sidewinder3514 Hello, try update packages for your host
Sidewinder3514
@Sidewinder3514
@wilsonianb What is your latest install Codius link I should use for deployment? Anything changed there? I last used the https://github.com/codius/codius-install/
CoraxR
@CoraxR
@Sidewinder3514 try this - kubectl apply -k /tmp/codius
@Sidewinder3514 I see you have only this host now https://sidewinder2.internos.be/ ? I I will check now
Sidewinder3514
@Sidewinder3514
@CoraxR that's correct
I messed up sidewinder.internos.be :-)
start over again :)
CoraxR
@CoraxR
ok so did you update ? I see only Awaiting WM...
Sidewinder3514
@Sidewinder3514
on sidewinder2 I got error: absolute path error in '/tmp/codius' : evalsymlink failure on '/tmp/codius' : lstat /tmp/codius: no such file or directory