2020-02-29 07:10:26 UTC - Ali Shahidi: add new field to the document. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582960226087400?thread_ts=1582791848.077100&cid=C3TPCAQG1 ---- 2020-02-29 07:19:37 UTC - Rekha: Hi, I'm trying to connect to postgres db from my openwhisk using psycopg2
`#!/usr/bin/python` `import psycopg2` `conn = psycopg2.connect(database="testdb", user = "postgres", password = "pass123", host = "9.53.169.65", port = "5432")` `print( "Opened database successfully")` But this is not wokring. Is there any alternative way to establish DB connection? Please suggest me a solution. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582960777087700 ---- 2020-02-29 08:50:42 UTC - Ali Shahidi: Hello, I want to set a proxy for openwhisk's requests just before sending them to the Nginx, could anyone help me how could I do this? I mean how can I decode packet with my proxy server? Is there any way to not encode packets before sending them to the Nginx? ( http request ) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582966242092000?thread_ts=1582966242.092000&cid=C3TPCAQG1 ---- 2020-02-29 14:45:47 UTC - Rodric Rabbah: Look for the class WhiskAction and the serdes methods which convert it into a json document to be inserted into the database. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582987547093100?thread_ts=1582791848.077100&cid=C3TPCAQG1 ---- 2020-02-29 14:46:46 UTC - Rodric Rabbah: Did you try using nginx in http mode? If you have a certificate issue because the ssl certs is not signed, you can disable the ssl verification between your proxy and nginx. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582987606094700?thread_ts=1582966242.092000&cid=C3TPCAQG1 ----