-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 500 when trying to get a secret #124
Comments
Hey @ankycooper! Thanks for filing this issue. We encountered something similar with another customer recently, and in that case it turned out to be an Advanced Protection firewall rule for their 1Password account which was blocking Cloud Providers. Is your Kubernetes cluster hosted on a cloud provider (e.g. AWS, Azure, Google Cloud, etc.)? If so, can you check your firewall settings to see if that is the case? It could also be another firewall rule depending on what is set there. To confirm this is the error you're seeing, please check the logs from the …
(Forbidden (Firewall Rule)), Your request was blocked by an Advanced Protection firewall rule.
… |
It's a self hosted dev k3s cluster.
Teraform and ansible integrations work.
Op cli works as well. I assume my network firewall isn't blocking anything.
I don't have a business account but a family so there is no 1password
firewall.
…On Tue, 22 Nov 2022, 11:40 pm Adam Pike, ***@***.***> wrote:
Hey @ankycooper <https://github.com/ankycooper>! Thanks for filing this
issue.
We encountered something similar with another customer recently, and in
that case it turned out to be an Advanced Protection firewall rule
<https://support.1password.com/firewall-rules/> for their 1Password
account which was blocking Cloud Providers
<https://support.1password.com/firewall-rules/#about-ip-addresses-and-anonymous-ips>
.
Is your Kubernetes cluster hosted on a cloud provider (e.g. AWS, Azure,
Google Cloud, etc.)? If so, can you check your firewall settings to see if
that is the case?
—
Reply to this email directly, view it on GitHub
<#124 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE5KNHG43Q3WXASG3ZLXFY3WJS5LRANCNFSM6AAAAAASHMOOIY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
works with minikube, but fails with k3s with the error above. |
Thanks for the updates. It initially smelled a lot like the issue we recently encountered with another customer, which is why I jumped on it. Thanks for the extra detail; the more information the better! It's particularly interesting that it's inconsistent behaviour across platforms, and this seems like an operator specific issue rather than 1Password Connect (i.e. the plugin, not the server itself). All that said, I'll defer to our engineering team for a deeper investigation. |
Thanks please let me know if you happen to get a fix.
…On Thu, 24 Nov 2022, 8:54 am Adam Pike, ***@***.***> wrote:
Thanks for the updates. It initially smelled a lot like the issue we
recently encountered with another customer, which is why I jumped on it.
Thanks for the extra detail; the more information the better! It's
particularly interesting that it's inconsistent behaviour across platforms,
and this seems like an operator specific issue rather than 1Password
Connect (i.e. the plugin, not the server itself).
All that said, I'll defer to our engineering team for a deeper
investigation.
—
Reply to this email directly, view it on GitHub
<#124 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE5KNHCZ4GR4SEDPBROZH7DWJ2HCVANCNFSM6AAAAAASHMOOIY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
i think there is already a fix that got merged: #108 also we got this problem and updating to chart version |
I'm already on v1.9.0 tried v1.8.1 got a different error message (still code is 500) |
Apologies for the late reply here. @ankycooper, are you still running into issues? If so, could you please check the logs of the API container of the Connect Pod? It's a bit hidden, but the following line suggests Connect is not able to initialize correctly:
|
This issue is still there, tried Rancher desktop (k3s under the hood) -- works so far does not work on "debian/ubuntu" Logs from connect pod when not working logs from operator when not working |
I am receiving the same error on a clean |
So in my case the token was expired and when i rotated that token with new one and restarted the operator , it worked |
Your environment
Chart Version: connect-1.9.0 | APP 1.5.7
Helm Version: v3.10.2
Kubernetes Version: v1.25.4-rc4+k3s1
What happened?
Followed the blog https://blog.bennycornelissen.nl/post/onepassword-on-kubernetes/
however, I don't get the k8s secret
What did you expect to happen?
get a Kubernetes secret for the 1password secret
Steps to reproduce
and add the following yaml manifest after the 1password pods are started
apiVersion: onepassword.com/v1 kind: OnePasswordItem metadata: name: password spec: itemPath: "vaults/systems/items/dummy"
Notes & Logs
kubectl logs onepassworditem.onepassword.com/password error: no kind "OnePasswordItem" is registered for version "onepassword.com/v1" in scheme "pkg/scheme/scheme.go:28"
The following has a 408 error
`
kubectl get onepassworditem.onepassword.com/password -o yaml
apiVersion: onepassword.com/v1
kind: OnePasswordItem
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"onepassword.com/v1","kind":"OnePasswordItem","metadata":{"annotations":{},"name":"password","namespace":"default"},"spec":{"itemPath":"vaults/systems/items/dummy"}}
creationTimestamp: "2022-11-22T02:35:26Z"
finalizers:
generation: 1
name: password
namespace: default
resourceVersion: "185126"
uid: bf55e594-bb43-4c68-95ad-dd7a7ca06528
spec:
itemPath: vaults/systems/items/dummy
status:
conditions:
message: 'Failed to retrieve item: status 408: sync did not complete within timeout,
please retry the request'
status: "False"
type: Ready
`
Logs of the operator pod
The text was updated successfully, but these errors were encountered: