-
-
Notifications
You must be signed in to change notification settings - Fork 222
Description
Hey!
I'm having some issues while using HTTP targets within the Warpgate project. I’ve noticed that it's not possible for a user within a certain session to access more than one HTTP target at the same time.
Example scenario
For example, I have configured two HTTP targets:
- WEB-01
- WEB-02
When I initially access WEB-01 target, everything works correctly. However, when I then access the second one (using the same session), any further traffic to WEB-01 is routed to WEB-02 instead.
This behavior makes it impossible for a user to interact with multiple HTTP targets simultaneously. Accessing multiple web applications at the same time is a common usage pattern (e.g. opening several internal tools or dashboards in different tabs). However, I think that Warpgate does not currently handle this scenario correctly.
According to Warpgate's documentation:
While the target is active, Warpgate will pass-through all HTTP traffic in this session straight to it.
This seems to imply that HTTP routing is session-wide rather than target-specific, which likely explains the behavior. However, this limitation conflicts with normal real-world usage where users frequently need to access several web applications at the same time.
Actual behavior
- Traffic that was previously routed to one HTTP target is now redirected to the newly accessed one.
- Because of that, only one HTTP target can be effectively used per session.
Expected (or desired) behaviour
- A user should be able to interact with multiple HTTP targets simultaneously. This is a common usage pattern while working with web-based tools.
My temporal workaround
The only workaround I’ve found so far is to open each HTTP target in a separate browser session by using incognito mode. This effectively forces Warpgate to create a new session for each target. While this works for the moment, it’s not a convenient or straightforward solution for users and negatively impacts usability.
Could it be possible to modify the tool to handle this scenario in a proper manner. Is there a better workaround?
Thanks for your time!