-
Notifications
You must be signed in to change notification settings - Fork 49
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
Unable to connect server: Cannot read properties of undefined (reading 'port') #1489
Comments
@gjsjohnmurray This is caused by #1485. It's present in beta.14 but not beta.13. |
@isc-csuo please fetch the zip from https://github.com/intersystems-community/vscode-objectscript/actions/runs/13527694874/artifacts/2650547364, extract the dev VSIX it contains, and try installing that. I'm hoping it fixes the issue you found. |
In case you need a 2nd person to confirm, I'm also getting it on beta.14 & beta.15. Regressed back to beta.12 and all good again. |
@RyszardWithAZ does the dev build linked from my previous comment also fail for you? |
@gjsjohnmurray, I didn't try it, I just downgraded. I can wait for a future beta release with this fixed. |
The dev build works for me John. |
@gjsjohnmurray I installed the dev build, and now I'm able to see REST responses which I was not able to see even with settings enabled. This time I'm getting the following response:
When I switched to "Window" channel for more error messages, here's what I see:
|
I should also point out that the server I'm connecting to has been in my laptop for a while and I have been connecting to it fine until yesterday. I will paste my settings and certificate just to rule out possibilities. |
![]() ![]() ![]() I pasted my setup following the instruction on Establish an HTTPS Connection Using a Self-Signed Certificate because that's the immediate answer when I searched through internal resources using the error message "unable to verify the first certificate". |
Don't mean to flood the comment area but I saw a warning message I missed previously among those error messages I posted:
Thanks for looking into it! |
@isc-csuo the |
@isc-bsaviano I just tried restarting vscode but still seeing the exact same error |
@isc-csuo Did you change anything about your VS Code or IRIS setup right before this stopped working? Maybe a VS Code core update or certificate change? Other than checking the value of |
Type: Bug
I get multiple errors while trying to connect to my server but I don't which one is the root cause.
When I refresh server connection, I get Error: unable to verify the first certificate. I was using *.iscinternal.com certs so I followed the instruction in documentation: https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO_serverprofile#GVSCO_serverprofile_edit_selfsignedhttps, but I wasn't able to get that error resolved.
Then if I open the developer console, I see these errors:
and
My server is defined as below:
and my workspace:
Could you help me understand why I was getting those errors and how I should fix those? Thanks!
Extension version: 2.12.11-beta.15
VS Code version: Code 1.97.2 (Universal) (e54c774e0add60467559eb0d1e229c6452cf8447, 2025-02-12T23:20:35.343Z)
OS version: Darwin arm64 23.6.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: