MatthewL246 / pretendo-docker

An unofficial Docker Compose setup for self-hosting a Pretendo Network server.
https://matthewl246.github.io/pretendo-docker/
GNU Affero General Public License v3.0
45 stars 9 forks source link

Error using patch-sssl-certificate.sh #124

Closed Gabriel-Chevallier closed 3 weeks ago

Gabriel-Chevallier commented 4 weeks ago

After copying CACERT_NINTENDO_CA_G3.der in the console-files directory and running the patch-sssl-certificate.sh script, I got this error:

Error: The script /c/Users/Gabriel/Desktop/Network/pretendo-docker/scripts/patch-sssl-certificate.sh exited unexpectedly because an error occurred.
  /c/Users/Gabriel/Desktop/Network/pretendo-docker/scripts/patch-sssl-certificate.sh: line 30, in main
    docker run -it --rm -v .:/app/certs sssl -g3 /app/certs/CACERT_NINTENDO_CA_G3.der -o /app/certs
docker run -it --rm -v .:/app/certs sssl -g3 /app/certs/CACERT_NINTENDO_CA_G3.der -o /app/certs: exited with code 1
MatthewL246 commented 4 weeks ago

Please send the entire output of the script so I can see the error message that the SSSL-patching container gives. Thanks!

Gabriel-Chevallier commented 3 weeks ago

I chose to switch to Ubuntu and now everything works perfectly but I have another problem.

When I try to get the latest rotations in Splatoon, I get the error code 104-1970, 1970 corresponds to the id of the BOSS task schdat2 which allows me to retrieve the VSSettings.byaml file to have the latest rotations.

I generated this byaml and I setup the boss_keys.bin keys in the console-files folder, now I wonder how to download it to my wii u with the BOSS task to play splatoon.

I saw that there were columns in the Mongo db related to the BOSS server and I found the files that define the BOSS tasks related to Splatoon in the server repo.

MatthewL246 commented 3 weeks ago

Glad to hear it's working, but I'm not sure what the issue was. It should work on WSL, which I use myself.

Unfortunately, I have not experimented with setting up BOSS tasks, so I'm not sure how to get that working. I'd recommend using mitmproxy to check what route it uses and then looking through the BOSS server source code to see how it is attempting to find the file.

Gabriel-Chevallier commented 3 weeks ago

The problem probably came from the fact that I launched the script in git because I had not read the guide carefully.

I saw that it retrieves the file from a link here