[GH-ISSUE #1051] If domain is enabled for ssl proxying tool then http request, else https request #1047

Open
opened 2026-03-03 19:24:04 +03:00 by kerem · 4 comments
Owner

Originally created by @pbezpal on GitHub (Oct 29, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1051

Hello! If I enable a domain for listing ssl proxying tool then i see a http request and response "The operation couldn’t be completed. (NIOHTTP1.HTTPParserError error 7.) (code=7)". Else I see a https request. Why proxyman replaces request protocol?

Before a domain is enabled in ssl proxying tool After a domain is enabled in ssl proxying tool
Originally created by @pbezpal on GitHub (Oct 29, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1051 Hello! If I enable a domain for listing ssl proxying tool then i see a http request and response "The operation couldn’t be completed. (NIOHTTP1.HTTPParserError error 7.) (code=7)". Else I see a https request. Why proxyman replaces request protocol? <img width="1595" alt="Before a domain is enabled in ssl proxying tool" src="https://user-images.githubusercontent.com/49067808/139452127-de3998c7-88b3-487b-a220-503cf9d3139c.png"> <img width="1593" alt="After a domain is enabled in ssl proxying tool" src="https://user-images.githubusercontent.com/49067808/139452141-9bf9ec6b-f963-4afd-9a73-4959a9b66488.png">
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 29, 2021):

Hey @pbezpal It seems that you haven't installed and trusted the Proxyman Certificate to your device yet.

If your devices is:

  • iOS device: Please open Certificate Menu -> Install for iOS -> Physical Device
  • Android Device: Open Certificate menu -> Install for Android -> Physical device

And make sure you follow all steps 👍

Here is your tutorial for iOS https://proxyman.io/posts/2019-06-16-How-I-use-Proxyman-to-see-HTTP-requests-responses-on-my-iPhone.html

<!-- gh-comment-id:954791601 --> @NghiaTranUIT commented on GitHub (Oct 29, 2021): Hey @pbezpal It seems that you haven't installed and trusted the Proxyman Certificate to your device yet. If your devices is: - iOS device: Please open Certificate Menu -> Install for iOS -> Physical Device - Android Device: Open Certificate menu -> Install for Android -> Physical device And make sure you follow all steps 👍 Here is your tutorial for iOS https://proxyman.io/posts/2019-06-16-How-I-use-Proxyman-to-see-HTTP-requests-responses-on-my-iPhone.html
Author
Owner

@pbezpal commented on GitHub (Oct 29, 2021):

@NghiaTranUIT this is a problem only on Android. I do all the steps as described in the documentation and even replace the network_security_protocol.xml file. I tried to do to physical device and on emulator. The result in the same(

Proxyman version 2.34.1 (23410)
Android 10
MaсOs Big Sur 11.6

<!-- gh-comment-id:954803558 --> @pbezpal commented on GitHub (Oct 29, 2021): @NghiaTranUIT this is a problem only on Android. I do all the steps as described in the documentation and even replace the network_security_protocol.xml file. I tried to do to physical device and on emulator. The result in the same( Proxyman version 2.34.1 (23410) Android 10 MaсOs Big Sur 11.6
Author
Owner

@NghiaTranUIT commented on GitHub (Oct 29, 2021):

Thanks. If it's an Android device. Can you verify:

  1. Proxyman Certificate is trusted in Setting app -> Security -> Encryption & Credentials -> Install a Certificate -> CA Certificate -> Install Anyway and Select CA Proxyman Certificate in your storage.
  2. Do you add AndroidManifest.xml?
  3. In network_security_protocol.xml , do you replace <your_production_domain> with your IP address?
  4. Is it an native android app or React Native? Because React Native would have extra requirement
<!-- gh-comment-id:954805632 --> @NghiaTranUIT commented on GitHub (Oct 29, 2021): Thanks. If it's an Android device. Can you verify: 1. Proxyman Certificate is trusted in Setting app -> Security -> Encryption & Credentials -> Install a Certificate -> CA Certificate -> Install Anyway and Select CA Proxyman Certificate in your storage. 2. Do you add AndroidManifest.xml? 3. In `network_security_protocol.xml `, do you replace <your_production_domain> with your IP address? 4. Is it an native android app or React Native? Because React Native would have extra requirement
Author
Owner

@pbezpal commented on GitHub (Oct 29, 2021):

1 point only for Android 11 and over. I have an Android 10 device
2 and 3 points - Yes
4 points - This is a third party SDK and our developer thinks the SDK is in Java

<!-- gh-comment-id:954823403 --> @pbezpal commented on GitHub (Oct 29, 2021): 1 point only for Android 11 and over. I have an Android 10 device 2 and 3 points - Yes 4 points - This is a third party SDK and our developer thinks the SDK is in Java
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1047
No description provided.