Skip to content

Commit 8c2f74f

Browse files
authored
Merge pull request #3477 from reubenmiller/fix-remote-access-fix
fix: c8y-remote-access-plugin websocket connection
2 parents 0f9e117 + 221d7a6 commit 8c2f74f

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

plugins/c8y_remote_access_plugin/src/proxy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ impl Websocket {
9393
.header("Connection", "Upgrade")
9494
.header("Upgrade", "websocket")
9595
.header("sec-websocket-version", "13")
96+
.header("sec-websocket-protocol", "binary")
9697
.uri(url.to_string())
9798
.body(())
9899
.into_diagnostic()

tests/RobotFramework/libraries/ThinEdgeIO/ThinEdgeIO.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,7 @@ def add_remote_access_passthrough_configuration(self, device: str = "", port: in
773773
"remoteaccess",
774774
"configurations",
775775
"create-passthrough",
776+
"--retries=5",
776777
"--device",
777778
device,
778779
f"--port={port}",

tests/RobotFramework/tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def flake_finder(
372372
outputdir="output_flake_finder",
373373
processes=None,
374374
include="",
375-
exclude="test:on_demand OR theme:benchmarks OR theme:remoteaccess",
375+
exclude="test:on_demand OR theme:benchmarks",
376376
clean=False,
377377
):
378378
"""Run tests multiple times to find any flakey tests
@@ -460,7 +460,7 @@ def test(
460460
outputdir=None,
461461
processes=None,
462462
include="",
463-
exclude="test:on_demand OR theme:benchmarks OR theme:remoteaccess",
463+
exclude="test:on_demand OR theme:benchmarks",
464464
):
465465
"""Run tests
466466

0 commit comments

Comments
 (0)