-
After the fix:
sztabquery> rksuma@Ramakrishnans-MacBook-Pro sztab % java -jar query-cli/target/query-cli-1.10.1.jar Sztab Query CLI v1.0 - Interactive Mode Type 'help' for commands, Ctrl+D to exit Last connection: localhost Status: Not logged in (use 'login' command) sztabquery> login -s=localhost -u=admin -p Enter value for --password (Password (not recommended - use ~/.sztabrc instead)): Logging in to localhost... ✓ Success! Logged in as: admin [Connected: Sztab 1.10.1, build: ccfea68, 6 issues in 4 projects] sztabquery> sztabquery> help System: exit exit from app/script help PicocliCommands: exec Execute a DSL query f Execute query from file file Execute query from file h Show query history help history Show query history login Login to Sztab server (port 8080) logout Logout from current session ping Test connection to server q Execute a DSL query query Execute a DSL query status Show current connection info t List available query templates templates List available query templates test Test connection to server whoami Show current connection info sztabquery> sztabquery> q "SELECT * FROM issues LIMIT 5" KEY TITLE STATUS PRIORITY SEVERITY ASSIGNEE REPORTER PROJECT COMPONENT CREATEDAT UPDATEDAT ---------- ------------------------------------ ----------- -------- -------- -------- -------- ------------- --------- --------------------------- --------------------------- SZTaa00001 UI does not render on chrome ASSIGNED MEDIUM MEDIUM umark admin local-project none 2026-03-31T00:21:25.199413Z 2026-04-01T05:17:46.492856Z SZTaa00002 UI style should follow UX guidelines ASSIGNED MEDIUM MEDIUM umark admin genai-project none 2026-04-03T18:54:53.617727Z 2026-04-03T18:56:30.150095Z SZTaa00003 Create test automation for LLama IN_PROGRESS HIGH MEDIUM umark admin genai-project none 2026-04-03T18:55:31.386730Z 2026-04-03T18:57:37.430881Z SZTaa00004 security issue in genai ASSIGNED CRITICAL MEDIUM andrzej admin genai-project none 2026-04-19T22:46:38.426018Z 2026-04-22T04:09:50.739861Z SZTaa00005 Implement distibuted caching ASSIGNED MEDIUM MEDIUM umark admin Jerry-project none 2026-04-21T18:30:17.296678Z 2026-04-22T04:27:24.443763Z 5 row(s) sztabquery> -
rksuma@Ramakrishnans-MacBook-Pro sztab % git add query-cli/src/main/java/com/sztab/cli/SztabQueryCli.java \ query-cli/src/main/java/com/sztab/cli/security/authn/AuthenticationManager.java git commit -m "SZ-153: Fix sztabquery CLI port - use port 80 via Caddy instead of hardcoded 8080" git push origin wolnosc [wolnosc 3e12af0] SZ-153: Fix sztabquery CLI port - use port 80 via Caddy instead of hardcoded 8080 2 files changed, 6 insertions(+), 6 deletions(-) Enumerating objects: 25, done. Counting objects: 100% (25/25), done. Delta compression using up to 12 threads Compressing objects: 100% (8/8), done. Writing objects: 100% (13/13), 942 bytes | 942.00 KiB/s, done. Total 13 (delta 5), reused 0 (delta 0), pack-reused 0 (from 0) To https://tigase.dev/sztab.git 8d8d3b2..3e12af0 wolnosc -> wolnosc rksuma@Ramakrishnans-MacBook-Pro sztab % git tag -d v1.10.1 git push origin :refs/tags/v1.10.1 git tag -a v1.10.1 -m "Sztab 1.10.1" git push origin v1.10.1 Deleted tag 'v1.10.1' (was 31d43eb) To https://tigase.dev/sztab.git - [deleted] v1.10.1 Enumerating objects: 1, done. Counting objects: 100% (1/1), done. Writing objects: 100% (1/1), 164 bytes | 164.00 KiB/s, done. Total 1 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0) To https://tigase.dev/sztab.git * [new tag] v1.10.1 -> v1.10.1 rksuma@Ramakrishnans-MacBook-Pro sztab %
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Version |
1.10.1
|
| Sprints |
n/a
|
| Customer |
n/a
|
Issue Votes (0)
Problem sztabquery login --server localhost fails with connection refused because the CLI hardcodes port 8080. Sztab runs on 8181.
Fix Change all hardcoded 8080 references to 8181 in SztabQueryCli.java and AuthenticationManager.java. Consider also adding an optional --port flag for flexibility.
CLI is unusable without this fix.