I've had issues with the new Airflow airbyte provi...
# ask-ai
b
I've had issues with the new Airflow airbyte provider, I can't seem to get it to work. As far as I know, its due to the connection settings, but I keep getting 404 (despite my OSS install with abctl having authentication disabled). I have as HOST: http://REDACTED:8000 and TOKEN_URL: v1/applications/token. I keep getting this error:
Copy code
airflow.exceptions.AirflowException: Unexpected status code 404 from token endpoint
Any ideas of what I am doing wrong?
u
Based on the knowledge sources provided, it seems like you might be encountering a similar issue to the one discussed in [this Github issue](https://github.com/airbytehq/airbyte/issues/43423). The user in that issue was also getting a connection refused error when trying to trigger a job through the API, which could be similar to the 404 error you're seeing. One thing to check is whether the API port is correctly exposed. In the Github issue, it was suggested that the problem might be due to a missing port forward or the API port not being opened. Also, ensure that you are using the correct endpoint for the token. In your case, you mentioned using
v1/applications/token
as the TOKEN_URL. However, based on the information from the Github issue, it seems like the endpoint might be
/api/v1/connections/sync
. If you're still encountering issues, it might be helpful to check the output of the following commands as suggested in the Github issue:
Copy code
bash docker ps | grep airbyte-abctl
Copy code
bash curl -v <http://localhost:8000/api/v1/instance_configuration> 1> /dev/null
These commands can help you check the status of your Airbyte installation and whether the API is correctly set up. If none of these suggestions help, I would recommend checking out the [Airbyte troubleshooting guide](https://docs.airbyte.com/deploying-airbyte/troubleshoot-deploy) for more information.