Skip to content

500 Internal Server Error: Unable to load system file object #1

@atscub

Description

@atscub

Hello, great work:

I'm using HTTPie to query the API, and I am getting the following when trying to install a package

$ http 192.168.0.105:12800/api/install type=direct packages:='["http://192.168.0.107:8000/CUSA07402_00_Crash_Bandicoot_N.Sane_Trilogy.pkg"]'
HTTP/1.1 500 Internal server error
Access-Control-Allow-Origin: *
Connection: close
Content-Type: application/json

{
    "error": "Unable to load system file object for package 'http://192.168.0.107:8000/CUSA07402_00_Crash_Bandicoot_N.Sane_Trilogy.pkg'.",
    "status": "fail"
}

Context

My Setup:

  • PS4 PRO
  • Firmware 5.05
  • Hen 2.0+
  • More than 100 GB available on PS4 storage
  • Ubuntu 18.04
  • python3 -m http.server 8000 for serving pkg files

The error is thrown on server.c > handle_api_install_direct(...):

...
    if (!sfo_load_from_file(sfo, param_sfo_path)) {
	THROW_ERROR("Unable to load system file object for package '%s'.", piece_urls[0]);
    }
...

but when looking inside sfo_load_from_file(...) I found there is many reasons for this to happen. I could not go any further because I'm new to all this.

Thanks in advance.

Abraham

tags: @flatz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions