Comments (10)
@matoszz sir I had enabled ingressGrpc to true value bur still getting the error. Could you please let me know how to resolve it?
ERROR:: application.ApplicationService/Create failed with status code 502
from argocd-image-updater.
Trying all permutations of options (INSECURE true vs. false, GRPC_WEB true vs. false) still yields unsuccessful connection attempts even when hitting the pod IP's directly:
time="2020-10-08T21:53:01Z" level=error msg="error while communicating with ArgoCD" argocd_server=argocd-server.argocd grpc_web=false gr
pc_webroot= insecure=false plaintext=false
time="2020-10-08T21:53:01Z" level=error msg="Error: read tcp 192.168.3.122:55310->192.168.1.64:8080: read: connection reset by peer"
from argocd-image-updater.
Hi, please try if a non-URL value for ARGOCD_SERVER
, i.e. argo.mydomain.com
or argo.mydomain.com:443
(without the protocol specified) works for you.
from argocd-image-updater.
ARGOCD_SERVER = argo.mydomain.com
+ ARGOCD_GRPC_WEB = false
+ ARGOCD_INSECURE = true
time="2020-10-12T01:44:03Z" level=error msg="Error: rpc error: code = Internal desc = transport: received the unexpected content-type \"
text/plain; charset=utf-8\""
ARGOCD_SERVER = argo.mydomain.com
+ ARGOCD_GRPC_WEB = true
+ ARGOCD_INSECURE = true
time="2020-10-12T01:55:11Z" level=error msg="Error: rpc error: code = Unauthenticated desc = no session information"
ARGOCD_SERVER = argo.mydomain.com
+ ARGOCD_GRPC_WEB = false
+ ARGOCD_INSECURE = false
time="2020-10-12T01:57:00Z" level=error msg="Error: rpc error: code = Internal desc = transport: received the unexpected content-type \"
text/plain; charset=utf-8\""
ARGOCD_SERVER = argo.mydomain.com
+ ARGOCD_GRPC_WEB = true
+ ARGOCD_INSECURE = false
time="2020-10-12T02:01:29Z" level=error msg="Error: rpc error: code = Unauthenticated desc = no session information"
ARGOCD_SERVER = argo.mydomain.com:443
+ ARGOCD_GRPC_WEB = false
+ ARGOCD_INSECURE = true
time="2020-10-12T01:46:13Z" level=error msg="Error: rpc error: code = Internal desc = transport: received the unexpected content-type \"
text/plain; charset=utf-8\""
ARGOCD_SERVER = argo.mydomain.com:443
+ ARGOCD_GRPC_WEB = true
+ ARGOCD_INSECURE = false
time="2020-10-12T01:48:39Z" level=error msg="Error: rpc error: code = Unauthenticated desc = no session information"
ARGOCD_SERVER = argo.mydomain.com:443
+ ARGOCD_GRPC_WEB = false
+ ARGOCD_INSECURE = false
time="2020-10-12T01:50:05Z" level=error msg="Error: rpc error: code = Internal desc = transport: received the unexpected content-type \"
text/plain; charset=utf-8\""
ARGOCD_SERVER = argo.mydomain.com:443
+ ARGOCD_GRPC_WEB = true
+ ARGOCD_INSECURE = true
time="2020-10-12T01:53:05Z" level=error msg="Error: rpc error: code = Unauthenticated desc = no session information"
from argocd-image-updater.
trying to rule out the ingress; disabling default backend, creating a dedicated gRPC ingress, results in:
/application.ApplicationService/List failed with status code 502
from argocd-image-updater.
If you receive a message such as Error: rpc error: code = Unauthenticated desc = no session information
, it means that the connection parameters actually were correct, but that authentication is required at the endpoint. Credentials can be supplied via ARGOCD_TOKEN
environment variable.
I agree that the error messages could be a little bit more helpful on connection issues with the Argo CD server, tho.
from argocd-image-updater.
Interesting. I've created the secret per the instructions in the docs but now the secret is empty. I'm noticing that after I create it, restart the pods, it gets wiped out. Any inkling about why that would be occurring?
from argocd-image-updater.
Also, even when I generate the JWT token and put it into the env var of the deployment directly (instead of creating a secret with it) it still fails in the same way. Is there a step I'm missing w/r/t creating the user + JWT token?
from argocd-image-updater.
I finally found the permutation of settings that function 👏 - using not the grpc ingress (the regular one) with GRPC_WEB as "true" and insecure as "false" seems to finally start logging out checks
from argocd-image-updater.
Closing this as I believe has been resolved.
Feel free to reopen if it is not.
from argocd-image-updater.
Related Issues (20)
- Request for "latest pushed tag" update strategy HOT 1
- Cache hit
- Could not update application spec: could not get creds for repo '': credentials for '' are not configured in Argo CD settings HOT 1
- Image updating firing every 10 minutes instead of default 2 minutes
- Provide more details about error if connection to argocd fails.
- After successfully updating the image, the Helm values passed in the application are reset HOT 3
- Git Write-Back Target annotation doesn't seems commits to the kustomization file back to source path
- Error fetching metadata from Docker Hub
- {{ .OldTag }} does not match actual old tag being replaced
- Update strategy: newest-build not working HOT 2
- image updater post-sync hook
- could not get tags: Get "https://myharbor.domain/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority
- the image updater wants to connect to 52.219.169.162 (s3-r-w.eu-central-1.amazonaws.com) HOT 2
- Issue with Authentication in ArgoCD Image Updater for Docker Hub
- golangci-lint context loading failed: no go files to analyze
- ArgoCD does not consider images for arch "linux/arm64/v8" HOT 1
- Sequential Builds Overwriting Image Tags in Git Repository
- Digest Update Strategy Incorrectly Adding "Latest" Tag
- Bug between v0.12.2 to v0.13.0 in git write-back implementation HOT 2
- Unable to access /app/.aws for configuring ECR credentials after 0.13.0 upgrade HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argocd-image-updater.