Open tt-thoma opened 3 years ago
Well to fix this I would need to know what's the precise error in the first place, if you can send that
GitHub refuse any connection from the function internet.request()
On my computer, wget -f https://raw.githubusercontent.com/IgorTimofeev/MineOS/master/Installer/BIOS.lua /tmp/bios.lua
works correctly alongside using internet.request()
for GitHub. Can you open https://raw.githubusercontent.com/IgorTimofeev/MineOS/master/Installer/BIOS.lua in your browser or does it only not work using internet.request()
in OCEmu ?
Have you tried to do the command in the emulator ?
Yes, by on my computer I meant in OCEmu using OpenOS.
Can I have your version of OCEmu ? Your README.md is saying that you haven't compiled the current version yet
I have the same issue on OCEmu. I think it's a windows issue, because zenith uses linux I think
also removing the -f
option
It's because @zenith391 have the last version
After compiling it says "unsupported protocol"
change https://
to http://
Maybe github refuse connection just because it wants https but there is no https protocol in \src\extras\socket
maybe, here is the wget command in a normal terminal
first request gets 301 Moved Permanently pointing to https url secound request gets 200 ok
@zenith391 Can you add an https addon ?
Opencomputers ^ OCemu V The real Openos support https protocol.
seems like the install script doesn't install luasec correctly this would explain why this happens only on windows
well if you look in /src/extras/ssl there is https.lua that's where it shoud be
I moved it and i'll try to recompilate
this is how internet.lua gets https, but it doesn't find it
Here we go again...
I moved it and i'll try to recompilate
recompiling will on do anything since the OCEmu.exe just calls boot.lua
if you launch OCEmu via mingw then it works
Ok
I think it's not stripping the ssl core correctly, but I can be entirely wrong
after requiring ssl at boot:
at the bottom: "cannot find specified module"
manual boot from console works
ffi file is missing What is it ?
it's a lua library https://luajit.org/ext_ffi.html
Pls have you a tutorial to install I am stuck I have windows 64 bits I try following the readme nothing work I'm tired of solving problems
for windows all you have to do is (once you installed msys2) run the script msys2_setup_ocemu.sh
with mingw64.exe
and hit enter a coupple of times, it should make a file OCEmu.exe
in src dir
there are no libeay32.dll
and ssleay32.dll
in any of the the bin folders
i think that the issue as per this stackoverflow thread
YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEES
Thank you so munch
How to do:
libeay32.dll
and ssleay32.dll
C:\msys64\usr\bin
. Use the custom path if you set one.MinGW
in the windows search bar, then launch itgit clone https://github.com/zenith391/OCEmu
./msys2_setup_ocemu.sh
. Sometimes you'll need to press enterAfter that (considering that there is no error(s) while compiling), go to src, and you'll find the file OCEmu.exe
now how to put this into the setup script @zenith391? just download it from dll-files as a work around or some other way?
So, after some digging in it with process hacker:
ssl.dll
by itself, most likely (based on its size), does nothing other than just loading and, probably, mapping SSL libs. The libraries itself are looked in PATH, and since MingW sets path to its own bin folder - its works in MingW. Doing set PATH=%PATH%;C:\msys64\mingw64\bin
(assuming msys is installed to C:\msys64
) before starting OCEmu fixes issue with HTTPS.
So basically, for standalone SSL support in OCEmu you need to: add folder with required libs to PATH or copy SSL libraries to PATH (or in folder with ocemu.exe
, which is, basically, first place, where OS looking for files/libraries before looking for them in PATH)
Example of SSL after copying libcrypto-1_1-x64.dll
and libssl-1_1-x64.dll
to folder with OCEmu.exe:
I'm trying to download a file from github using wget (
wget -f https://raw.githubusercontent.com/IgorTimofeev/MineOS/master/Installer/BIOS.lua /tmp/bios.lua
) but wget sayConnection refused
I tried to allow the emulator on my firewall, but still the same error What can I do ?Edit: pastebin works normally