-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Certificate unknown and no api requests returned #43
Comments
@herby-naidz Have you followed the steps outlined in https://github.com/AppiumTestDistribution/appium-interceptor-plugin/blob/master/docs/certificate-installation.md? After installing the certificate, can run the below command and send me the screenshot of your mobile screen.
|
I have followed the steps for platform 14. This is what I see on the emulator when I test the connection with the given command: |
Can you confirm if the certificate is installed properly on the device? If yes, can you check with a different emulator to see if its not an issue with the emulator that you are using. |
I have created a new emulator also on Platform 14. This time I used a default android system image instead of a Google APIs image. I don't know if that made the difference, but at least the connection test seems to be working (although the terminal still has the ERR_SSL_SSLV3_ALERT_CERTIFICATE_UNKNOWN error). This is what the connection test produces on the new device: However, running the appium/wdio tests still produced no output when trying to intercept the api calls. At the time I was attempting to mock a few calls. I have changed the code to just the following:
and then later in the code I have:
I have removed Now I get an error when I run the tests, namely:
These are the options passed in when the appium server is started:
I am not sure if something is missing in the above. |
Is the behaviour same even if you pass |
If I pass Unfortunately the app is not mine. I only have the apk. Perhaps the app is the issue. I'll see how far I get. Thanks |
Hi
I have installed the certificate (https://github.com/AppiumTestDistribution/appium-interceptor-plugin/blob/master/certificate/certs/ca.pem) on my Android emulator (Platform 14). When I run the connection test the site does not load on my emulator and I get an error in the terminal:
When I try to use the plugin in my Appium/WebdriverIO project I don't see any errors, but I also am not able to intercept any API calls. Every now and then I do see a few calls to something Google related but nothing to our backend APIs.
Would appreciate it if you could assist.
The text was updated successfully, but these errors were encountered: