-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Year 30828 out of range #9
Comments
Looks like it might be caused by this: https://sourceforge.net/p/pywin32/bugs/748/ Will try downgrading to Python 3.5 |
Have confirmed that it's the bug linked above. Downgrading to Python 3.5 has fixed my issue, so will close. |
Shouldn't we keep this open until it's fixed upstream? |
@jinder Please consider changing to 'open' until fixed. |
Reopened |
Looks like this could be fixed if Px switches to winkerberos, per the link to the pywin32 issue. I'm not sure if it's worth the effort but open to suggestions. |
I confirm the issue. Is there another workaround apart from downgrading python? |
Just for kicks, I tried this with Python 3.6.1 and 3.6.2. I tried with pywin32 v220 as well as v221 and it's still broken. The fix is required within win32security.pyd which is C code and not easy to work around. |
Thanks to help from the winkerberos team, Px works with winkerberos so Python 3.6+ is now supported. pywin32 SSPI is still supported so if winkerberos isn't available, Px will fall back to pywin32 as long as the Python version is < 3.6. |
Given Px now works around this issue by using winkerberos, I propose marking this as fixed. Feedback appreciated. |
So I had to bring back pywin32 for NTLM auth since winkerberos was failing for some NTLM use cases. Some folks may still run into this issue. The recommendation is to upgrade your Python to the latest version since a fix is in place. |
@genotrance I still got this issue with latest px code. My python is 36-64. How could i fix it? |
Is it possible to update your Python to latest version somehow? Also install latest version of pywin32? |
I know it is broken on 3.6.1 and 3.6.2. I haven't tried 3.6.3 but I'm currently running 3.6.4 and don't see the issue anymore. |
I checked my python version , it's 3.6.6. Is there any way to fix it? |
I found this issue happens more when there's multi clients connected through proxy. |
What version of pywin32 do you have installed? I have 222. Also is your Python 32-bit or 64-bit? Miniconda or Python.org? |
pywin32=223, python is 3.6.6-64 bit from python.org |
@genotrance any suggestion? |
@lvfanqie: can you check if this issue helps? Looks like older version of 220 was also present in the path. |
@genotrance my win32api version is '223'. How could I check pywintype version? I got following errors:
|
I tried and no idea :( Another option is to |
unfortunately, I tried reinstall the pywin32 but still get the same issue. |
Hi,
I've used pyinstaller to build px on Windows 7, using Python 3.6, I'm getting the following error while trying to connect to the proxy: ValueError year 3083 is out of range in sspi.py line 111.
Any ideas?
The text was updated successfully, but these errors were encountered: