Skip to content
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

error:1407742E:SSL (onefichier normal) #3287

Closed
emilic14 opened this issue Dec 2, 2018 · 33 comments
Closed

error:1407742E:SSL (onefichier normal) #3287

emilic14 opened this issue Dec 2, 2018 · 33 comments
Labels
feedback wanted User attention is needed question Further information is requested

Comments

@emilic14
Copy link

emilic14 commented Dec 2, 2018

Hi,

I am having constant SSL issues when trying to download through onefichier
This is what I get ->

02.12.2018 21:04:17 INFO      Download starts: https://1fichier.com/?blablabla
02.12.2018 21:04:17 DEBUG     ADDON UserAgentSwitcher: Setting connection timeou
t to 60 seconds
02.12.2018 21:04:17 DEBUG     ADDON UserAgentSwitcher: Setting maximum redirecti
ons to 10
02.12.2018 21:04:17 DEBUG     ADDON UserAgentSwitcher: Use custom user-agent str
ing `Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0`
02.12.2018 21:04:17 DEBUG     HOSTER OneFichierCom[5]: Plugin version: 1.14
02.12.2018 21:04:17 DEBUG     HOSTER OneFichierCom[5]: Plugin status: testing
02.12.2018 21:04:17 WARNING   HOSTER OneFichierCom[5]: Plugin may be unstable
02.12.2018 21:04:17 INFO      HOSTER OneFichierCom[5]: Grabbing link info...
Traceback (most recent call last):
  File "threading.pyc", line 503, in __bootstrap
  File "threading.pyc", line 530, in __bootstrap_inner
  File "C:\pyload\dist\.\module\PluginThread.py", line 187, in run
  File "C:\pyload\dist\.\module\plugins\internal\Base.py", line 294, in preproce
ssing
  File "C:\pyload\dist\.\module\plugins\internal\Hoster.py", line 105, in _proce
ss
  File "C:\pyload\dist\.\module\plugins\internal\Base.py", line 166, in _setup
  File "C:\pyload\dist\.\module\plugins\internal\Base.py", line 226, in grab_inf
o
  File "C:\pyload\dist\.\module\plugins\hoster\OneFichierCom.py", line 62, in ge
t_info
  File "C:\pyload\dist\.\module\network\RequestFactory.py", line 131, in getURL
  File "C:\pyload\dist\.\module\network\RequestFactory.py", line 72, in getURL
  File "C:\pyload\dist\.\module\network\HTTPRequest.py", line 216, in load
error: (35, 'error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert prot
ocol version')
02.12.2018 21:04:17 DEBUG     HOSTER OneFichierCom[5]: Link info: {'status': 8,
'error': ''}
02.12.2018 21:04:17 DEBUG     HOSTER OneFichierCom[5]: Previous link info: {}
02.12.2018 21:04:17 INFO      HOSTER OneFichierCom[5]: Link name: https://1fichi
er.com/?ywvn25s51p
02.12.2018 21:04:17 INFO      HOSTER OneFichierCom[5]: Link size: N/D
02.12.2018 21:04:17 INFO      HOSTER OneFichierCom[5]: Link status: failed
02.12.2018 21:04:17 WARNING   Download failed: https://1fichier.com/?blablabla
| failed
02.12.2018 21:04:17 INFO      ADDON UnSkipOnFail: Looking for skipped duplicates
 of: https://1fichier.com/?ywvn25s51p (pid:5)
02.12.2018 21:04:17 INFO      ADDON UnSkipOnFail: No duplicates found

Not sure what is the problem, but I am currently focusing on the SSL...

File "C:\pyload\dist.\module\network\HTTPRequest.py", line 216, in load
error: (35, 'error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert prot
ocol version')

And well regarding my system:
Windows Server 2012 R2
With Python 2.7.15
With pycurl running OpenSSL

>>> import pycurl
>>> pycurl.version
'PycURL/7.43.0.2 libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 c-ares/1.14.0 WinIDN
libssh2/1.8.0 nghttp2/1.32.0'

And well I am lost, I think my settings are up to date... Dont understand why I am having the SSL error, unless the plugin is not working?

(and yes, I updated pyload to the latest stable version today).
Does anybody have any suggestions of what can be going wrong?
Thanks!

@GammaC0de GammaC0de added duplicate This issue or pull request already exists question Further information is requested labels Dec 2, 2018
@GammaC0de
Copy link
Member

What OS are you using?

See #3250

@emilic14
Copy link
Author

emilic14 commented Dec 2, 2018

I am using Windows Server 2012 R2

and I've followed 3250
I am using OpenSSL, and latest version of Python.

>>> import pycurl
>>> pycurl.version
'PycURL/7.43.0.2 libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 c-ares/1.14.0 WinIDN
libssh2/1.8.0 nghttp2/1.32.0'

@GammaC0de
Copy link
Member

'PycURL/7.43.0.2 libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 c-ares/1.14.0 WinIDN libssh2/1.8.0 nghttp2/1.32.0'

This is exactly the same pycurl I have (windows 7).

Can you check your internet settings?

untitled

@emilic14
Copy link
Author

emilic14 commented Dec 3, 2018

Yup I have the same settings... exact same image as you share here.

Also in registry, TLS is the default enabled protocol

@GammaC0de
Copy link
Member

GammaC0de commented Dec 3, 2018

Would you like to send me your account details (change to a temporary password first) so I can test it on windows 7?

If so, please send to nitzo2001 [AT] yahoo [DOT] com.

@emilic14
Copy link
Author

emilic14 commented Dec 3, 2018

Actually I don't have a 1fichier account ^^
I am trying to use the free download without an account, and I get that error.

@GammaC0de
Copy link
Member

Ah, OK.

Can you test on another windows say windows 7?

@emilic14
Copy link
Author

emilic14 commented Dec 3, 2018

Tested, with Windows 7 64bits.
Same issue... Can someone confirm that with other systems (linux) it works without any problems?

@GammaC0de
Copy link
Member

I just tested thin link: https://1fichier.com/?hlh0y34mnxthuqmx6ii4 with no issues

Windows 7
PycURL/7.43.0.2 libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 c-ares/1.14.0 WinIDN libssh2/1.8.0 nghttp2/1.32.0

@emilic14
Copy link
Author

emilic14 commented Dec 4, 2018

Hi, thanks for testing.
I tested the link you sent and I am having the same issue...
But at least I now think the issue is on my windows 7 and not with pyload...

Could you let me know what you have in your windows registry :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols

I have no other ideas of what could be wrong... so trying several stuff related to TLS / pycurl setup in windows.

1 similar comment
@emilic14
Copy link
Author

emilic14 commented Dec 4, 2018

Hi, thanks for testing.
I tested the link you sent and I am having the same issue...
But at least I now think the issue is on my windows 7 and not with pyload...

Could you let me know what you have in your windows registry :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols

I have no other ideas of what could be wrong... so trying several stuff related to TLS / pycurl setup in windows.

@GammaC0de
Copy link
Member

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders]
"SecurityProviders"="credssp.dll"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SaslProfiles]
"GSSAPI"="Kerberos"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL]
"EventLogging"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\CipherSuites]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Client]
"DisabledByDefault"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\WDigest]
"Debuglevel"=dword:00000000
"Negotiate"=dword:00000000
"UTF8HTTP"=dword:00000001
"UTF8SASL"=dword:00000001
"DigestEncryptionAlgorithms"="3des,rc4"

@GammaC0de
Copy link
Member

Maybe uninstall pycurl and then reinstall

@emilic14
Copy link
Author

emilic14 commented Dec 4, 2018

Done that several times... even by setting SET PYCURL_SSL_LIBRARY=openssl

And even tried using easy-install...
but still same error.

@GammaC0de
Copy link
Member

Are you using 32bits or 64bits python?

@emilic14
Copy link
Author

emilic14 commented Dec 4, 2018

It is the 64bit python.

Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] on win32

@GammaC0de
Copy link
Member

OK,
Is your windows update up-to-date?

@emilic14
Copy link
Author

emilic14 commented Dec 4, 2018

yes it is, and all the patches for TLS installed and re-installed... ^^

@GammaC0de
Copy link
Member

Do you have some kind of firewall or anti-virus installed?

@emilic14
Copy link
Author

emilic14 commented Dec 4, 2018

no anti-virus, but windows firewall
and I have accepted traffic incoming from Pyload (python is not an option).

@GammaC0de
Copy link
Member

Maybe a central/corporate firewall ?

Try disabling windows firewall just for the test..

@emilic14
Copy link
Author

emilic14 commented Dec 4, 2018

noup, its in my private pc, and disabling windows firewall didn't help...
this is a huuuge mistery!!!

@GammaC0de
Copy link
Member

Is this a new pyload installation?

@emilic14
Copy link
Author

emilic14 commented Dec 4, 2018 via email

@GammaC0de
Copy link
Member

GammaC0de commented Dec 4, 2018

How did you installed pyload?

What package / instructions did you used?

@emilic14
Copy link
Author

emilic14 commented Dec 4, 2018 via email

@GammaC0de
Copy link
Member

This is probably the cause of this error.

  • Delete your pyload installation.
  • Install python 64bits and pycurl.
  • Download the latest stable version from the git.
  • Put js.exe in pyload's directory.
  • Start pyload with the command python pyLodeCore.py.

@GammaC0de GammaC0de added the feedback wanted User attention is needed label Dec 5, 2018
@GammaC0de GammaC0de removed the duplicate This issue or pull request already exists label Dec 5, 2018
@emilic14
Copy link
Author

emilic14 commented Dec 5, 2018

Ok, I will give it a try.
What is the JS.EXE file?

@GammaC0de
Copy link
Member

What is the JS.EXE file

JavaScript engine: used for several hosters, ClickNLoad, CloudFlare support.

@emilic14
Copy link
Author

emilic14 commented Dec 5, 2018

Ok well you are right! (impressive)
The good news is that following a fresh installation and running it through python (not the exe) works.
Although it does point out that I am now missing some items :

## System Check ##
Python Version: OK
pycurl: OK
sqlite3: OK

pycrypto: missing
py-OpenSSL: OK

py-imaging: missing
tesseract: missing

PyQt4: missing

jinja2: OK
beaker: OK
JS engine: missing

And when I added the JS.exe file, and run again the setup, It still states JS engine missing.
Not sure if there is another step I must do to enable the hosters usage?
(or install javaScript in another method?)

@GammaC0de
Copy link
Member

GammaC0de commented Dec 5, 2018

pycrypto is availible through pip install pycrypto.
py-imaging is availible through pip install pillow
Put js.exe somewhere in your PATH.

All the rest are optional.

@emilic14
Copy link
Author

emilic14 commented Dec 5, 2018

Great! thanks

So just for pycrypto a windows user will need Microsoft Visual C++ 9
but I am sure users will figure out things.
Well thanks a lot for the support. we can close this now.
Plus you now have a good referral to how to install pyload in Windows! :)
THANKS!

@GammaC0de
Copy link
Member

Great 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback wanted User attention is needed question Further information is requested
Development

No branches or pull requests

2 participants