Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't deploy to raspberry pi, windows iot

I can no longer deploy my app to windows IoT for debugging (Raspberry Pi 3) using Visual Studio 2015. Yesterday everything was OK, today I get the error:

DEP6956 : Failed to establish connection to the device due to protocol incompatibility. Please try again, and if this error persists, please try restarting the target device. Device supports protocol 'Sirep2'.

I've tried setting the endpoint to both the IP address and the device name. I'm using the latest insider preview version of windows IoT.

I can still connect to the device using the App Manager in a browser, and also using IoT dashboard.

Any idea what could be causing this?

like image 305
Slicc Avatar asked Aug 01 '16 18:08

Slicc


1 Answers

I've had issues with this as well if I've disconnected or restarted the Pi while Visual Studio has remained open. As a best practice I'd suggest always starting or restarting Visual Studio after every Pi restart. To further clarify this only seems to affect an instance of Visual Studio that was previously connected to the device or previously involved in a remote deployment. Other instances of VS should be fine.

This is of course time consuming and shouldn't need to happen but avoids the deployment errors mentioned above.

like image 154
Paul Andrew Avatar answered Oct 12 '22 18:10

Paul Andrew