Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report invalid URIs #101

Open
maxsharabayko opened this issue Oct 15, 2024 · 1 comment
Open

Report invalid URIs #101

maxsharabayko opened this issue Oct 15, 2024 · 1 comment

Comments

@maxsharabayko
Copy link
Owner

Some URIs are invalid, but hard to detect for a human. The application should rather report there is likely an error is URIs like the following one:

./srt-xtransmit generate "srt://192.168.3.1:4200?cryptomode=2&passphrase=0123456789"--enable-metrics
@bpolic
Copy link

bpolic commented Oct 15, 2024

export testid=QASRT_371
(receiver) 1.5.4
./srt-xtransmit generate "srt://192.168.3.1:4200?cryptomode=2&passphrase=0123456789"--enable-metrics --statsfile snd-stats-$testid.csv --statsfreq 1s --duration 20s --sendrate 10Mbps -v
(sender) 1.5.3
./srt-xtransmit receive "srt://:4200?cryptomode=2&passphrase=0123456789" --enable-metrics --statsfile rcv-stats-$testid.csv --statsfreq 1s --metricsfile rcv-metrics-$testid.csv -v

Human mistake not to put Space on this part of command: passphrase=0123456789"--enable-metrics provide unappropriated message:

15:04:18.314834/SRT:RcvQ:w1!W:SRT.cn: @854087320: processConnectResponse: rejecting per reception of a rejection HS response: ERROR:BADSECRET
15:04:18.314919/SRT:RcvQ:w1!W:SRT.cn: @854087320: processAsyncConnectRequest: REJECT reported from HS processing: Incorrect passphrase - not processing further
15:04:18.320529 [D] SOCKET::SRT @854087320 connect failed. ERROR: Incorrect passphrase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants