-
Notifications
You must be signed in to change notification settings - Fork 50
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 to IRIS for Health 2023.1.2 server #1462
Comments
@Santiagf Are you sure you entered your connection information correctly? If you open the developer tools using the |
AxiosError: Request failed with status code 401
The connection information appear to be correct since we can launch the IRIS Portal using those entries in a browser.
From: Brett Saviano ***@***.***>
Sent: Wednesday, November 27, 2024 9:54 AM
To: intersystems-community/vscode-objectscript ***@***.***>
Cc: Santiago, Felix ***@***.***>; Mention ***@***.***>
Subject: [EXTERNAL] Re: [intersystems-community/vscode-objectscript] Unable to connect to IRIS for Health 2023.1.2 server (Issue #1462)
*** EXTERNAL E-MAIL SECURITY ALERT *** Please use caution before (1.) Replying to the message (2.) Opening any attachment (3.) Clicking on any link or URL.
Please report any suspicious e-mail by clicking on the “Report Phishing” icon or by forwarding the e-mail to ***@***.******@***.***>
@Santiagf<https://url.us.m.mimecastprotect.com/s/oEnXCNk1WkhVVkOoWcjioHyPUuz?domain=github.com> Are you sure you entered your connection information correctly? If you open the developer tools using the Developer: Toggle Developer Tools command from the command palette<https://url.us.m.mimecastprotect.com/s/twkzCL9BW9fNNBGLWsBfgHyedq3?domain=code.visualstudio.com>, do you see any errors in the Console that appears?
—
Reply to this email directly, view it on GitHub<https://url.us.m.mimecastprotect.com/s/rrHOCM8BW8UxxBwjrIkhVH8eOzz?domain=github.com>, or unsubscribe<https://url.us.m.mimecastprotect.com/s/MIgTCOY96Yi551738srslHGLbFO?domain=github.com>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
The information transmitted via this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or proprietary information. Any use, review, retransmission, dissemination or other use of, or pursuing of any action in reliance upon this information by persons or entities other than the intended recipient is strictly prohibited. If you are the recipient of this e-mail transmission in error, please reply to the sender and delete the material from any computer. Thank you.
|
@Santiagf 401 means "Unauthorized". That usually means you didn't supply a username or password, or one or both were incorrect. Since you say those credentials work for the SMP that seems unlikely though. You can test the REST request that VS Code is making to IRIS from your browser to see what the error is. In your browser, open the SMP page , replace |
This is the error message that I see however I can connect to the IRIS portal using the same credentials.
401 - Unauthorized: Access is denied due to invalid credentials.</h2>
<h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>
From: Brett Saviano ***@***.***>
Sent: Wednesday, November 27, 2024 11:02 AM
To: intersystems-community/vscode-objectscript ***@***.***>
Cc: Santiago, Felix ***@***.***>; Mention ***@***.***>
Subject: [EXTERNAL] Re: [intersystems-community/vscode-objectscript] Unable to connect to IRIS for Health 2023.1.2 server (Issue #1462)
*** EXTERNAL E-MAIL SECURITY ALERT *** Please use caution before (1.) Replying to the message (2.) Opening any attachment (3.) Clicking on any link or URL.
Please report any suspicious e-mail by clicking on the “Report Phishing” icon or by forwarding the e-mail to ***@***.******@***.***>
@Santiagf<https://url.us.m.mimecastprotect.com/s/3nG6CVOZnOT00VOQVuzhEHE83is?domain=github.com> 401 means "Unauthorized". That usually means you didn't supply a username or password, or one or both were incorrect. Since you say those credentials work for the SMP that seems unlikely though. You can test the REST request that VS Code is making to IRIS from your browser to see what the error is. In your browser, open the SMP page , replace csp/sys/UtilHome.csp with api/atelier/, and press enter. Enter your username and password when prompted by the browser. If everything is working OK, you should see some JSON that includes system information like your IRIS $ZV. If you don't see that info, you should see an error of some sort.
—
Reply to this email directly, view it on GitHub<https://url.us.m.mimecastprotect.com/s/ADEsCR6Bj6Hnnw7Zwh9f3H1BtLQ?domain=github.com>, or unsubscribe<https://url.us.m.mimecastprotect.com/s/MpgqCW6Bo6Hzz1lo1iKiKHoqpkW?domain=github.com>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
The information transmitted via this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or proprietary information. Any use, review, retransmission, dissemination or other use of, or pursuing of any action in reliance upon this information by persons or entities other than the intended recipient is strictly prohibited. If you are the recipient of this e-mail transmission in error, please reply to the sender and delete the material from any computer. Thank you.
|
@Santiagf That response is definitely unexpected. Since you're seeing the same behavior from the browser as VS Code, I don't think this is a VS Code issue. Can you open your user definition on the IRIS portal and see if you have the |
My user has %ALL and %Developer roles.
From: Brett Saviano ***@***.***>
Sent: Wednesday, November 27, 2024 1:11 PM
To: intersystems-community/vscode-objectscript ***@***.***>
Cc: Santiago, Felix ***@***.***>; Mention ***@***.***>
Subject: [EXTERNAL] Re: [intersystems-community/vscode-objectscript] Unable to connect to IRIS for Health 2023.1.2 server (Issue #1462)
*** EXTERNAL E-MAIL SECURITY ALERT *** Please use caution before (1.) Replying to the message (2.) Opening any attachment (3.) Clicking on any link or URL.
Please report any suspicious e-mail by clicking on the “Report Phishing” icon or by forwarding the e-mail to ***@***.******@***.***>
@Santiagf<https://url.us.m.mimecastprotect.com/s/J1yLCDkEWkhjjNWyJc5h4HjZLEQ?domain=github.com> That response is definitely unexpected. Since you're seeing the same behavior from the browser as VS Code, I don't think this is a VS Code issue. Can you open your user definition on the IRIS portal and see if you have the %Developer role or %Development resource? The Atelier API requires USE permission on %Development.
—
Reply to this email directly, view it on GitHub<https://url.us.m.mimecastprotect.com/s/xhI-CBBE9BfPPpkyRszflH2MMrm?domain=github.com>, or unsubscribe<https://url.us.m.mimecastprotect.com/s/ps53CERQWRU11VzY0ipivH7qzjF?domain=github.com>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
The information transmitted via this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or proprietary information. Any use, review, retransmission, dissemination or other use of, or pursuing of any action in reliance upon this information by persons or entities other than the intended recipient is strictly prohibited. If you are the recipient of this e-mail transmission in error, please reply to the sender and delete the material from any computer. Thank you.
|
@Santiagf I suggest you use IRIS Portal's System Administration > Security > Auditing section to look for information in the audit log. Make sure that the %System/%Login/LoginFailure audit event is enabled when you reproduce the problem. |
Type: Bug
Click on Intersystems icon on left side of VSCode panel
Click + to add a server
Enter Server information: Server name, Scheme, Host, port
Attempt to connect.
Response: Unavailable
Extension version: 2.12.10
VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.22631
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
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: