Skip to content

Commit b4b0ecc

Browse files
authored
Merging changes to folder at the root Fixed #394 (#396)
Added changes to trouble shooting root folder. Now it will be visible on latest build.
1 parent 92d9ed9 commit b4b0ecc

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/fluvio/troubleshooting.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,23 @@ $ RUST_LOG=info fluvio run sc --local
5151

5252
The log level can be set to `trace`, `debug`, `info`, `warn`, `error`.
5353

54+
## SPU Server Port Conflict
55+
By default, the SPU server uses port 9010. If this port is already in use, the server will fail to start and report the following error:
56+
57+
```bash
58+
Error binding TcpListener: Address already in use
59+
```
60+
To verify the issue, check the SPU logs using the command:
61+
Run `cat ~/.fluvio/log/spu_log_5001.log` for spu with id `5001`
62+
63+
### Solution: Use an Alternative Port
64+
65+
To resolve the port conflict, first stop any currently running SPU if necessary. Next, start the Fluvio cluster using the `--spu=0` flag to prevent automatic SPU provisioning. Then, launch the SPU manually with your preferred port numbers. Finally, register the SPU server so it can be recognized by the cluster.
66+
67+
68+
1. `fluvio cluster start --spu=0`
69+
2. `fluvio run spu -i 5001 -p 0.0.0.0:9020 -v 0.0.0.0:9021 --log-base-dir ~/.fluvio/data > ~/.fluvio/log/spu_log_5001.log 2>&1 &`
70+
3. `fluvio cluster spu register --id 5001 --public-server localhost:9020 --private-server localhost:9021`
5471

5572
## Producer
5673

0 commit comments

Comments
 (0)