Skip to content
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

Connection error "No File Found" #2498

Open
MadChimpanzee opened this issue Jan 31, 2025 · 9 comments
Open

Connection error "No File Found" #2498

MadChimpanzee opened this issue Jan 31, 2025 · 9 comments

Comments

@MadChimpanzee
Copy link

I am attempting to connect to my 400 and when I do so it gives the error message "File not found". I have verified that port 22 is active and listening on the 400 and that my password is correct. I am able to connect via 5250 with my user profile and password. However, vsCode will not connect. I also can ping the 400 and get a response and used both the hostname and IP to verify it wasn't a DNS issue.

12:47PM CST

Context Version
Code for IBM i version 2.14.5
Visual Studio Code version 1.96.4
Operating System win32_x64
Active extensions
COBOL (cobol): 25.1.25
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.5.0
CodeGPT: Chat & AI Agents (dscodegpt): 3.8.20
Configuration Editing (configuration-editing): 1.0.0
Db2 for IBM i (vscode-db2i): 1.8.2
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.23.0
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
GitHub Copilot (copilot): 1.261.0
GitHub Copilot Chat (copilot-chat): 0.23.2
GitHub Pull Requests (vscode-pull-request-github): 0.102.0
IBM i Project Explorer (vscode-ibmi-projectexplorer): 2.12.0
IntelliCode (vscodeintellicode): 1.3.2
IntelliCode API Usage Examples (intellicode-api-usage-examples): 0.2.9
JSON Language Features (json-language-features): 1.0.0
Merge Conflict (merge-conflict): 1.0.0
Node Debug Auto-attach (debug-auto-launch): 1.0.0
Prettier SQL VSCode (prettier-sql-vscode): 1.6.0
Source Orbit (vscode-sourceorbit): 1.0.2
TODO Highlight (vscode-todo-highlight): 1.0.5
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0

Not connected 🔌

@sebjulliand
Copy link
Collaborator

Does your password contain any special characters?

@sebjulliand
Copy link
Collaborator

Also, can you manage to connect using a third party ssh client, like putty?

@MadChimpanzee
Copy link
Author

Yes, it does contain special characters. Interesting, when I attempt to connect with putty it is giving me an access denied response. However, I do have allobj authority on my profile.

@sebjulliand
Copy link
Collaborator

It's very possible these special characters are the root cause of your problem. Several users reported connection issues that were in the end related to the special characters in their password. Changing the password to remove the characters solved the problem.

Note that it's an SSH/CCSID issue and not something that could be fixed in code for IBM i 😅

@MadChimpanzee
Copy link
Author

Ok, so that corrected the issue with Putty. Although I'm still getting the same issue with Code for IBM i.

@sebjulliand
Copy link
Collaborator

Try to re-create the connection.
If it still fails, please send a screenshot of the error dialog and the content of the console (the console is found in the Help -> Toggle dev tools view).

@MadChimpanzee
Copy link
Author

Here are some screenshots.

Image

Image

@sebjulliand
Copy link
Collaborator

I'm not certain that's the issue, but I'd first try to fix the temporary library issue. Open your connection settings and, under the Temporary Data tab, change the Temporary Library to use one you have full access to:

Image

Even though, you mentioned you have *ALLOBJ, so I doubt this is the actual problem.

Export the whole console content after a failed attempt and put it here please.

@MadChimpanzee
Copy link
Author

Interesting, I was able to connect to my Develop partition with the same configurations. I gave myself full permissions to that same LIB and it still refused the connection.

exthost.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants