Connection to PostgreSQL db in Data Flow not working

?ukasz Bromberek 21 Reputation points
2022-12-14T18:21:14.94+00:00

I'm trying to connect my Azure DB for PostgreSQL (flexible server) with ADF data activity. The dataset related to PSQL is working nice with copy activity. When I'm trying to reach PSQL Dataset in Data Flow I'm receiving:

Operation on target InitDBContributionParquet failed: {"StatusCode":"DFExecutorUserError","Message":"Job failed due to reason: at Sink 'StoreInPSQL': The connection attempt failed.","Details":"shaded.msdataflow.org.postgresql.util.PSQLException: The connection attempt failed.\n\tat shaded.msdataflow.org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:297)\n\tat shaded.msdataflow.org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)\n\tat shaded.msdataflow.org.postgresql.jdbc.PgConnection.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,623 questions
0 comments No comments
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 38,546 Reputation points Microsoft Employee Moderator
    2022-12-15T08:28:50.367+00:00

    Hi @?ukasz Bromberek ,

    Thanks for posting query in Microsoft Q&A Platform.

    When actually you are getting this error? While performing data preview in dataflow? Or while running dataflow using Dataflow activity?

    If it's in dataflow activity, then could you please cross check and make sure correct IR there under settings tab?

    You mean to say link liked service still connection is getting successful? If yes, note which IR is getting used there and use same in data flow activity.

    Please let me know how it goes. Thank you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.