mirror of
https://github.com/tailscale/tailscale.git
synced 2025-07-29 15:23:45 +00:00
ipn/ipnlocal: log ACME Order URL for invalid Orders
WaitOrder error does not usually include authorization failure reason, but that can be looked up following the Order URL. Updates tailscale/corp#27651 Signed-off-by: Irbe Krumina <irbe@tailscale.com>
This commit is contained in:
parent
7090f7fffc
commit
8568ada34c
@ -602,9 +602,9 @@ var getCertPEM = func(ctx context.Context, b *LocalBackend, cs certStore, logf l
|
|||||||
return nil, ctx.Err()
|
return nil, ctx.Err()
|
||||||
}
|
}
|
||||||
if oe, ok := err.(*acme.OrderError); ok {
|
if oe, ok := err.(*acme.OrderError); ok {
|
||||||
logf("acme: WaitOrder: OrderError status %q", oe.Status)
|
logf("acme: WaitOrder: OrderError status %q, Order URL %q", oe.Status, orderURI)
|
||||||
} else {
|
} else {
|
||||||
logf("acme: WaitOrder error: %v", err)
|
logf("acme: WaitOrder error: %v, Order URL %q", err, orderURI)
|
||||||
}
|
}
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user