[CONC-417] Windows clients using Schannel often encounter error SEC_E_INVALID_TOKEN (0x80090308) - The token supplied to the function is invalid Created: 2019-06-04 Updated: 2020-08-25 Resolved: 2019-12-03 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | 3.0.8, 3.1.0, 3.1.5 |
| Fix Version/s: | 3.1.6 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
Windows clients that use Schannel often encounter the following error:
MariaDB Connector/C doesn't actually print the error message text, so users actually see this less understandable error message:
As part of this fix, maybe SEC_E_INVALID_TOKEN should be added to the switch statement with a more reasonable error message in ma_schannel_set_sec_error , so that users have a easier time understanding what this means. https://github.com/MariaDB/mariadb-connector-c/blob/v3.1.0/libmariadb/secure/ma_schannel.c#L32
In In It seems that we still need to determine the root cause. |
| Comments |
| Comment by Geoff Montee (Inactive) [ 2019-11-15 ] |
|
This issue is still present in 3.1.5. |
| Comment by Geoff Montee (Inactive) [ 2019-12-02 ] |
|
Do you think this one should be closed along with |
| Comment by Vladislav Vaintroub [ 2019-12-02 ] |
|
Yes, I guess this is a duplicate. However "often" can also mean "sporadic", so maybe this is a different one, worked around elsewhere |
| Comment by Geoff Montee (Inactive) [ 2019-12-02 ] |
|
I would agree that this is probably a duplicate of It looks like this will be fixed in 3.1.6. I don't see that version as an option for "Fix Version/s" in Jira yet, so someone will probably have to create that version before this can be closed. |