Comments (6)
Also reported by @bittner on Gitter:
The connection is somewhat "unstable", though, with the USB cable (or it "goes to sleep" quickly?), compared to the WLAN connection, which is super-reliable.
from vscode-ev3dev-browser.
I've been running into this for the past several months (at least) as well. My dongle is ID 0846:9030 NetGear, Inc. WNA1100 Wireless-N 150 [Atheros AR9271]
and the vscode connection dies every, perhaps, five to fifteen minutes. I suspect this is a timeout-related issue, as I notice extreme lag come-and-go intermittently with both vscode and PuTTY connections. I'm not sure what causes the lag, but there isn't anything in dmesg
relating to it. Are there any timeouts that I might be able to adjust here?
========== ev3dev-sysinfo ==========
Image file: ev3dev-stretch-ev3-generic-2018-07-15
Kernel version: 4.14.55-ev3dev-2.2.0-ev3
Brickman: 0.10.0
BogoMIPS: 148.88
Board: board0
BOARD_INFO_HW_REV=7
BOARD_INFO_MODEL=LEGO MINDSTORMS EV3
BOARD_INFO_ROM_REV=6
BOARD_INFO_SERIAL_NUM=00165340720B
BOARD_INFO_TYPE=main
from vscode-ev3dev-browser.
@WasabiFan, this issue is about Ethernet over USB. It sounds like you are using Wi-Fi. If you have connection problems in PuTTY as well, then this isn't a VS Code issue. You can run modinfo <name>
on the kernel module to see if there are any parameters you can tweak (use lsmod
to see what <name>
might be).
from vscode-ev3dev-browser.
I have two problems here:
- The Wi-Fi connection lags frequently
- The vscode extension disconnects sometimes
My theory is that the former causes the latter, and while I've been under the assumption that fixing the dongle lag is hard (I'll look into that suggestion), the fact that PuTTY handles it fine (lags but doesn't drop) while the vscode extension often dies makes me think that there's a timeout that should be increased on our side. It seemed to me that this was on-topic for the thread, but maybe I'm misinterpreting it.
from vscode-ev3dev-browser.
I misunderstood you previous comment to mean that PuTTY had the exact same issues as VS Code, but I see now that is not the case. There are some old issue about the timeout setting if you want to play around with it.
from vscode-ev3dev-browser.
I'm going to guess this was fixed by 9e67909. Haven't logged any complaints for quite some time.
from vscode-ev3dev-browser.
Related Issues (20)
- ImportError: no module name 'pybricks.hubs' HOT 1
- Submit extension also in Open VSX store HOT 2
- [Question] Difference between stopping the program with EV3 Brick's physical Back/Stop button vs. stopping by VSCode stop button HOT 8
- [Question] How can we `ev3devBrowser.download.exclude` multiple patterns? HOT 2
- Port View HOT 4
- Open VSX Listing: Signing the Publisher Agreement HOT 1
- Autofill of unwanted command HOT 2
- Ability to connect to a different port than 22 HOT 1
- Failed to connect to ev3dev: cannot read property 'startsWith' of undefined HOT 2
- Ev3 Python "No module named 'pybricks'" HOT 6
- Failed to connect to ev3dev: Timed out while waiting for handshake HOT 9
- Help for project transfer protocol HOT 1
- VScode not recognizing ev3 on macos Sonoma HOT 11
- Disable IPv4 still leads to disconnect
- Reveal on Brick in file browser
- Output disappears when script runs after restart HOT 1
- Failed to connect to ev3: Timed out while waiting for handshake via USB on Windows 10 HOT 3
- Bluetooth paired EV3 brick is not listed in VS Code Command Pallet (Windows 10) HOT 4
- ModuleNotFoundError: No module named 'pybricks' error with ev3 stretch HOT 6
- Can't trigger Brickrun with -r in VSCode HOT 1
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 vscode-ev3dev-browser.