-
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
Can't connect to SAS OnDemand using VS Code Extension (or Integration Technologies Client) #990
Comments
We have found that the encryption method for connecting to SODA requires additional modules that are installed with a client like EG or full Windows SAS, but not with the Int Tech client alone. You can also test the connection using the IT Config tool that is installed with the SAS Integration Technologies client. If it works there, then VS Code should work too. But if not, then it probably won't -- and it isn't due to the SAS extension. |
OK, thanks chris. Perhaps that's the explanation. I still can connect to ODA using SASpy, but i guess that goes down a different security path. |
Yes, SASPy uses a Java-based approach and not the Windows-based IntTech client. Some special steps were needed to make that work, but it's bundled into the SASPy process. |
Sorry for jump in. May have a try #942 with SASPy profile if you can compile the extension. |
@ShuguangSun: Like the concept and see you've submitted a request for review, so if this idea gets incorporated into a new SAS VS Code extension verison, I'll definitely give it a try (I can connect via SASpy)! Thanks! |
It seems that ordinary soda users basically cannot connect to soda through the vscode plug-in. I understand that at least they have to sign up for the eg course to do this, right? |
@angelfish0808 An additional component is needed -- a small piece of cryptography that is included only with installed apps like SAS EG, SAS for Windows and a few others. Apologies for the gap on this, but not aware of another remedy at this time. Enrolled students can get SAS EG via SODA. |
@cjdinger I have the same issue with @tedconway. I also receive this error whenever i try to connect my VS Code to SAS
I already have the SAS EG as well as the ITC on my Win10. I think it has something to do with SAS Integration Technologies Configuration not being able to recognize the SAS EG installed? It gives this kind of prompt whenever i open the SAS ITC:
I already tried entering SAS sever definition manually, as well as adding it to the firewall, but the problem still persists. Can you suggest a workaround for this? |
If you can verify that this PowerShell script is working (with modifications for the correct host and credentials, then you will know that your machine can connect. This would use the same mechanism as VS Code and even EG. |
Describe the bug
Attempts to connect to SAS OnDemand using VS Code Extension OR via SAS Integration Technologies client time out. This ODA server I'm assigned to had a multi-day outage this week (maintenance) and is slated to be down again all day tomorrow. The interactive ODA environment is working now, but is there any chance that the SAS Integration Technologies service may not be accepting connections? I did see that I couldn't connect to the status page for the server now, which I could do during the outage. Thanks!
Steps to reproduce
Try to connect to SAS OnDemand using VS Code or SAS Integration Technologies client and it times out after about 5-20 seconds.
Expected behavior
Connection established.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Windows 11.
No SAS on laptop but installed latest (SAS 9.4M8-compatible) SAS Integration Technologies client as instructed.
SAS Extenstion for VS Code is V1.9.0
Additional context
Here's the output from SAS Integration Technologies client test.
System.Runtime.InteropServices.COMException (0x80042002):
Connection timed out. A connection attempt failed because the SAS Server did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
0x8007274c
[email protected]
odamid-usw2.oda.sas.com
8591
440196D4-90F0-11D0-9F41-00A024BB830C
SAS.Workspace.1.0
3436
test
at SASObjectManager.IObjectFactory2.CreateObjectByServer(String Name, Boolean synchronous, IServerDef pIServerDef, String LoginName, String Password)
at SAS.BI.Itconfig.Library.ServerTests.SASServerTest.CreateConnectionWithObjectFactoryMulti()
at SAS.BI.Itconfig.Library.ServerTests.SASServerTest.CreateConnection()
The text was updated successfully, but these errors were encountered: