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

Not connecting #44

Open
wabiloo opened this issue Feb 2, 2023 · 9 comments
Open

Not connecting #44

wabiloo opened this issue Feb 2, 2023 · 9 comments

Comments

@wabiloo
Copy link

wabiloo commented Feb 2, 2023

Hi,

I'm trying to use the extension in my Visual Code, but it's not connecting. The status bar shows "Deck | Connecting".

I'm using Visual Studio Code 1.74.3 on Mac.
Version of your extension is v4.1.6

StreamDeck v6.0.2
Plugin v5.1.3

I'm working locally (no SSH)

I don't see any error in the JS Console.
Looking at the Output for StreamDeck in VS, I see it constantly connecting and disconnecting:

[2/2/2023, 1:49:10 PM] Connecting to Stream Deck
[2/2/2023, 1:49:10 PM] Registering session 23707a89-7aff-460c-ae65-1a5388ab26841675345749453
[2/2/2023, 1:49:10 PM] Disconnected from Stream Deck. Reconnecting in 5 seconds.
[2/2/2023, 1:49:11 PM] Configuration changed, restarting...
[2/2/2023, 1:49:11 PM] Connecting to Stream Deck
[2/2/2023, 1:49:11 PM] Disconnected from Stream Deck. Reconnecting in 5 seconds.
[2/2/2023, 1:49:11 PM] Activation requested to 23707a89-7aff-460c-ae65-1a5388ab26841675345749453
[2/2/2023, 1:49:15 PM] Connecting to Stream Deck
[2/2/2023, 1:49:15 PM] Disconnected from Stream Deck. Reconnecting in 5 seconds.
[2/2/2023, 1:49:16 PM] Connecting to Stream Deck
[2/2/2023, 1:49:16 PM] Disconnected from Stream Deck. Reconnecting in 5 seconds.
[2/2/2023, 1:49:20 PM] Connecting to Stream Deck
[2/2/2023, 1:49:20 PM] Disconnected from Stream Deck. Reconnecting in 5 seconds.
[2/2/2023, 1:49:21 PM] Connecting to Stream Deck
[2/2/2023, 1:49:21 PM] Disconnected from Stream Deck. Reconnecting in 5 seconds.
[2/2/2023, 1:49:25 PM] Connecting to Stream Deck
[2/2/2023, 1:49:25 PM] Disconnected from Stream Deck. Reconnecting in 5 seconds.
[2/2/2023, 1:49:26 PM] Connecting to Stream Deck
[2/2/2023, 1:49:26 PM] Disconnected from Stream Deck. Reconnecting in 5 seconds.
[2/2/2023, 1:49:30 PM] Connecting to Stream Deck
[2/2/2023, 1:49:30 PM] Disconnected from Stream Deck. Reconnecting in 5 seconds.
[2/2/2023, 1:49:31 PM] Connecting to Stream Deck
[2/2/2023, 1:49:31 PM] Disconnected from Stream Deck. Reconnecting in 5 seconds.
[2/2/2023, 1:49:35 PM] Connecting to Stream Deck
[2/2/2023, 1:49:35 PM] Disconnected from Stream Deck. Reconnecting in 5 seconds.
[2/2/2023, 1:49:36 PM] Connecting to Stream Deck

Any idea?

@wabiloo
Copy link
Author

wabiloo commented Feb 3, 2023

It seems that all it needed was a reboot...

@leeahoward
Copy link

I have noticed that if I restart the stream deck software vscode will not reconnect until I reboot or change the port in vscode and the sd plugin. There is an error in the sd plugin log that says address is in use.

@wabiloo
Copy link
Author

wabiloo commented Mar 18, 2023

Same behaviour here

@nicollasricas
Copy link
Owner

@leeahoward are you also on Mac?

@jfessard
Copy link

jfessard commented Apr 19, 2023

I also see the same on M1 Max Mac. It constantly tries to connect and fails (in Vscode log)

@leeahoward
Copy link

leeahoward commented Apr 20, 2023 via email

@Latent-code
Copy link

I have noticed that if I restart the stream deck software vscode will not reconnect until I reboot or change the port in vscode and the sd plugin. There is an error in the sd plugin log that says address is in use.

I have this problem too, but i cant seem to figure out how to get it to connect..

Stream Deck for Visual Studio Code v4.1.6
VS Code Version: 1.86.0
Stream Deck plugin version 5.1.2

I'm working locally (no SSH)

I tried rebooting Stream Deck, laptop and VS code with no luck so far.

Any tips?

[08/02/2024, 14:43:05] Connecting to Stream Deck [08/02/2024, 14:43:05] Disconnected from Stream Deck. Reconnecting in 5 seconds. [08/02/2024, 14:43:05] Connecting to Stream Deck [08/02/2024, 14:43:05] Disconnected from Stream Deck. Reconnecting in 5 seconds. [08/02/2024, 14:43:05] Connecting to Stream Deck [08/02/2024, 14:43:05] Disconnected from Stream Deck. Reconnecting in 5 seconds. [08/02/2024, 14:43:08] Activation requested to a119aec7-180c-4637-bc85-e92d1c4111ee1707399709193 [08/02/2024, 14:43:10] Connecting to Stream Deck [08/02/2024, 14:43:10] Connecting to Stream Deck [08/02/2024, 14:43:10] Disconnected from Stream Deck. Reconnecting in 5 seconds. [08/02/2024, 14:43:10] Disconnected from Stream Deck. Reconnecting in 5 seconds. [08/02/2024, 14:43:10] Connecting to Stream Deck [08/02/2024, 14:43:10] Disconnected from Stream Deck. Reconnecting in 5 seconds. [08/02/2024, 14:43:10] Connecting to Stream Deck [08/02/2024, 14:43:10] Disconnected from Stream Deck. Reconnecting in 5 seconds. [08/02/2024, 14:43:10] Connecting to Stream Deck [08/02/2024, 14:43:10] Disconnected from Stream Deck. Reconnecting in 5 seconds. [08/02/2024, 14:43:15] Connecting to Stream Deck [08/02/2024, 14:43:15] Connecting to Stream Deck [08/02/2024, 14:43:15] Disconnected from Stream Deck. Reconnecting in 5 seconds. [08/02/2024, 14:43:15] Disconnected from Stream Deck. Reconnecting in 5 seconds. [08/02/2024, 14:43:15] Connecting to Stream Deck [08/02/2024, 14:43:15] Disconnected from Stream Deck. Reconnecting in 5 seconds. [08/02/2024, 14:43:15] Connecting to Stream Deck

@notrobpike
Copy link

notrobpike commented Aug 29, 2024

Same problem, which never occured for me before. I opened #57 for it. I guess I'll let maintainer decide to keep that one open or close as duplicate. Problem is clearly that the SD plugin doesn't open a listening port -- nothing to do with vscode per se AFAICT. If someone knows where the logs for the plugin end up that might be helpful.

It does work for me on other machines. I can't figure out the difference between working and not-working.

@notrobpike
Copy link

Clearly this is not OP's issue, since they were using 5.1.3. However, it worked for me when updating the SD plugin 5.1.2->5.1.3. Maybe that helps others such as @Latent-code that also got tripped up with the way this is distributed.

#57 (comment)

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

6 participants