From: Daniel Wagner <email@example.com>
To: John Keeping <firstname.lastname@example.org>
Cc: "VAUTRIN Emmanuel (Canal Plus Prestataire)"
Subject: Re: [PATCH] service: Complete only after user connection retries
Date: Mon, 28 Jun 2021 21:54:11 +0200 [thread overview]
Message-ID: <email@example.com> (raw)
On Mon, Jun 28, 2021 at 04:04:13PM +0100, John Keeping wrote:
> > Could you try to add some debug printfs and report back?
> It looks like the length of the invalid passphrase matters here. If I
> use a short passphrase like you have above then I reproduce that
> behaviour, but if the wrong passphrase has at least 8 characters then it
> enters the failure state.
D'oh! You are so right :)
> I think __connman_service_check_passphrase() is rejecting the short
> passphrase so it never even gets to wpa_supplicant.
> In the failing case, I don't get the chance to choose to retry. Instead
> the output looks like:
> Passphrase? asdfgghjgj
> Agent ReportError wifi_b0f1ecffb46f_7073475462456b44_managed_psk
> Agent request cancelled by ConnMan
> Retry (yes/no)? connmanctl>
> where the new prompt appears instantly. Inspecting the DBus traffic, I
> see that connman calls Agent.ReportError and then immediately calls
> Agent.Cancel (the timestamp is less than a millisecond later, although
> there is a call to fi.w1.fpa_supplicant1.Interface.Disconnect in
> I added extra logging in report_error_cb() and can confirm that this is
> never called when this happens.
Alright, we are getting closer. Hmm, just an idea what could happen is
the agent state machine gets canceled (the supplicant is likely to say,
password is not working) and this it eats up the pending callback.
next prev parent reply other threads:[~2021-06-28 19:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <PR1PR02MB4794EB6ADA4A23AA374EE58493909@PR1PR02MB4794.eurprd02.prod.outlook.com>
[not found] ` <firstname.lastname@example.org>
2021-06-15 11:09 ` [PATCH] service: Complete only after user connection retries John Keeping
2021-06-28 7:58 ` Daniel Wagner
2021-06-28 15:04 ` John Keeping
2021-06-28 19:54 ` Daniel Wagner [this message]
2021-06-29 7:35 ` Daniel Wagner
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).