dyrnq / kubeadm-vagrant

Run kubernetes cluster with kubeadm on vagrant.
1 stars 5 forks source link

error downloading daprd binary: Get "https://github.com/dapr/dapr/releases/download/v1.8.0/daprd_linux_amd64.tar.gz": dial tcp 20.205.243.166:443: connect: connection timed out #40

Closed dyrnq closed 2 years ago

dyrnq commented 2 years ago
dapr init
⌛  Making the jump to hyperspace...
ℹ️  Container images will be pulled from Docker Hub
ℹ️  Installing runtime version 1.8.0
❌  Downloading binaries and setting up components...
❌  error downloading daprd binary: Get "https://github.com/dapr/dapr/releases/download/v1.8.0/daprd_linux_amd64.tar.gz": dial tcp 20.205.243.166:443: connect: connection timed out
dyrnq commented 2 years ago
dapr init --timeout 3000
dyrnq commented 2 years ago
c8d88579cd10   daprio/dapr:1.8.0                       "./placement"            16 minutes ago      Up 16 minutes             0.0.0.0:50005->50005/tcp, :::50005->50005/tcp                                              dapr_placement
f7db5bae36f2   redis                                   "docker-entrypoint.s…"   17 minutes ago      Up 17 minutes             0.0.0.0:6379->6379/tcp, :::6379->6379/tcp                                                  dapr_redis
abdbdf9d8ffb   openzipkin/zipkin                       "start-zipkin"           17 minutes ago      Up 17 minutes (healthy)   9410/tcp, 0.0.0.0:9411->9411/tcp, :::9411->9411/tcp                                        dapr_zipkin
dyrnq commented 2 years ago
❌  error downloading dashboard binary: Get "https://github.com/dapr/dashboard/releases/download/v0.10.0/dashboard_linux_amd64.tar.gz": dial tcp 20.205.243.166:443: connect: connection timed out
dyrnq commented 2 years ago
curl -# -x http://127.0.0.1:8118 -fSL -O https://github.com/dapr/installer-bundle/releases/download/v1.8.0/daprbundle_linux_amd64.tar.gz

tar -xvf daprbundle_linux_amd64.tar.gz
cd daprbundle/
dapr uninstall
dapr init --from-dir . 

ref https://github.com/dapr/installer-bundle/releases ref https://blog.csdn.net/qq_34332733/article/details/124096613

dyrnq commented 2 years ago
⌛  Making the jump to hyperspace...
⚠  Local bundle installation using --from-dir flag is currently a preview feature and is subject to change. It is only available from CLI version 1.7 onwards.
ℹ️  Installing runtime version 1.8.0
→  Extracting binaries and setting up components... Loaded image: daprio/dapr:1.8.0
↖  Extracting binaries and setting up components... 
Dapr runtime installed to /home/debian/.dapr/bin, you may run the following to add it to your path if you want to run daprd directly:
    export PATH=$PATH:/home/debian/.dapr/bin
✅  Extracting binaries and setting up components...
✅  Extracted binaries and completed components set up.
ℹ️  daprd binary has been installed to /home/debian/.dapr/bin.
ℹ️  dapr_placement container is running.
ℹ️  Use `docker ps` to check running containers.
✅  Success! Dapr is up and running. To get started, go here: https://aka.ms/dapr-getting-started
ls -l ~/.dapr/bin/ --block-size m
total 141M
-rwxrwxrwx 1 debian debian 111M Jul 18 16:51 daprd
-rwxrwxrwx 1 debian debian  30M Jul 18 16:51 dashboard
drwxr-xr-x 3 debian debian   1M Jul 18 16:51 web
dyrnq commented 2 years ago
docker run --name "dapr_zipkin" --restart always -d -p 9411:9411 openzipkin/zipkin
docker run --name "dapr_redis" --restart always -d -p 6379:6379 redislabs/rejson
dapr run --app-id test --app-port 8000 -- python3 -m http.server --bind 0.0.0.0
ℹ️  Starting Dapr with id test. HTTP Port: 32951. gRPC Port: 42217
INFO[0000] starting Dapr Runtime -- version 1.8.0 -- commit dc7f86840c85a1eff2e1223456994f554ea31d11  app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] log level set to: info                        app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] metrics server started on :46561/             app_id=test instance=debian scope=dapr.metrics type=log ver=1.8.0
INFO[0000] standalone mode configured                    app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] app id: test                                  app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] mTLS is disabled. Skipping certificate request and tls validation  app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] local service entry announced: test -> 192.168.9.205:37835  app_id=test instance=debian scope=dapr.contrib type=log ver=1.8.0
INFO[0000] Initialized name resolution to mdns           app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] loading components                            app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] component loaded. name: pubsub, type: pubsub.redis/v1  app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] waiting for all outstanding components to be processed  app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] detected actor state store: statestore        app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] component loaded. name: statestore, type: state.redis/v1  app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] all outstanding components processed          app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] gRPC proxy enabled                            app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] enabled gRPC tracing middleware               app_id=test instance=debian scope=dapr.runtime.grpc.api type=log ver=1.8.0
INFO[0000] enabled gRPC metrics middleware               app_id=test instance=debian scope=dapr.runtime.grpc.api type=log ver=1.8.0
INFO[0000] API gRPC server is running on port 42217      app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] enabled metrics http middleware               app_id=test instance=debian scope=dapr.runtime.http type=log ver=1.8.0
INFO[0000] enabled tracing http middleware               app_id=test instance=debian scope=dapr.runtime.http type=log ver=1.8.0
INFO[0000] http server is running on port 32951          app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] The request body size parameter is: 4         app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] enabled gRPC tracing middleware               app_id=test instance=debian scope=dapr.runtime.grpc.internal type=log ver=1.8.0
INFO[0000] enabled gRPC metrics middleware               app_id=test instance=debian scope=dapr.runtime.grpc.internal type=log ver=1.8.0
INFO[0000] internal gRPC server is running on port 37835  app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] application protocol: http. waiting on port 8000.  This will block until the app is listening on that port.  app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] application discovered on port 8000           app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
WARN[0000] [DEPRECATION NOTICE] Adding a default content type to incoming service invocation requests is deprecated and will be removed in the future. See https://docs.dapr.io/operations/support/support-preview-features/ for more details. You can opt into the new behavior today by setting the configuration option `ServiceInvocation.NoDefaultContentType` to true.  app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
== APP == 127.0.0.1 - - [18/Jul/2022 17:12:12] code 404, message File not found
== APP == 127.0.0.1 - - [18/Jul/2022 17:12:12] "GET /dapr/config HTTP/1.1" 404 -
INFO[0000] application configuration loaded              app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] actor runtime started. actor idle timeout: 1h0m0s. actor scan interval: 30s  app_id=test instance=debian scope=dapr.runtime.actor type=log ver=1.8.0
== APP == 127.0.0.1 - - [18/Jul/2022 17:12:12] code 404, message File not found
== APP == 127.0.0.1 - - [18/Jul/2022 17:12:12] "GET /dapr/subscribe HTTP/1.1" 404 -
INFO[0000] dapr initialized. Status: Running. Init Elapsed 60.42218ms  app_id=test instance=debian scope=dapr.runtime type=log ver=1.8.0
INFO[0000] placement tables updated, version: 0          app_id=test instance=debian scope=dapr.runtime.actor.internal.placement type=log ver=1.8.0
ℹ️  Updating metadata for app command: python3 -m http.server --bind 0.0.0.0
✅  You're up and running! Both Dapr and your app logs will appear here.