OpenComputers

OpenComputers

49M Downloads

Empty error when using pastebin.

NaraVin opened this issue ยท 5 comments

commented

Image

The computer returns an empty error with a callstack.
Tested on a fresh 1.12.2 forge 14.23.5.2860 and also on FTB Ultimate Reloaded.

commented

Same for me, happened when I tried to install MineOS through Pastebin.
I'll try to investigate more later.

commented

After a bit of debugging, I saw the following reason from internet.lua : "Server returned HTTP response code: 403 for URL: https://pastebin.com/raw/icKy25PF", which in other words means a forbidden connection. I don't know why no reason has been displayed, but at least now you know why Pastebin doesn't work.

commented

Okay, thanks for your research!

commented

I found a potential fix : make pastebin.lua send a custom user agent to impersonate a browser. Maybe OC is forbidden because it is recognized as a scraping tool ?