Summary
When running ‘abctl local credentials’ command in pyAirbyte, user encounters an error ‘Unable to determine organization email’ and ‘unable to decode token request’. The password works in the browser but not in the command line. User seeks help to fix this.
Question
I have migrated my airbyte instance from dockercompose to abctl. the firsttime i ran abctl local credentials i got the credentials. But running the same command the following day gives me an error
[ec2-user@ip-10-24-2-203 bin]$ abctl local credentials
INFO Using Kubernetes provider:
Provider: kind
Kubeconfig: /home/ec2-user/.airbyte/abctl/abctl.kubeconfig
Context: kind-airbyte-abctl
ERROR Unable to determine organization email
ERROR unable to determine organization email: failed to get organization: unable to fetch token: unable to decode token request: invalid character ‘<’ looking for beginning of value
The password still works on the browser but I am NOT able to retrieve from command line using the abctl local credentials
Any idea how to fix this
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.
Join the conversation on Slack
["abctl", "local-credentials", "error", "organization-email", "token-request", "pyairbyte"]
what outputs do you get for commands abctl version
and abctl local status
?
you might want to check organization
table in db-airbyte
database
install kubectl (https://kubernetes.io/docs/tasks/tools/#kubectl) and kubectx + kubens (https://github.com/ahmetb/kubectx)
install also k9s (https://k9scli.io/)
then execute commands
KUBECONFIG=~/.airbyte/abctl/abctl.kubeconfig kubectl config view --flatten > ~/.kube/config
kubectx kind-airbyte-abctl
kubens airbyte-abctl```
then you can forward ports
`kubectl port-forward --address 0.0.0.0 airbyte-db-0 5432:5432`
and connect to database: `db-airbyte`
host `localhost:5432` with your preferred tool
can you run abctl local credentials --email <your-email>
and see if that fixes the issue
I was able fix the issue by running abctl install command and specifying my host like mentioned here tip
By default, abctl
only configures an ingress rule for the host localhost
. If you plan to access Airbyte outside of localhost
, you will need to specify the --host
flag to the local install
command, providing the FQDN of the host which is hosting Airbyte. For example, abctl local install --host airbyte.company.example
.
By specifying the --host
flag, Airbyte will be accessible to both localhost
and the FDQN passed to the --host
flag.