Comments (6)
However it would be good to properly catch and report the error, instead of null-ref :)
from vslinuxdebug.
Sometimes if I retry it works, with nothing changed.
from vslinuxdebug.
@HakanL, seeing that I'm not familiar with BalenaOS, there are a variety of remote-side causes that could be triggering this. None the less, let's work through this and see what we can do.
- Which version of the extension are you using? (assuming the latest published)
- Are you able to test/validate connectivity using SFTP via a 3rd-party tool?
- Are you connected to a physical device or virtualized one?
Your issue appears to be happening right at this point (SshToo.cs - Lines 487-493). This is where I'm calling Renci.SshNet's SFTP to perform the upload.
Since this is happening "sometimes" triggers the question, is the remote OS dropping the SFTP connection?
Logger.Output("Uploading...");
await Task.Run(() =>
{
tarGzStream.Seek(0, SeekOrigin.Begin);
sftp.UploadFile(tarGzStream, pathBuildTarGz);
});
Logger.Output($"Uploaded '{_tarGzFileName}' [{tarGzSize,13:n0} bytes].");
from vslinuxdebug.
Which version of the extension are you using? (assuming the latest published)
Yes, latest published
Are you able to test/validate connectivity using SFTP via a 3rd-party tool?
I haven't tested this, but I'm SSH:d to the device (using putty)
Are you connected to a physical device or virtualized one?
It's a physical Raspberry Pi CM4, but it's running docker so I'm attempting to deploy to a guest instance in docker (and that's where I'm also SSH:d into). But it works intermittently.
How would I see if the remote OS drops the SFTP connection?
from vslinuxdebug.
It may have been an issue with my Raspberry Pi, it's been working fine now for a while, so I'll close this issue.
from vslinuxdebug.
None the less, we can get in that checking mechanism. Definitely don't like seeing unexpected errors
from vslinuxdebug.
Related Issues (20)
- [3.0] Add "Test Connectivity" button to validate
- [vNext] Manually attach to process using sudo/root HOT 5
- [2.0] Disable the switching of tabs during build HOT 4
- Live update of GUI project HOT 4
- [3.0] Optimize sync of project HOT 1
- [vNext] Launch GUI After Deploying Package HOT 4
- *invalid issue, please delete* HOT 2
- Duplicate log entries in "Linux Debugger" window HOT 5
- Specify folders to exclude and include when deploying HOT 2
- [Issue] Unable to upload files HOT 3
- SSH Key Login with ssh-rsa not possible[Issue] HOT 2
- [Enhancement] Reactivate Debug-Only (start Debug only)
- [Enhancement] Deploy only Diff HOT 1
- Raspberry PI: launch: program '' does not exist, with workaround HOT 3
- Should "Build and Deploy" start the app automatically on my Linux target machine? HOT 3
- [Enhancement] Start debugging with sudo HOT 2
- [Enhancement] Setting environment HOT 5
- [Issue] VSLinuxDebug no more working after recent VS updates HOT 10
- SSH Connection error since update 2.2.0 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vslinuxdebug.