-
Notifications
You must be signed in to change notification settings - Fork 94
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
handle error 0xC0000203
in SMB_COM_SESSION_SETUP_ANDX
#192
Comments
You are correct in your assessment. That status code looks like it can be handled in a more user-friendly manner. |
well, I don't really know. I found this error in our newly installed Sentry. I can't tell yet how frequently this happens. I'll remember to update here if it is the case. My best guess is that it could be a restart of the service. |
This error occurred again today. Unfortunately, I cannot reproduce it consistently and can't figure out why it occurs |
it happened again today |
@thomasleveil : Can you provide a few details about your task?
|
Thanks @miketeo for the attention. Next time it happens I'll will take a closer look at operations the code is trying to run. Would you recommend opening a new connection for each individual operation ? |
@miketeo, I've got another occurrence this morning. Looking at the code, we can have up to 5 calls triggered at the same time, in different threads.
One of the calls is failing at connection time |
I suspect that you might be opening "too many" connections at one time. I had similar occurrences when I run the full regression test suites against a Windows 10 workstation. I'm assuming each pysmb connection is running in its own thread. |
We sometimes hit a
ProtocolError
exception with :looking at the code here, it seems the
0xC0000203
could be handled and callself.onAuthFailed()
.From Microsoft doc :
The text was updated successfully, but these errors were encountered: