Skip to content

OpenSSL not working on 64-bit Windows #1655

@purplesyringa

Description

@purplesyringa

Step 1: Please describe your environment

  • ZeroNet version: 0.6.3 (rev3576)
  • Operating system: Windows 10, 64 bit
  • Web browser: Firefox
  • Tor status: error
  • Opened port: yes
  • Special configuration: none

Step 2: Describe the problem:

Steps to reproduce:

  1. Buy 64-bit processor
  2. Install 64-bit Windows
  3. Run ZeroNet

Observed Results:

I get:

Internal error: WindowsError: [Error 193] %1 is not a valid Win32 application
UiWebsocket.py line 81 > UiWebsocket.py line 267 > CryptMessagePlugin.py line 34 > CryptMessagePlugin.py line 14 > CryptMessage.py line 8 > builtins.py line 96 > __init__.py line 16 > builtins.py line 96 > openssl.py line 504 > openssl.py line 501 > openssl.py line 73 > __init__.py line 366

This happens because the DDL ZeroNet uses to load OpenSSL is 32-bit. However, my Python is 64-bit, and a 64-bit application cannot use a 32-bit DLL.

Expected Results:

It works.

Temporary Solution:

Install 32-bit Python.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions