Closed t1m0thyj closed 1 year ago
Thank you for creating a bug report. If you haven't already, please ensure you have provided steps to reproduce it and as much context as possible.
Confirmed this seems to be a Theia bug, and left a comment on the linked Theia issue.
Until it is fixed, a workaround is to set http.proxySupport
to off
:
@anaxceron Can we add this to the list of ZE known issues here?
Symptom:
When performing any action that requires a mainframe connection like searching for data sets you see a proxy error.
Sample message:
"z/OSMF REST API Error" that includes Failed to establish a socket connection to proxies
Solution:
In Theia settings, search for "proxy" and change the http.proxySupport
setting to off
:
Added this as a known issue to the Known Zowe Explorer Issues article w/ PR 2777
Describe the bug
In Theia 1.33.0, attempts to connect to mainframe with ZE result in this error: "Failed to establish a socket connection to proxies"
To Reproduce
docker run -it --init --name theia -p 3000:3000 t1m0thyj/theia-alpine
docker cp dist/vscode-extension-for-zowe-2.6.0-SNAPSHOT.vsix theia:/home/theia/plugins
Expected behavior
Should be able to search for data sets as long as the profile contains valid connection info.
Screenshots
Desktop (please complete the following information):
Additional context
This is likely caused by a bug in Theia: https://github.com/eclipse-theia/theia/issues/11911 Perhaps we can comment on that issue to provide additional info. Also, a workaround may be to downgrade to an older version of Theia.
Interestingly, Zowe CLI successfully connects to the mainframe in the Theia terminal with these commands: