Skip to content
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

Recent update caused port numbers to not be factored in somehow #2172

Open
Saeven opened this issue Oct 22, 2024 · 6 comments
Open

Recent update caused port numbers to not be factored in somehow #2172

Saeven opened this issue Oct 22, 2024 · 6 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Saeven
Copy link

Saeven commented Oct 22, 2024

Description

For development, I use a multitude of "ports" on various hostnames that otherwise resolve to the same IP. Examples:

When ProxymanApp is not enabled, these domains all resolve as expected. However, when enabled, only the first visited domain survives.

Steps to Reproduce

  1. Clear browser cache
  2. Start ProxymanApp
  3. Visit http://git.domain.com:7990/projects
  4. Visit http://ci.domain.com:8085/allPlans.action

Current Behavior

At step 4, it is trying to load the content of http://git.domain.com:7990/allPlans.action instead of http://ci.domain.com:8085/allPlans.action.

Expected Behavior

It loads the content of http://ci.domain.com:8085/allPlans.action

More Details

Quitting Proxyman and refreshing the affected tab, solves the issue after 4 above.

Environment

  • App version: e.g Proxyman 5.10.0
  • macOS version: e.g macOS 15.0.1 (24A348)
@Saeven Saeven added the bug Something isn't working label Oct 22, 2024
@NghiaTranUIT NghiaTranUIT self-assigned this Oct 28, 2024
@NghiaTranUIT NghiaTranUIT added this to the 5.11.0 milestone Oct 28, 2024
@NghiaTranUIT
Copy link
Member

@Saeven Sorry for the late reply.

may I ask if http://git.domain.com:7990/projects and http://ci.domain.com:8085/allPlans.action are the real URL?

I'm not sure why I can mix together because they have different hosts.

If you don't mind, can you share 2 working URLs?, so I can test it? (You can share with me via nghia@proxyman.io)

@NghiaTranUIT
Copy link
Member

Here is my config: /etc/host

127.0.0.1 git.proxyman.debug
::1 git.proxyman.debug
127.0.0.1 ci.proxyman.debug
::1 ci.proxyman.debug

I also have 2 local servers at port 3990 and 3000

Both are working fine with Proxyman v5.10.0

Screenshot 2024-10-29 at 08 42 20


Maybe you should add ::1`` to your hosts` file, so Proxyman can resolve correctly ?

@NghiaTranUIT
Copy link
Member

@Saeven it's fixed in this comment (#2164 (comment)) 👍

Please give it a try and share with me the result 👍

@Saeven
Copy link
Author

Saeven commented Oct 29, 2024

Hi @NghiaTranUIT these are not localhost entries. They resolve to an IPV4 address, e.g. 172.16.1.21. Adding a localhost loopback wouldn't solve much. I can share exact IP address and hostnames via email for sure - my pleasure. Incoming!

@NghiaTranUIT
Copy link
Member

Does the Beta build fix your problem ? because it's similar to #2164

@Saeven
Copy link
Author

Saeven commented Oct 29, 2024

Just tried - the beta build does not solve the matter no.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants