AppiumTestDistribution / appium-interceptor-plugin

Appium 2.0 plugin to mock api calls for android apps
27 stars 11 forks source link

getting ssl certification error even though cert is installed #36

Closed uschouhan closed 2 months ago

uschouhan commented 2 months ago

[AndroidUiautomator2Driver@e7f0 (d1d1af34)] Calling AppiumDriver.execute() with args: ["interceptor: stopListening",[],"d1d1af34-0f41-4d97-b37a-e173e66e1700"] [AppiumDriver@8e3b] Clearing new command timeout pre-emptively since plugin(s) will handle this command [AppiumDriver@8e3b] Plugins which can handle cmd 'execute': appium-interceptor [AppiumDriver@8e3b] Plugin appium-interceptor is now handling cmd 'execute' [AppiumInterceptorPlugin] Stopping listener with id: undefined [AppiumDriver@8e3b] Command 'execute' was not handled by the following behaviours or plugins, even though they were registered to handle it: ["default"]. The command was handled by these: ["appium-interceptor"]. [AppiumDriver@8e3b] Restarting new command timeout via umbrella driver since plugin did not allow default handler to execute [AndroidUiautomator2Driver@e7f0 (d1d1af34)] Responding to client with driver.execute() result: [] [HTTP] <-- POST /session/d1d1af34-0f41-4d97-b37a-e173e66e1700/execute/sync 200 3 ms - 12 [HTTP] creating SNI context for www.google.com HTTPS_CLIENT_ERROR [Error: C07A8E0402000000:error:0A000416:SSL routines:ssl3_read_bytes:ssl/tls alert certificate unknown:ssl/record/rec_layer_s3.c:907:SSL alert number 46 ] { library: 'SSL routines', reason: 'ssl/tls alert certificate unknown', code: 'ERR_SSL_SSL/TLS_ALERT_CERTIFICATE_UNKNOWN' } [AppiumInterceptorPlugin] HTTPS_CLIENT_ERROR: Error: C07A8E0402000000:error:0A000416:SSL routines:ssl3_read_bytes:ssl/tls alert certificate unknown:ssl/record/rec_layer_s3.c:907:SSL alert number 46 [AppiumInterceptorPlugin] HTTPS_CLIENT_ERROR [Error: C07A8E0402000000:error:0A000416:SSL routines:ssl3_read_bytes:ssl/tls alert certificate unknown:ssl/record/rec_layer_s3.c:907:SSL alert number 46 ] { library: 'SSL routines', reason: 'ssl/tls alert certificate unknown', code: 'ERR_SSL_SSL/TLS_ALERT_CERTIFICATE_UNKNOWN' } [AppiumInterceptorPlugin] HTTPS_CLIENT_ERROR: Error: C07A8E0402000000:error:0A000416:SSL routines:ssl3_read_bytes:ssl/tls alert certificate unknown:ssl/record/rec_layer_s3.c:907:SSL alert number 46 [AppiumInterceptorPlugin]

uschouhan commented 2 months ago

its working fine when i download cert directly in device and installed