Error : playwright._impl._errors.Error: net::ERR_PROXY_CERTIFICATE_INVALID at https://m.com

97 views
Skip to first unread message

Deepak Vyas

unread,
Mar 5, 2024, 5:34:51 AM3/5/24
to ZAP User Group
Tried everything but not sure why in docker execution i am getting this error.
Error : playwright._impl._errors.Error: net::ERR_PROXY_CERTIFICATE_INVALID at https://m.com

Docker launched successfully

8042 [ZAP-daemon] WARN  org.flywaydb.core.internal.database.base.Database - Flyway upgrade recommended: HSQLDB 2.7 is newer than this version of Flyway and support has not been tested. The latest supported version of HSQLDB is 2.6.
8072 [ZAP-daemon] INFO  org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory - Schema history table "PUBLIC"."flyway_schema_history" does not exist yet
8076 [ZAP-daemon] INFO  org.flywaydb.core.internal.command.DbValidate - Successfully validated 1 migration (execution time 00:00.019s)
8086 [ZAP-daemon] INFO  org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory - Creating Schema History table "PUBLIC"."flyway_schema_history" ...
8124 [ZAP-daemon] INFO  org.flywaydb.core.internal.command.DbMigrate - Current version of schema "PUBLIC": << Empty Schema >>
8131 [ZAP-daemon] INFO  org.flywaydb.core.internal.command.DbMigrate - Migrating schema "PUBLIC" to version "1 - Create table boast"
8158 [ZAP-daemon] INFO  org.flywaydb.core.internal.command.DbMigrate - Successfully applied 1 migration to schema "PUBLIC", now at version v1 (execution time 00:00.004s)
8165 [ZAP-daemon] INFO  org.zaproxy.addon.oast.services.callback.CallbackService - Started callback service on 0.0.0.0:37517
8172 [ZAP-daemon] INFO  org.zaproxy.addon.network.ExtensionNetwork - Creating new root CA certificate.
8888 [ZAP-daemon] INFO  org.zaproxy.addon.network.ExtensionNetwork - New root CA certificate created.
9953 [ZAP-daemon] INFO  org.zaproxy.addon.network.ExtensionNetwork - ZAP is now listening on 0.0.0.0:8181

I  am able to open localhost:8181 on my machine so zap proxy server and my docker is running


Also ignoring ssl error in playwright test

 chromium = playwright.chromium
    browser = chromium.launch(headless=True, proxy={"server": proxy_url})
    context = browser.new_context(ignore_https_errors=True)
    page = context.new_page()

thc...@gmail.com

unread,
Mar 6, 2024, 3:37:37 AM3/6/24
to zaprox...@googlegroups.com
Hi,

What's the value of proxy_url?

Best regards.

On 05/03/2024 10:34, Deepak Vyas wrote:
> Tried everything but not sure why in docker execution i am getting this
> error.
> Error : playwright._impl._errors.Error: net::ERR_PROXY_CERTIFICATE_INVALID
> at https://m.com
>
> *Docker launched successfully*
> *Also ignoring ssl error in playwright test*
Reply all
Reply to author
Forward
0 new messages