MCJack123 / craftos2

A fast, modern, and feature-filled ComputerCraft emulator written in C++.

Home Page:https://www.craftos-pc.cc

Repository from Github https://github.comMCJack123/craftos2Repository from Github https://github.comMCJack123/craftos2

http API crashes the VSCode extension computer

sy-python opened this issue · comments

commented

Describe the bug
A crash happens on VSCode extension computer (but not on a standalone one) when trying to use http API on a secure website

To Reproduce
Steps to reproduce the behavior:

  1. Open a computer via VSCode extension
  2. Open the Interactive Lua environment by typing lua() and pressing enter
  3. Try communicating with any secure site using http API. An example command: http.get("https://example.com")
  4. Observe the crash and a message "The CraftOS-PC worker process exited with code 3221226505."

Expected behavior
The command being executed without crashing.

Screenshots
image
image

Environment (please complete the following information):

  • OS: Windows 11
  • OS Version: 10.0.22621
  • CraftOS-PC Version: 2.7.5
  • Compiled from source? No

Additional context
Standalone CraftOS-PC instance works fine, see screenshot below:
image