Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions docker/dev-host/rivet-engine/config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "127.0.0.1",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-dc-a-0",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-dc-a-0",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-dc-a-0",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-dc-b-0",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-dc-b-0",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-dc-b-0",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-dc-c-0",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-dc-c-0",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-dc-c-0",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
5 changes: 0 additions & 5 deletions docker/dev-multidc/datacenters/dc-a/rivet-engine/config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-dc-a",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
5 changes: 0 additions & 5 deletions docker/dev-multidc/datacenters/dc-b/rivet-engine/config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-dc-b",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
5 changes: 0 additions & 5 deletions docker/dev-multidc/datacenters/dc-c/rivet-engine/config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-dc-c",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
5 changes: 0 additions & 5 deletions docker/dev-multinode/rivet-engine/0/config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-0",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
5 changes: 0 additions & 5 deletions docker/dev-multinode/rivet-engine/1/config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-0",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
5 changes: 0 additions & 5 deletions docker/dev-multinode/rivet-engine/2/config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine-0",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
5 changes: 0 additions & 5 deletions docker/dev/rivet-engine/config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"guard": {
"port": 6420
},
"api_public": {
"lan_host": "rivet-engine",
"host": "0.0.0.0",
"port": 6421
},
"api_peer": {
"host": "0.0.0.0",
"port": 6422
Expand Down
6 changes: 0 additions & 6 deletions docker/template/src/services/edge/rivet-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ export function generateDatacenterRivetEngine(
port: GUARD_PORT,
// https is optional and not configured for local development
},
// api_public config
api_public: {
lan_host: serviceHost,
host: "0.0.0.0",
port: 6421,
},
// api_peer config
api_peer: {
host: "0.0.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/pegboard-runner-ws/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ async fn handle_connection(
let url_data = match parse_url(addr, uri) {
Ok(x) => x,
Err(err) => {
tracing::warn!(?addr, ?err, "parse url failed");
tracing::warn!(?addr, ?err, "could not parse runner connection url");

let close_frame = err_to_close_frame(WsError::InvalidUrl(err.to_string()).build());

Expand Down Expand Up @@ -806,7 +806,7 @@ fn parse_url(addr: SocketAddr, uri: hyper::Uri) -> Result<UrlData> {
.find_map(|(n, v)| (n == "protocol_version").then_some(v))
.context("missing `protocol_version` query parameter")?
.parse::<u16>()
.context("invalid protocol version")?;
.context("invalid `protocol_version` query parameter")?;

// Read namespace from query parameters
let namespace = url
Expand Down
Loading