Hello,
I am unable to create a stream between a self-managed PostgreSQL instance and BigQuery.
All connectivity tests are passing and the user Datastream is configured to use is successfully authorised when validating the stream configuration.
However the stream validation fails with an unknown error containing no information on how to tackle the issue:
done: true
error:
code: 2
details:
- '@type': type.googleapis.com/google.rpc.ErrorInfo
domain: datastream.googleapis.com
metadata:
message: An unknown error occurred. Please try again. If the error persists,
contact Google support.
originalMessage: ''
time: '2023-08-21T09:40:23Z'
uuid: c078d80b-4006-11ee-ad60-aea4f578a289
reason: UNKNOWN
message: Unknown Error.
metadata:
'@type': type.googleapis.com/google.cloud.datastream.v1.OperationMetadata
apiVersion: v1
createTime: '2023-08-21T09:40:22.420969500Z'
endTime: '2023-08-21T09:40:25.097965017Z'
requestedCancellation: false
target: projects/martin-test-datalab/locations/europe-west4/streams/pg2bq
verb: create
name: projects/martin-test-datalab/locations/europe-west4/operations/operation-1692610822176-6036baacc8060-d7a665c8-116b7e7b
From Logs Explorer:
From the UI:
Our Postgres instance contains no logs pertaining to what exactly failed.
Both the replication slot and the publication exist, the replication slot has its `active` column set to `false`, indicating that Datastream was maybe unable to create the subscription?
Where can I get more information on what exactly failed? Has anybody encountered this before and, if so, how did you handle it?
Thanks
Solved! Go to Solution.
Here are some things you can try to troubleshoot the unknown error you are getting when creating a stream between a self-managed PostgreSQL instance and BigQuery:
Here are some additional considerations:
Here are some things you can try to troubleshoot the unknown error you are getting when creating a stream between a self-managed PostgreSQL instance and BigQuery:
Here are some additional considerations: