Skip to content

Querying datasets fails to follow server redirects (status 307) with RSE profiles #628

Description

@JillieBeanSim

Transferring due to RSE profile issue
Opened in Zowe Explorer repo by @antonkc
zowe/zowe-explorer-vscode#4435

The problem

Our team has a server setup that switches ports. Returning a 307 status page when this happens.

The extension works as expected in the first port, but when the server signals the change to the other port with status 307, the extension fails.

I have not seen a configuraction to enable "followRedirect".

Image

The log shows this:

mvs_fetch_error.txt

How to reproduce

The key part is setting up the server to split traffic between ports. May be done with API Gateway or others.

Once this is configured, a request must be launched that returns a 307 status code.

Expected behaviour

The requests done by the extension should follow redirects. At least with a configured profile property.

Hardware specifications

  • OS: Windows 11
  • Zowe Explorer Version: 3.5.1
  • Zowe CLI Version: N/A
  • Do you have secure credentials enabled? Both, yes and no
  • Are you using a custom credential manager? No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions