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
54 stars 9 forks source link

3DS not connecting to pretendo-docker server #155

Open SpringtrapISZ opened 1 month ago

SpringtrapISZ commented 1 month ago

I have pretendo-docker running on an AMD desktop computer (the one I'm using right now to complete this issue report), and I'm using an older wireless internet router to act as a LAN connection for all my stuff.

I have a 3DS and a Wii U that I'm using with the server... the Wii U seems to be doing just fine, however when using the FriendsAccountSwicther script on the 3DS, and the manual_override app to reset the Friends environment, it does not connect to the server. The newly created friend code is not displayed, but instead there are a bunch of question marks on my friend card, and when checking the logs in mitmproxy, I don't notice anything evident of an error. This is what the mitmproxy log is giving me:

POST http://nasc.pretendo.cc/ac/ HTTP/1.1
Host: nasc.pretendo.cc
X-GameId: 00003200
User-Agent: CTR FPD/0010
Content-Type: application/x-www-form-urlencoded
Content-Type: application/x-www-form-urlencoded
Content-Length: 838
gameid=MDAwMDMyMDA%2A&sdkver=MDAwMDAw&titleid=MDAwNDAxMzAwMDAwMzIwMg%2A%2A&gamecd=LS0tLQ%2A%2A&gamever=MDAxNQ%2A%2A&mediatype=MA%2A%2A&makercd=MDA%2A&unitcd=Mg%2A%2A&macadr=[REMOVED]&bssid=[REMOVED]&apinfo=[REMOVED]&fcdcert=[REMOVED]&servertype=TDE%2A&fpdver=MDAxMA%2A%2A&devtime=MjQxMDExMDAwMzQw&lang=MDE%2A&region=MDE%2A&csnum=Tlc0MDI2OTYyMA%2A%2A&passwd=[REMOVED]&action=TE9HSU4%2A&ingamesn=

Maintainer note: I have removed some of the provided console data for privacy reasons.

I am given an error code of 001-0502 on my 3DS when I load the friends list, and even when I reboot the system nothing changes. I cannot find anything online about this, so it may be a unique issue, but even still I don't know how to fix it. I also noticed there was no image for my mii on the web interface, when creating a PNID. I can provide screenshots, logs, and images, if necessary.

Thank you in advance for any help you may give.

MatthewL246 commented 1 month ago

Can you provide the logs from the account server?

docker compose logs account
SpringtrapISZ commented 1 month ago

It is telling me there is no configuration file provided/not found Screenshot (1499)

Also, thank you for removing data compromising information. I wasn't aware there was any in it ._.

SpringtrapISZ commented 1 month ago

Now it generated a new friend code, and seems to connect to the server, but returns error code 002-0102 upon opening friends list. I also just had to move the current directory to the docker clone directory, here is what the logs returned to me:

account-1  | [0:59:58] [INFO]: Loading config
account-1  | [0:59:58] [INFO]: Config loaded, checking integrity
account-1  | [0:59:58] [WARN]: Failed to find captcha secret config. Disabling feature. To enable feature set the PN_ACT_CONFIG_HCAPTCHA_SECRET environment variable
account-1  | [0:59:58] [WARN]: Failed to find Stripe api key! If a PNID is deleted with an active subscription, the subscription will *NOT* be canceled! Set the PN_ACT_CONFIG_STRIPE_SECRET_KEY environment variable to enable
account-1  | [0:59:58] [INFO]: [conntest] Applying imported routes
account-1  | [0:59:58] [INFO]: [conntest] Creating 'conntest' subdomain
account-1  | [0:59:58] [INFO]: [cbvc] Applying imported routes
account-1  | [0:59:58] [INFO]: [cbvc] Creating 'cbvc' subdomain
account-1  | [0:59:58] [INFO]: [NNAS] Applying imported routes
account-1  | [0:59:58] [INFO]: [NNAS] Importing middleware
account-1  | [0:59:58] [INFO]: [NNAS] Creating 'account' subdomain
account-1  | [0:59:58] [INFO]: [NNAS] Creating 'c.account' subdomain
account-1  | [0:59:58] [INFO]: [NASC] Importing middleware
account-1  | [0:59:58] [INFO]: [NASC] Applying imported routes
account-1  | [0:59:58] [INFO]: [NASC] Creating 'nasc' subdomain
account-1  | [0:59:58] [INFO]: [DATASTORE] Applying imported routes
account-1  | [0:59:58] [INFO]: [DATASTORE] Creating 'datastore' subdomain
account-1  | [0:59:58] [INFO]: [USER API] Importing middleware
account-1  | [0:59:58] [INFO]: [USER API] Applying imported routes
account-1  | [0:59:58] [INFO]: [USER API] Creating 'api' subdomain
account-1  | [0:59:58] [INFO]: [LOCAL-CDN] s3 enabled, skipping local CDN
account-1  | [0:59:58] [INFO]: [assets] Setting up public folder
account-1  | [0:59:58] [INFO]: [conntest] Creating 'assets' subdomain
account-1  | [0:59:58] [INFO]: Setting up Middleware
account-1  | [0:59:58] [INFO]: Creating 404 status handler
account-1  | [0:59:58] [INFO]: Creating non-404 status handler
account-1  | [0:59:58] [INFO]: Starting server
account-1  | (node:1) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
account-1  |
account-1  | Please migrate your code to use AWS SDK for JavaScript (v3).
account-1  | For more information, check the migration guide at https://a.co/7PzMCcy
account-1  | (Use `node --trace-warnings ...` to show where the warning was created)
account-1  | [0:59:59] [SUCCESS]: Database connected
account-1  | [0:59:59] [SUCCESS]: Cache enabled
account-1  | [0:59:59] [SUCCESS]: gRPC server started on port 5000
account-1  | [0:59:59] [SUCCESS]: HTTP server started on port 8080
account-1  | GET / 200 4.067 ms - 240
account-1  | GET / 200 0.497 ms - 240
account-1  | POST /v1/api/oauth20/access_token/generate 400 44.539 ms - 137
account-1  | POST /v1/api/oauth20/access_token/generate 400 6.936 ms - 137
account-1  | GET / 200 0.330 ms - 240
account-1  | GET / 200 0.314 ms - 240
account-1  | POST /ac/ 200 10.542 ms - 54
account-1  | POST /ac/ 200 3.523 ms - 54
account-1  | POST /ac/ 200 3.356 ms - 54
account-1  | POST /v1/register 200 1868.621 ms - 222
account-1  | GET /v1/user 200 3.384 ms - 581
account-1  | GET /v1/user 200 2.690 ms - 581
account-1  | GET /v1/user 200 2.300 ms - 581
account-1  | GET /v1/user 200 3.528 ms - 581
account-1  | GET /v1/user 200 2.931 ms - 581
account-1  | GET /v1/user 200 2.414 ms - 581
account-1  | POST /ac/ 200 3.128 ms - 54
account-1  | GET /v1/user 200 3.100 ms - 581
account-1  | GET /v1/user 200 3.384 ms - 581
account-1  | GET /v1/user 200 2.368 ms - 581
account-1  | GET /v1/user 200 2.951 ms - 581
account-1  | GET /v1/user 200 2.690 ms - 581
account-1  | POST /v1/api/oauth20/access_token/generate 400 50.929 ms - 137
account-1  | POST /v1/api/oauth20/access_token/generate 400 50.087 ms - 137
account-1  | GET / 200 0.244 ms - 240
account-1  | GET /v1/api/admin/mapped_ids?input_type=user_id&output_type=pid&input=%20%2C 200 3.776 ms - 94
account-1  | GET / 200 0.284 ms - 240
account-1  | POST /ac/ 200 20.060 ms - 142
account-1  | POST /ac/ 200 15.434 ms - 142
account-1  | POST /ac/ 200 13.482 ms - 142
account-1  | GET /v1/user 200 2.296 ms - 581
account-1  | GET / 200 0.307 ms - 240
account-1  | GET /v1/api/admin/mapped_ids?input_type=user_id&output_type=pid&input=%20%2C 200 3.339 ms - 94
account-1  | GET /v1/api/people/@me/devices/owner 200 49.807 ms - 1180
account-1  | POST /v1/api/people/@me/devices/ 200 68.798 ms - 1180
account-1  | POST /v1/api/oauth20/access_token/generate 200 53.334 ms - 208
account-1  | PUT /v1/api/people/@me/miis/@primary 200 1633.516 ms - 0
account-1  | GET /v1/api/people/@me/profile 200 4.690 ms - 1200
account-1  | GET /v1/api/people/@me/profile 200 4.846 ms - 1200
account-1  | GET / 200 0.265 ms - 240
account-1  | POST /ac/ 200 14.213 ms - 142
account-1  | POST /ac/ 200 15.831 ms - 142
account-1  | POST /ac/ 200 12.465 ms - 142
account-1  | GET / 200 0.281 ms - 240
account-1  | POST /ac/ 200 14.207 ms - 142
account-1  | POST /ac/ 200 15.816 ms - 142
account-1  | POST /ac/ 200 13.487 ms - 142
account-1  | POST /ac/ 200 12.997 ms - 142
account-1  | POST /ac/ 200 13.361 ms - 142
account-1  | POST /ac/ 200 12.548 ms - 142
account-1  | POST /ac/ 200 16.089 ms - 142
account-1  | POST /ac/ 200 15.471 ms - 142
account-1  | POST /ac/ 200 13.224 ms - 142
account-1  | GET / 200 0.398 ms - 240
account-1  | GET /v1/user 400 4.434 ms - 68
account-1  | POST /v1/login 400 2.620 ms - 69
account-1  | POST /v1/login 200 43.674 ms - 222
account-1  | GET /v1/user 200 2.938 ms - 585
account-1  | Debugger listening on ws://0.0.0.0:9229/9b60c73b-5e93-4c73-8ed5-dcb692988016
account-1  | For help, see: https://nodejs.org/en/docs/inspector
account-1  | [18:14:6] [INFO]: Loading config
account-1  | [18:14:6] [INFO]: Config loaded, checking integrity
account-1  | [18:14:6] [WARN]: Failed to find captcha secret config. Disabling feature. To enable feature set the PN_ACT_CONFIG_HCAPTCHA_SECRET environment variable
account-1  | [18:14:6] [WARN]: Failed to find Stripe api key! If a PNID is deleted with an active subscription, the subscription will *NOT* be canceled! Set the PN_ACT_CONFIG_STRIPE_SECRET_KEY environment variable to enable
account-1  | [18:14:7] [INFO]: [conntest] Applying imported routes
account-1  | [18:14:7] [INFO]: [conntest] Creating 'conntest' subdomain
account-1  | [18:14:7] [INFO]: [cbvc] Applying imported routes
account-1  | [18:14:7] [INFO]: [cbvc] Creating 'cbvc' subdomain
account-1  | [18:14:7] [INFO]: [NNAS] Applying imported routes
account-1  | [18:14:7] [INFO]: [NNAS] Importing middleware
account-1  | [18:14:7] [INFO]: [NNAS] Creating 'account' subdomain
account-1  | [18:14:7] [INFO]: [NNAS] Creating 'c.account' subdomain
account-1  | [18:14:7] [INFO]: [NASC] Importing middleware
account-1  | [18:14:7] [INFO]: [NASC] Applying imported routes
account-1  | [18:14:7] [INFO]: [NASC] Creating 'nasc' subdomain
account-1  | [18:14:7] [INFO]: [DATASTORE] Applying imported routes
account-1  | [18:14:7] [INFO]: [DATASTORE] Creating 'datastore' subdomain
account-1  | [18:14:7] [INFO]: [USER API] Importing middleware
account-1  | [18:14:7] [INFO]: [USER API] Applying imported routes
account-1  | [18:14:7] [INFO]: [USER API] Creating 'api' subdomain
account-1  | [18:14:7] [INFO]: [LOCAL-CDN] s3 enabled, skipping local CDN
account-1  | [18:14:7] [INFO]: [assets] Setting up public folder
account-1  | [18:14:7] [INFO]: [conntest] Creating 'assets' subdomain
account-1  | [18:14:7] [INFO]: Setting up Middleware
account-1  | [18:14:7] [INFO]: Creating 404 status handler
account-1  | [18:14:7] [INFO]: Creating non-404 status handler
account-1  | [18:14:7] [INFO]: Starting server
account-1  | (node:1) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
account-1  |
account-1  | Please migrate your code to use AWS SDK for JavaScript (v3).
account-1  | For more information, check the migration guide at https://a.co/7PzMCcy
account-1  | (Use `node --trace-warnings ...` to show where the warning was created)
account-1  | [18:14:8] [SUCCESS]: Database connected
account-1  | [18:14:8] [SUCCESS]: Cache enabled
account-1  | [18:14:8] [SUCCESS]: gRPC server started on port 5000
account-1  | [18:14:8] [SUCCESS]: HTTP server started on port 8080
account-1  | GET / 200 4.161 ms - 240
account-1  | POST /ac/ 200 28.158 ms - 54
account-1  | POST /ac/ 200 3.677 ms - 54
account-1  | POST /ac/ 200 3.054 ms - 54
account-1  | POST /ac/ 200 2.978 ms - 54

(I am sorry in advance if I missed something and didn't remove it, I don't know what embedded data may or may not be safe to share. Please forgive me.)

MatthewL246 commented 1 month ago

(I am sorry in advance if I missed something and didn't remove it, I don't know what embedded data may or may not be safe to share. Please forgive me.)

No worries, there are no issues with the logs there. The issue with your first post is that the 3DS sends some base64-encoded private/console-specific information like the MAC address, WiFi info, and fcdcert. The one that's particularly risky is the fcdcert: this is the certificate that Pretendo uses to enforce console bans. Be careful not to send that publicly in the future, as someone could potentially copy it and use it to evade bans on Pretendo's official servers while appearing to be your console.

Now it generated a new friend code, and seems to connect to the server, but returns error code 002-0102 upon opening friends list.

That error will appear when the console attempts to log in with a NEX account (essentially, the internal account that the friend code is generated from) that doesn't exist on the server. For example, trying to log into your local server with a Pretendo NEX account or vice versa.

I'd suggest that you make sure that Nimbus is set to Pretendo and then try re-running the reset friends test account app.

SpringtrapISZ commented 1 month ago

No worries, there are no issues with the logs there. The issue with your first post is that the 3DS sends some base64-encoded private/console-specific information like the MAC address, WiFi info, and fcdcert. The one that's particularly risky is the fcdcert: this is the certificate that Pretendo uses to enforce console bans. Be careful not to send that publicly in the future, as someone could potentially copy it and use it to evade bans on Pretendo's official servers while appearing to be your console.

Ah okay... now that I know what information is sensitive, I'll be sure to exclude it. Thank you.

That error will appear when the console attempts to log in with a NEX account (essentially, the internal account that the friend code is generated from) that doesn't exist on the server. For example, trying to log into your local server with a Pretendo NEX account or vice versa.

That's what I had thought, although resetting the friends code environment once again, like you suggested below, did nothing before. I'll be sure to try that again here momentarily, and I'll report back when I recieve something in return.

I'd suggest that you make sure that Nimbus is set to Pretendo and then try re-running the reset friends test account app.

I triple checked to make sure that was correctly set before I began troubleshooting. Thank you for your help, I greatly appreciate it.

SpringtrapISZ commented 1 month ago

Tried resetting the friend code again, friend card has no code now and I get an error of 001-0502 when I open the friends list. Tried restarting it three or four times, nothing changed.

MatthewL246 commented 1 month ago

Thanks for trying, and I'm sorry that didn't work.

Error code 001-0502 is a common generic error code that unfortunately only says that the console failed to connect to the friends server. Let's try to narrow this down:

  1. Is the console successfully sending requests through mitmproxy?
  2. Is the account server successfully receiving and responding to the requests?
  3. On the console, has the NEX account been created yet?
    • Look at the most recent POST http://nasc.pretendo.cc/ac/ request in mitmproxy, and check whether the request data contains either the passwd or the userid parameter. For example, the original request you submitted in the issue body does contain it.
    • If it contains passwd, then the account has not been created yet and this is the initial account creation request.
    • If it contains userid, then the account has already been created.
    • Sidenote: Yes, it's a little weird: when creating a new NEX account, the console generates the account's password locally and sends that password to the server. Then, the server generates a PID (principal ID, basically the account's username), stores the new account in the database, and responds with the PID. The console then stores the PID and password, and at this point, your new friend code shows up.
  4. Is the console connecting to the friends server at all?
    • Check docker compose logs friends.
SpringtrapISZ commented 1 month ago

Thanks for trying, and I'm sorry that didn't work.

Not a problem, I really appreciate you helping... this continues to be an active problem for me.

Error code 001-0502 is a common generic error code that unfortunately only says that the console failed to connect to the friends server. Let's try to narrow this down:

  1. Is the console successfully sending requests through mitmproxy?
  2. Is the account server successfully receiving and responding to the requests?
  3. On the console, has the NEX account been created yet?

    • Look at the most recent POST http://nasc.pretendo.cc/ac/ request in mitmproxy, and check whether the request data contains either the passwd or the userid parameter. For example, the original request you submitted in the issue body does contain it.
    • If it contains passwd, then the account has not been created yet and this is the initial account creation request.
    • If it contains userid, then the account has already been created.
    • Sidenote: Yes, it's a little weird: when creating a new NEX account, the console generates the account's password locally and sends that password to the server. Then, the server generates a PID (principal ID, basically the account's username), stores the new account in the database, and responds with the PID. The console then stores the PID and password, and at this point, your new friend code shows up.

I'm checking this ^ right now, and it seems that every time I make a PNID with my local server, it stays on the 3DS until I reboot it. Then it gets wiped. I noticed that both after I linked the ID made through the web interface, and after I rebooted the 3DS, it contained the passwd parameter. I have noticed, however, while accidentally letting my 3DS connect to legitimate Pretendo services, it instantly creates a friend code, and I appear as online in the friends list, with this newly generated friend code.

  1. Is the console connecting to the friends server at all?

    • Check docker compose logs friends.

I'll be checking this momentarily ^

SpringtrapISZ commented 1 month ago

I have tried three different times to check the friends list logs, and each time returns basically nothing, and says that the execution has paused because the program is panicking. I'm finding it rather odd that linking my PNID to my 3DS resets after a reboot... it may be my problem, but I don't know what would be causing it to not save it. I do work a job, so typically I am quite busy, however I will respond as soon as I can.

MatthewL246 commented 1 month ago

Sorry for the late response, I've been very busy with college work.

I'm finding it rather odd that linking my PNID to my 3DS resets after a reboot

That is odd. I would guess that the fact that it can't successfully connect to the Friends server causes it to "forget" the PNID?

I have tried three different times to check the friends list logs, and each time returns basically nothing, and says that the execution has paused because the program is panicking.

That does sound like a problem. Do you have any way to try connecting to the Go debugger? I have a launch configuration for vscode.

SpringtrapISZ commented 1 month ago

I do appreciate the help, I also apologize for my late response, I have been busy with work. I am away from my computer for the weekend, but I should be able to report back with more information on Monday or Tuesday.

SpringtrapISZ commented 1 month ago

I didn't have a whole lot of time at the moment to work on it, however I did get it to start running. It returned with an error though, so it did not debug. Here is the log:

 *  Executing task: npm install && npm run build 

npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
npm warn deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm warn deprecated har-validator@5.1.5: this library is no longer supported
npm warn deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

added 715 packages, and audited 716 packages in 9s

73 packages are looking for funding
  run `npm fund` for details

19 vulnerabilities (2 low, 9 moderate, 7 high, 1 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
npm notice
npm notice New minor version of npm available! 10.8.2 -> 10.9.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.0
npm notice To update run: npm install -g npm@10.9.0
npm notice

> account@2.0.0 build
> npm run lint && npm run clean && npx tsc && npx tsc-alias && npm run copy-static

> account@2.0.0 lint
> npx eslint .

C:\[hidden]\pretendo-docker\repos\account\src\database.ts
  118:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

C:\[hidden]\pretendo-docker\repos\account\src\middleware\api.ts
  16:3  warning  Possible race condition: `request.pnid` might be assigned based on an outdated state of `request`  require-atomic-updates        

C:\[hidden]\pretendo-docker\repos\account\src\middleware\nasc.ts
  190:24  warning  Forbidden non-null assertion                                                                             @typescript-eslint/no-non-null-assertion
  230:2   warning  Possible race condition: `request.nexAccount` might be assigned based on an outdated state of `request`  require-atomic-updates

C:\[hidden]\pretendo-docker\repos\account\src\middleware\pnid.ts
  82:2  warning  Possible race condition: `request.pnid` might be assigned based on an outdated state of `request`  require-atomic-updates        

C:\[hidden]\pretendo-docker\repos\account\src\server.ts
  85:17  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

C:\[hidden]\pretendo-docker\repos\account\src\services\api\routes\v1\user.ts
  166:35  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

C:\[hidden]\pretendo-docker\repos\account\src\services\grpc\api\get-user-data.ts
  9:15  warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion

C:\[hidden]\pretendo-docker\repos\account\src\services\grpc\api\login.ts
  34:34  warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion
  40:47  warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion
  46:35  warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion

C:\[hidden]\pretendo-docker\repos\account\src\services\grpc\api\set-discord-connection-data.ts
  8:15  warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion

C:\[hidden]\pretendo-docker\repos\account\src\services\grpc\api\set-stripe-connection-data.ts
  20:15  warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion

C:\[hidden]\pretendo-docker\repos\account\src\services\grpc\api\update-user-data.ts
  9:15  warning  Forbidden non-null assertion  @typescript-eslint/no-non-null-assertion

C:\[hidden]\pretendo-docker\repos\account\src\services\nnas\routes\account-settings.ts
   84:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  110:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  221:18  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

C:\[hidden]\pretendo-docker\repos\account\src\types\express-subdomain.d.ts
  14:57  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

C:\[hidden]\pretendo-docker\repos\account\src\types\express.d.ts
  12:27  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

C:\[hidden]\pretendo-docker\repos\account\src\types\mongoose\device-attribute.ts
   9:18  warning  An empty interface is equivalent to `{}`                          @typescript-eslint/no-empty-interface
  11:11  warning  An empty interface is equivalent to `{}`                          @typescript-eslint/no-empty-interface
  13:18  warning  An interface declaring no members is equivalent to its supertype  @typescript-eslint/no-empty-interface

C:\[hidden]\pretendo-docker\repos\account\src\types\mongoose\device.ts
  27:18  warning  An empty interface is equivalent to `{}`                          @typescript-eslint/no-empty-interface
  29:11  warning  An empty interface is equivalent to `{}`                          @typescript-eslint/no-empty-interface
  31:18  warning  An interface declaring no members is equivalent to its supertype  @typescript-eslint/no-empty-interface

C:\[hidden]\pretendo-docker\repos\account\src\types\mongoose\nex-account.ts
  26:11  warning  An empty interface is equivalent to `{}`                          @typescript-eslint/no-empty-interface
  28:18  warning  An interface declaring no members is equivalent to its supertype  @typescript-eslint/no-empty-interface

C:\[hidden]\pretendo-docker\repos\account\src\types\mongoose\pnid.ts
  90:11  warning  An empty interface is equivalent to `{}`                          @typescript-eslint/no-empty-interface
  92:18  warning  An interface declaring no members is equivalent to its supertype  @typescript-eslint/no-empty-interface

C:\[hidden]\pretendo-docker\repos\account\src\types\mongoose\server.ts
  17:18  warning  An empty interface is equivalent to `{}`                          @typescript-eslint/no-empty-interface
  19:11  warning  An empty interface is equivalent to `{}`                          @typescript-eslint/no-empty-interface
  21:18  warning  An interface declaring no members is equivalent to its supertype  @typescript-eslint/no-empty-interface

C:\[hidden]\pretendo-docker\repos\account\src\util.ts
  318:38  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  318:43  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

✖ 34 problems (0 errors, 34 warnings)
  0 errors and 5 warnings potentially fixable with the `--fix` option.

> account@2.0.0 clean
> rimraf ./dist

npm error code ENOENT
npm error syscall lstat
npm error path C:\[hidden]\npm
npm error errno -4058
npm error enoent ENOENT: no such file or directory, lstat 'C:\[hidden]\npm'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: C:\[hidden]\_logs\2024-10-29T17_32_54_114Z-debug-0.log

 *  The terminal process "C:\Windows\System32\cmd.exe /d /c npm install && npm run build" terminated with exit code: -4058. 
 *  Terminal will be reused by tasks, press any key to close it. 

I had replaced the paths given by the log with "[hidden]", but any path that was referenced to was the users folder. I will see about returning to this once I get off of work later. Thanks in advance.

MatthewL246 commented 1 month ago

Something is definitely wrong there - why is the build process running on Windows? It should be running in the Linux-based Node.js Docker container.

SpringtrapISZ commented 1 month ago

I had not realized there was a console/debugger through Docker... I am rather unfamiliar with Docker, please forgive me D: Here are the logs from the Docker console. From connecting 3DS, without PNID linked, and without resetting friend code environment:


2024-10-30 02:08:05 mitmproxy-pretendo-1        | [06:08:05.118][172.18.0.1:41642] server connect nginx:80 (172.18.0.3:80)
2024-10-30 02:08:05 nginx-1                     | 2024/10/30 06:08:05 [info] 22#22: *52 client sent invalid header line: "HTTP_X_GAMEID: 00002400" while reading client request headers, client: 172.18.0.2, server: account.pretendo.cc, request: "GET / HTTP/1.1", host: "conntest.pretendo.cc"
2024-10-30 02:08:05 nginx-1                     | 2024/10/30 06:08:05 [info] 22#22: *52 client sent invalid header line: "HTTP_X_GAMEID: 00002400" while reading client request headers, client: 172.18.0.2, server: account.pretendo.cc, request: "GET / HTTP/1.1", host: "conntest.pretendo.cc"
2024-10-30 02:08:05 account-1                   | GET / 200 0.502 ms - 240
2024-10-30 02:08:05 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:06:08:05 +0000] conntest.pretendo.cc "GET / HTTP/1.1" 200 240 "-" "CTR AC/02" "-" 0.002
2024-10-30 02:08:05 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:06:08:05 +0000] conntest.pretendo.cc "GET / HTTP/1.1" 200 240 "-" "CTR AC/02" "-" 0.002
2024-10-30 02:08:05 mitmproxy-pretendo-1        | [06:08:05.121][172.18.0.1:41642] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 02:08:05 mitmproxy-pretendo-1        | [06:08:05.122][172.18.0.1:41642] client disconnect
2024-10-30 02:08:05 mitmproxy-pretendo-1        | [06:08:05.152][172.18.0.1:41652] client connect
2024-10-30 02:08:05 mitmproxy-pretendo-1        | [06:08:05.276][172.18.0.1:41652] server connect l-npns.app.pretendo.cc:443 (143.198.126.113:443)
2024-10-30 02:08:05 mitmproxy-pretendo-1        | [06:08:05.440][172.18.0.1:41652] server connect nginx:80 (172.18.0.3:80)
2024-10-30 02:08:05 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:06:08:05 +0000] l-npns.app.pretendo.cc "GET /api/v1/notifications.json?maxlength=4 HTTP/1.1" 404 153 "-" "CTR/P/1.0.0/r62419" "-" 0.000
2024-10-30 02:08:05 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:06:08:05 +0000] l-npns.app.pretendo.cc "GET /api/v1/notifications.json?maxlength=4 HTTP/1.1" 404 153 "-" "CTR/P/1.0.0/r62419" "-" 0.000
2024-10-30 02:08:05 mitmproxy-pretendo-1        | [06:08:05.470][172.18.0.1:41666] client connect
2024-10-30 02:08:05 mitmproxy-pretendo-1        | [06:08:05.503][172.18.0.1:41666] server connect nppl.c.app.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 02:08:05 mitmproxy-pretendo-1        | [06:08:05.654][172.18.0.1:41666] server connect nginx:80 (172.18.0.3:80)
2024-10-30 02:08:05 boss-1                      | GET /p01/policylist/3/US 200 0.980 ms - 1318
2024-10-30 02:08:05 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:06:08:05 +0000] nppl.c.app.pretendo.cc "GET /p01/policylist/3/US HTTP/1.1" 200 1318 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 02:08:05 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:06:08:05 +0000] nppl.c.app.pretendo.cc "GET /p01/policylist/3/US HTTP/1.1" 200 1318 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 02:08:07 mitmproxy-pretendo-1        | [06:08:07.252][172.18.0.1:41674] client connect
2024-10-30 02:08:07 mitmproxy-pretendo-1        | [06:08:07.936][172.18.0.1:33566] server disconnect l-npns.app.pretendo.cc:443 (143.198.126.113:443)
2024-10-30 02:08:08 mitmproxy-pretendo-1        | [06:08:08.249][172.18.0.1:33566] client disconnect
2024-10-30 02:08:08 mitmproxy-pretendo-1        | [06:08:08.249][172.18.0.1:33566] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 02:08:08 nginx-1                     | 2024/10/30 06:08:08 [info] 22#22: *51 client 172.18.0.2 closed keepalive connection
2024-10-30 02:08:08 nginx-1                     | 2024/10/30 06:08:08 [info] 22#22: *51 client 172.18.0.2 closed keepalive connection
2024-10-30 02:08:10 mongodb-1                   | {"t":{"$date":"2024-10-30T06:08:10.724+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1730268490,"ts_usec":724218,"thread":"1:0x7f1f9f3e16c0","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 1045, snapshot max: 1045 snapshot count: 0, oldest timestamp: (1730268190, 1) , meta checkpoint timestamp: (1730268490, 1) base write gen: 4741"}}}
2024-10-30 02:08:15 mitmproxy-pretendo-1        | [06:08:15.256][172.18.0.1:41674] error establishing server connection: [Errno -3] Temporary failure in name resolution
2024-10-30 02:08:15 mitmproxy-pretendo-1        | [06:08:15.306][172.18.0.1:41674] client disconnect
2024-10-30 02:08:17 mitmproxy-pretendo-1        | [06:08:17.258][172.18.0.1:36350] client connect
2024-10-30 02:08:17 mitmproxy-pretendo-1        | [06:08:17.402][172.18.0.1:36350] server connect nasc.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 02:08:17 mitmproxy-pretendo-1        | [06:08:17.522][172.18.0.1:36350] server connect nginx:80 (172.18.0.3:80)
2024-10-30 02:08:17 account-1                   | POST /ac/ 200 81.244 ms - 54
2024-10-30 02:08:17 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:06:08:17 +0000] nasc.pretendo.cc "POST /ac/ HTTP/1.1" 200 54 "-" "CTR FPD/0010" "-" 0.082
2024-10-30 02:08:17 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:06:08:17 +0000] nasc.pretendo.cc "POST /ac/ HTTP/1.1" 200 54 "-" "CTR FPD/0010" "-" 0.082
2024-10-30 02:08:20 mitmproxy-pretendo-1        | [06:08:20.533][172.18.0.1:41666] server disconnect nppl.c.app.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 02:08:32 mitmproxy-pretendo-1        | [06:08:32.430][172.18.0.1:36350] server disconnect nasc.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 02:09:05 mitmproxy-pretendo-1        | [06:09:05.320][172.18.0.1:41652] server disconnect l-npns.app.pretendo.cc:443 (143.198.126.113:443)
2024-10-30 02:09:10 mitmproxy-pretendo-1        | [06:09:10.465][172.18.0.1:41652] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 02:09:10 mitmproxy-pretendo-1        | [06:09:10.655][172.18.0.1:41666] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 02:09:10 mongodb-1                   | {"t":{"$date":"2024-10-30T06:09:10.733+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1730268550,"ts_usec":732977,"thread":"1:0x7f1f9f3e16c0","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 1059, snapshot max: 1059 snapshot count: 0, oldest timestamp: (1730268250, 1) , meta checkpoint timestamp: (1730268550, 1) base write gen: 4741"}}}
2024-10-30 02:09:22 mitmproxy-pretendo-1        | [06:09:22.616][172.18.0.1:36350] server disc ```

I'll see about testing more tomorrow afternoon before work.
MatthewL246 commented 1 month ago

Ah, thanks for clearing that up. I was worried that your containers might have been running on Windows (since there is an option to run Windows containers on Windows).

Everything in those logs looks okay as far as I can tell. The only error I see for the Temporary failure in name resolution from mitmproxy, but the important requests are still getting through so that doesn't seem to be the issue.

SpringtrapISZ commented 1 month ago

Yeah I had thought you meant for me to use Visual Studio Code to launch the debugger, so that's what I was doing. Here are more logs:

Initial connection:

2024-10-30 12:53:24 mitmproxy-pretendo-1        | [16:53:24.984][172.18.0.1:41558] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 12:53:24 nginx-1                     | 2024/10/30 16:53:24 [info] 32#32: *9 client 172.18.0.2 closed keepalive connection
2024-10-30 12:53:24 nginx-1                     | 2024/10/30 16:53:24 [info] 32#32: *9 client 172.18.0.2 closed keepalive connection
2024-10-30 12:53:24 mitmproxy-pretendo-1        | [16:53:24.992][172.18.0.1:59002] client connect
2024-10-30 12:53:24 mitmproxy-pretendo-1        | [16:53:24.996][172.18.0.1:59002] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:53:24 nginx-1                     | 2024/10/30 16:53:24 [info] 27#27: *21 client sent invalid header line: "HTTP_X_GAMEID: 00002400" while reading client request headers, client: 172.18.0.2, server: account.pretendo.cc, request: "GET / HTTP/1.1", host: "conntest.pretendo.cc"
2024-10-30 12:53:24 nginx-1                     | 2024/10/30 16:53:24 [info] 27#27: *21 client sent invalid header line: "HTTP_X_GAMEID: 00002400" while reading client request headers, client: 172.18.0.2, server: account.pretendo.cc, request: "GET / HTTP/1.1", host: "conntest.pretendo.cc"
2024-10-30 12:53:24 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:24 +0000] conntest.pretendo.cc "GET / HTTP/1.1" 200 240 "-" "CTR AC/02" "-" 0.002
2024-10-30 12:53:24 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:24 +0000] conntest.pretendo.cc "GET / HTTP/1.1" 200 240 "-" "CTR AC/02" "-" 0.002
2024-10-30 12:53:24 account-1                   | GET / 200 0.533 ms - 240
2024-10-30 12:53:25 mitmproxy-pretendo-1        | [16:53:24.999][172.18.0.1:59002] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 12:53:25 mitmproxy-pretendo-1        | [16:53:25.001][172.18.0.1:59002] client disconnect
2024-10-30 12:53:25 mitmproxy-pretendo-1        | [16:53:25.030][172.18.0.1:59016] client connect
2024-10-30 12:53:25 mitmproxy-pretendo-1        | [16:53:25.188][172.18.0.1:59016] server connect l-npns.app.pretendo.cc:443 (143.198.126.113:443)
2024-10-30 12:53:25 mitmproxy-pretendo-1        | [16:53:25.282][172.18.0.1:59016] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:53:25 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:25 +0000] l-npns.app.pretendo.cc "GET /api/v1/notifications.json?maxlength=4 HTTP/1.1" 404 153 "-" "CTR/P/1.0.0/r62419" "-" 0.000
2024-10-30 12:53:25 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:25 +0000] l-npns.app.pretendo.cc "GET /api/v1/notifications.json?maxlength=4 HTTP/1.1" 404 153 "-" "CTR/P/1.0.0/r62419" "-" 0.000
2024-10-30 12:53:25 mitmproxy-pretendo-1        | [16:53:25.314][172.18.0.1:59018] client connect
2024-10-30 12:53:25 mitmproxy-pretendo-1        | [16:53:25.344][172.18.0.1:59018] server connect nppl.c.app.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 12:53:25 mitmproxy-pretendo-1        | [16:53:25.425][172.18.0.1:59018] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:53:25 boss-1                      | GET /p01/policylist/3/US 200 1.015 ms - 1318
2024-10-30 12:53:25 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:25 +0000] nppl.c.app.pretendo.cc "GET /p01/policylist/3/US HTTP/1.1" 200 1318 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 12:53:25 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:25 +0000] nppl.c.app.pretendo.cc "GET /p01/policylist/3/US HTTP/1.1" 200 1318 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 12:53:27 mitmproxy-pretendo-1        | [16:53:27.599][172.18.0.1:44178] client connect
2024-10-30 12:53:34 mitmproxy-pretendo-1        | [16:53:34.905][172.18.0.1:47518] client disconnect
2024-10-30 12:53:34 mitmproxy-pretendo-1        | [16:53:34.906][172.18.0.1:47518] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 12:53:34 nginx-1                     | 2024/10/30 16:53:34 [info] 24#24: *12 client 172.18.0.2 closed keepalive connection
2024-10-30 12:53:34 nginx-1                     | 2024/10/30 16:53:34 [info] 24#24: *12 client 172.18.0.2 closed keepalive connection
2024-10-30 12:53:35 mitmproxy-pretendo-1        | [16:53:35.604][172.18.0.1:44178] error establishing server connection: [Errno -3] Temporary failure in name resolution
2024-10-30 12:53:35 mitmproxy-pretendo-1        | [16:53:35.615][172.18.0.1:44178] client disconnect
2024-10-30 12:53:35 mitmproxy-pretendo-1        | [16:53:35.803][172.18.0.1:44194] client connect
2024-10-30 12:53:35 mitmproxy-pretendo-1        | [16:53:35.837][172.18.0.1:44194] server connect npdl.cdn.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 12:53:35 mitmproxy-pretendo-1        | [16:53:35.989][172.18.0.1:44194] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:53:35 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:35 +0000] npdl.cdn.pretendo.cc "GET /p01/nsa/uuI82221UKkqmtbp/basho3/en/basho3?tm=5 HTTP/1.1" 404 9 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 12:53:35 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:35 +0000] npdl.cdn.pretendo.cc "GET /p01/nsa/uuI82221UKkqmtbp/basho3/en/basho3?tm=5 HTTP/1.1" 404 9 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 12:53:35 boss-1                      | GET /p01/nsa/uuI82221UKkqmtbp/basho3/en/basho3?tm=5 404 1.873 ms - 9
2024-10-30 12:53:36 mitmproxy-pretendo-1        | [16:53:36.227][172.18.0.1:59016] client disconnect
2024-10-30 12:53:36 mitmproxy-pretendo-1        | [16:53:36.228][172.18.0.1:59016] server disconnect l-npns.app.pretendo.cc:443 (143.198.126.113:443)
2024-10-30 12:53:36 mitmproxy-pretendo-1        | [16:53:36.228][172.18.0.1:59016] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 12:53:36 nginx-1                     | 2024/10/30 16:53:36 [info] 26#26: *24 client 172.18.0.2 closed keepalive connection
2024-10-30 12:53:36 nginx-1                     | 2024/10/30 16:53:36 [info] 26#26: *24 client 172.18.0.2 closed keepalive connection
2024-10-30 12:53:36 mitmproxy-pretendo-1        | [16:53:36.233][172.18.0.1:44206] client connect
2024-10-30 12:53:36 mitmproxy-pretendo-1        | [16:53:36.263][172.18.0.1:44206] server connect npdl.cdn.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 12:53:36 mitmproxy-pretendo-1        | [16:53:36.845][172.18.0.1:44206] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:53:36 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:36 +0000] npdl.cdn.pretendo.cc "GET /p01/nsa/rsJRb5kSxvgEazo3/ETC/en/Etc.dat?tm=5 HTTP/1.1" 404 9 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.004
2024-10-30 12:53:36 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:36 +0000] npdl.cdn.pretendo.cc "GET /p01/nsa/rsJRb5kSxvgEazo3/ETC/en/Etc.dat?tm=5 HTTP/1.1" 404 9 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.004
2024-10-30 12:53:36 boss-1                      | GET /p01/nsa/rsJRb5kSxvgEazo3/ETC/en/Etc.dat?tm=5 404 1.895 ms - 9
2024-10-30 12:53:37 mitmproxy-pretendo-1        | [16:53:37.080][172.18.0.1:44206] client disconnect
2024-10-30 12:53:37 mitmproxy-pretendo-1        | [16:53:37.080][172.18.0.1:44206] server disconnect npdl.cdn.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 12:53:37 mitmproxy-pretendo-1        | [16:53:37.081][172.18.0.1:44206] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 12:53:37 nginx-1                     | 2024/10/30 16:53:37 [info] 28#28: *31 client 172.18.0.2 closed keepalive connection
2024-10-30 12:53:37 nginx-1                     | 2024/10/30 16:53:37 [info] 28#28: *31 client 172.18.0.2 closed keepalive connection
2024-10-30 12:53:37 mitmproxy-pretendo-1        | [16:53:37.090][172.18.0.1:44216] client connect
2024-10-30 12:53:37 mitmproxy-pretendo-1        | [16:53:37.118][172.18.0.1:44216] server connect npdl.cdn.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 12:53:37 mitmproxy-pretendo-1        | [16:53:37.191][172.18.0.1:44216] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:53:37 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:37 +0000] npdl.cdn.pretendo.cc "GET /p01/nsa/rsJRb5kSxvgEazo3/PANEL/en/PanelData.dat?tm=5 HTTP/1.1" 404 9 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.004
2024-10-30 12:53:37 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:37 +0000] npdl.cdn.pretendo.cc "GET /p01/nsa/rsJRb5kSxvgEazo3/PANEL/en/PanelData.dat?tm=5 HTTP/1.1" 404 9 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.004
2024-10-30 12:53:37 boss-1                      | GET /p01/nsa/rsJRb5kSxvgEazo3/PANEL/en/PanelData.dat?tm=5 404 1.898 ms - 9
2024-10-30 12:53:37 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:37 +0000] npdl.cdn.pretendo.cc "GET /p01/nsa/uuI82221UKkqmtbp/basho4/US/en/basho4?tm=5 HTTP/1.1" 404 9 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 12:53:37 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:37 +0000] npdl.cdn.pretendo.cc "GET /p01/nsa/uuI82221UKkqmtbp/basho4/US/en/basho4?tm=5 HTTP/1.1" 404 9 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 12:53:37 boss-1                      | GET /p01/nsa/uuI82221UKkqmtbp/basho4/US/en/basho4?tm=5 404 2.008 ms - 9
2024-10-30 12:53:37 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:37 +0000] npdl.cdn.pretendo.cc "GET /p01/nsa/uuI82221UKkqmtbp/basho5/US/en/basho5?tm=5 HTTP/1.1" 404 9 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 12:53:37 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:37 +0000] npdl.cdn.pretendo.cc "GET /p01/nsa/uuI82221UKkqmtbp/basho5/US/en/basho5?tm=5 HTTP/1.1" 404 9 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 12:53:37 boss-1                      | GET /p01/nsa/uuI82221UKkqmtbp/basho5/US/en/basho5?tm=5 404 1.974 ms - 9
2024-10-30 12:53:37 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:37 +0000] npdl.cdn.pretendo.cc "GET /p01/nsa/rsJRb5kSxvgEazo3/PANELLM/US/en/PanelData.dat?tm=5 HTTP/1.1" 404 9 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 12:53:37 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:37 +0000] npdl.cdn.pretendo.cc "GET /p01/nsa/rsJRb5kSxvgEazo3/PANELLM/US/en/PanelData.dat?tm=5 HTTP/1.1" 404 9 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 12:53:37 boss-1                      | GET /p01/nsa/rsJRb5kSxvgEazo3/PANELLM/US/en/PanelData.dat?tm=5 404 2.194 ms - 9
2024-10-30 12:53:38 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:38 +0000] npdl.cdn.pretendo.cc "GET /p01/nsa/rsJRb5kSxvgEazo3/UPDATE/en/Update.dat?tm=5 HTTP/1.1" 404 9 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 12:53:38 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:38 +0000] npdl.cdn.pretendo.cc "GET /p01/nsa/rsJRb5kSxvgEazo3/UPDATE/en/Update.dat?tm=5 HTTP/1.1" 404 9 "-" "PBOS-8.0/0000000203d0b22b-0000003d4c596c36/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 12:53:38 boss-1                      | GET /p01/nsa/rsJRb5kSxvgEazo3/UPDATE/en/Update.dat?tm=5 404 1.949 ms - 9
2024-10-30 12:53:40 mitmproxy-pretendo-1        | [16:53:40.370][172.18.0.1:59018] server disconnect nppl.c.app.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 12:53:43 mitmproxy-pretendo-1        | [16:53:43.104][172.18.0.1:44216] client disconnect
2024-10-30 12:53:43 mitmproxy-pretendo-1        | [16:53:43.105][172.18.0.1:44216] server disconnect npdl.cdn.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 12:53:43 mitmproxy-pretendo-1        | [16:53:43.105][172.18.0.1:44216] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 12:53:43 nginx-1                     | 2024/10/30 16:53:43 [info] 31#31: *34 client 172.18.0.2 closed keepalive connection
2024-10-30 12:53:43 nginx-1                     | 2024/10/30 16:53:43 [info] 31#31: *34 client 172.18.0.2 closed keepalive connection
2024-10-30 12:53:43 mitmproxy-pretendo-1        | [16:53:43.110][172.18.0.1:55808] client connect
2024-10-30 12:53:43 mitmproxy-pretendo-1        | [16:53:43.138][172.18.0.1:55808] server connect nasc.pretendo.cc:443 (104.25.2.76:443)
2024-10-30 12:53:43 mitmproxy-pretendo-1        | [16:53:43.301][172.18.0.1:55808] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:53:43 account-1                   | POST /ac/ 200 23.887 ms - 54
2024-10-30 12:53:43 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:43 +0000] nasc.pretendo.cc "POST /ac/ HTTP/1.1" 200 54 "-" "CTR FPD/0010" "-" 0.026
2024-10-30 12:53:43 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:53:43 +0000] nasc.pretendo.cc "POST /ac/ HTTP/1.1" 200 54 "-" "CTR FPD/0010" "-" 0.026

After resetting friend code environment:

2024-10-30 12:57:39 mitmproxy-pretendo-1        | [16:57:39.576][172.18.0.1:47516] client connect
2024-10-30 12:57:39 mitmproxy-pretendo-1        | [16:57:39.580][172.18.0.1:47516] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:57:39 nginx-1                     | 2024/10/30 16:57:39 [info] 21#21: *58 client sent invalid header line: "HTTP_X_GAMEID: 00002400" while reading client request headers, client: 172.18.0.2, server: account.pretendo.cc, request: "GET / HTTP/1.1", host: "conntest.pretendo.cc"
2024-10-30 12:57:39 nginx-1                     | 2024/10/30 16:57:39 [info] 21#21: *58 client sent invalid header line: "HTTP_X_GAMEID: 00002400" while reading client request headers, client: 172.18.0.2, server: account.pretendo.cc, request: "GET / HTTP/1.1", host: "conntest.pretendo.cc"
2024-10-30 12:57:39 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:57:39 +0000] conntest.pretendo.cc "GET / HTTP/1.1" 200 240 "-" "CTR AC/02" "-" 0.002
2024-10-30 12:57:39 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:57:39 +0000] conntest.pretendo.cc "GET / HTTP/1.1" 200 240 "-" "CTR AC/02" "-" 0.002
2024-10-30 12:57:39 account-1                   | GET / 200 0.465 ms - 240
2024-10-30 12:57:39 mitmproxy-pretendo-1        | [16:57:39.583][172.18.0.1:47516] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 12:57:39 mitmproxy-pretendo-1        | [16:57:39.584][172.18.0.1:47516] client disconnect
2024-10-30 12:57:39 mitmproxy-pretendo-1        | [16:57:39.606][172.18.0.1:47530] client connect
2024-10-30 12:57:39 mitmproxy-pretendo-1        | [16:57:39.760][172.18.0.1:47530] server connect l-npns.app.pretendo.cc:443 (143.198.126.113:443)
2024-10-30 12:57:39 mitmproxy-pretendo-1        | [16:57:39.933][172.18.0.1:47530] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:57:39 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:57:39 +0000] l-npns.app.pretendo.cc "GET /api/v1/notifications.json?maxlength=4 HTTP/1.1" 404 153 "-" "CTR/P/1.0.0/r62419" "-" 0.000
2024-10-30 12:57:39 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:57:39 +0000] l-npns.app.pretendo.cc "GET /api/v1/notifications.json?maxlength=4 HTTP/1.1" 404 153 "-" "CTR/P/1.0.0/r62419" "-" 0.000
2024-10-30 12:57:39 mitmproxy-pretendo-1        | [16:57:39.940][172.18.0.1:47544] client connect
2024-10-30 12:57:40 mitmproxy-pretendo-1        | [16:57:40.079][172.18.0.1:47544] server connect nasc.pretendo.cc:443 (104.25.2.76:443)
2024-10-30 12:57:40 mitmproxy-pretendo-1        | [16:57:40.722][172.18.0.1:47544] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:57:40 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:57:40 +0000] nasc.pretendo.cc "POST /ac/ HTTP/1.1" 200 142 "-" "CTR FPD/0010" "-" 0.042
2024-10-30 12:57:40 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:57:40 +0000] nasc.pretendo.cc "POST /ac/ HTTP/1.1" 200 142 "-" "CTR FPD/0010" "-" 0.042
2024-10-30 12:57:40 account-1                   | POST /ac/ 200 40.671 ms - 142
2024-10-30 12:57:42 mitmproxy-pretendo-1        | [16:57:42.882][172.18.0.1:35974] client disconnect
2024-10-30 12:57:42 mitmproxy-pretendo-1        | [16:57:42.883][172.18.0.1:35974] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 12:57:42 nginx-1                     | 2024/10/30 16:57:42 [info] 21#21: *56 client 172.18.0.2 closed keepalive connection
2024-10-30 12:57:42 nginx-1                     | 2024/10/30 16:57:42 [info] 21#21: *56 client 172.18.0.2 closed keepalive connection
2024-10-30 12:57:53 mitmproxy-pretendo-1        | [16:57:53.528][172.18.0.1:36666] client disconnect
2024-10-30 12:57:53 mitmproxy-pretendo-1        | [16:57:53.540][172.18.0.1:36682] client disconnect
2024-10-30 12:57:54 mongodb-1                   | {"t":{"$date":"2024-10-30T16:57:54.125+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1730307474,"ts_usec":125140,"thread":"1:0x7f32eed6f6c0","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 101, snapshot max: 101 snapshot count: 0, oldest timestamp: (1730307160, 1) , meta checkpoint timestamp: (1730307460, 1) base write gen: 5297"}}}
2024-10-30 12:57:55 mitmproxy-pretendo-1        | [16:57:55.108][172.18.0.1:47544] server disconnect nasc.pretendo.cc:443 (104.25.2.76:443)
2024-10-30 12:58:10 mitmproxy-pretendo-1        | [16:58:10.946][172.18.0.1:33368] client connect
2024-10-30 12:58:11 mitmproxy-pretendo-1        | [16:58:11.088][172.18.0.1:33368] server connect nppl.c.app.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 12:58:12 mitmproxy-pretendo-1        | [16:58:12.323][172.18.0.1:33368] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:58:12 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:58:12 +0000] nppl.c.app.pretendo.cc "GET /p01/policylist/3/US HTTP/1.1" 200 1318 "-" "PBOS-8.0/0000000203d0b22b-0000000000000000/11.16.0-49U/62452/5" "-" 0.002
2024-10-30 12:58:12 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:58:12 +0000] nppl.c.app.pretendo.cc "GET /p01/policylist/3/US HTTP/1.1" 200 1318 "-" "PBOS-8.0/0000000203d0b22b-0000000000000000/11.16.0-49U/62452/5" "-" 0.002
2024-10-30 12:58:12 boss-1                      | GET /p01/policylist/3/US 200 0.871 ms - 1318
2024-10-30 12:58:13 mitmproxy-pretendo-1        | [16:58:13.481][172.18.0.1:47530] client disconnect
2024-10-30 12:58:13 mitmproxy-pretendo-1        | [16:58:13.482][172.18.0.1:47530] server disconnect l-npns.app.pretendo.cc:443 (143.198.126.113:443)
2024-10-30 12:58:13 mitmproxy-pretendo-1        | [16:58:13.482][172.18.0.1:47530] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 12:58:13 nginx-1                     | 2024/10/30 16:58:13 [info] 21#21: *60 client 172.18.0.2 closed keepalive connection
2024-10-30 12:58:13 nginx-1                     | 2024/10/30 16:58:13 [info] 21#21: *60 client 172.18.0.2 closed keepalive connection
2024-10-30 12:58:13 mitmproxy-pretendo-1        | [16:58:13.488][172.18.0.1:33370] client connect
2024-10-30 12:58:13 mitmproxy-pretendo-1        | [16:58:13.518][172.18.0.1:33370] server connect nasc.pretendo.cc:443 (104.25.2.76:443)
2024-10-30 12:58:14 mitmproxy-pretendo-1        | [16:58:14.249][172.18.0.1:33370] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:58:14 account-1                   | POST /ac/ 200 14.766 ms - 142
2024-10-30 12:58:14 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:58:14 +0000] nasc.pretendo.cc "POST /ac/ HTTP/1.1" 200 142 "-" "CTR FPD/0010" "-" 0.017
2024-10-30 12:58:14 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:58:14 +0000] nasc.pretendo.cc "POST /ac/ HTTP/1.1" 200 142 "-" "CTR FPD/0010" "-" 0.017

After linking PNID:

2024-10-30 12:59:46 mitmproxy-pretendo-1        | [16:59:46.891][172.18.0.1:35188] client connect
2024-10-30 12:59:46 mitmproxy-pretendo-1        | [16:59:46.896][172.18.0.1:35188] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:59:46 nginx-1                     | 2024/10/30 16:59:46 [info] 21#21: *69 client sent invalid header line: "HTTP_X_GAMEID: 00002400" while reading client request headers, client: 172.18.0.2, server: account.pretendo.cc, request: "GET / HTTP/1.1", host: "conntest.pretendo.cc"
2024-10-30 12:59:46 nginx-1                     | 2024/10/30 16:59:46 [info] 21#21: *69 client sent invalid header line: "HTTP_X_GAMEID: 00002400" while reading client request headers, client: 172.18.0.2, server: account.pretendo.cc, request: "GET / HTTP/1.1", host: "conntest.pretendo.cc"
2024-10-30 12:59:46 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:59:46 +0000] conntest.pretendo.cc "GET / HTTP/1.1" 200 240 "-" "CTR AC/02" "-" 0.001
2024-10-30 12:59:46 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:59:46 +0000] conntest.pretendo.cc "GET / HTTP/1.1" 200 240 "-" "CTR AC/02" "-" 0.001
2024-10-30 12:59:46 account-1                   | GET / 200 0.336 ms - 240
2024-10-30 12:59:46 mitmproxy-pretendo-1        | [16:59:46.898][172.18.0.1:35188] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 12:59:46 mitmproxy-pretendo-1        | [16:59:46.899][172.18.0.1:35188] client disconnect
2024-10-30 12:59:46 mitmproxy-pretendo-1        | [16:59:46.997][172.18.0.1:35196] client connect
2024-10-30 12:59:47 mitmproxy-pretendo-1        | [16:59:47.141][172.18.0.1:35196] server connect account.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 12:59:47 mitmproxy-pretendo-1        | [16:59:47.442][172.18.0.1:35196] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:59:47 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:59:47 +0000] account.pretendo.cc "GET /v1/api/admin/mapped_ids?input_type=user_id&output_type=pid&input=%20%2C HTTP/1.1" 200 94 "-" "-" "-" 0.012
2024-10-30 12:59:47 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:59:47 +0000] account.pretendo.cc "GET /v1/api/admin/mapped_ids?input_type=user_id&output_type=pid&input=%20%2C HTTP/1.1" 200 94 "-" "-" "-" 0.012
2024-10-30 12:59:47 account-1                   | GET /v1/api/admin/mapped_ids?input_type=user_id&output_type=pid&input=%20%2C 200 10.575 ms - 94
2024-10-30 12:59:54 mongodb-1                   | {"t":{"$date":"2024-10-30T16:59:54.156+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1730307594,"ts_usec":156072,"thread":"1:0x7f32eed6f6c0","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 128, snapshot max: 128 snapshot count: 0, oldest timestamp: (1730307284, 1) , meta checkpoint timestamp: (1730307584, 1) base write gen: 5297"}}}
2024-10-30 12:59:56 mitmproxy-pretendo-1        | [16:59:56.115][172.18.0.1:47544] client disconnect
2024-10-30 12:59:57 mitmproxy-pretendo-1        | [16:59:57.294][172.18.0.1:35196] client disconnect
2024-10-30 12:59:57 mitmproxy-pretendo-1        | [16:59:57.295][172.18.0.1:35196] server disconnect account.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 12:59:57 mitmproxy-pretendo-1        | [16:59:57.296][172.18.0.1:35196] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 12:59:57 nginx-1                     | 2024/10/30 16:59:57 [info] 21#21: *71 client 172.18.0.2 closed keepalive connection
2024-10-30 12:59:57 nginx-1                     | 2024/10/30 16:59:57 [info] 21#21: *71 client 172.18.0.2 closed keepalive connection
2024-10-30 12:59:57 mitmproxy-pretendo-1        | [16:59:57.303][172.18.0.1:46316] client connect
2024-10-30 12:59:57 mitmproxy-pretendo-1        | [16:59:57.333][172.18.0.1:46316] server connect nasc.pretendo.cc:443 (104.25.2.76:443)
2024-10-30 12:59:57 mitmproxy-pretendo-1        | [16:59:57.474][172.18.0.1:46316] server connect nginx:80 (172.18.0.3:80)
2024-10-30 12:59:57 account-1                   | POST /ac/ 200 14.102 ms - 142
2024-10-30 12:59:57 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:59:57 +0000] nasc.pretendo.cc "POST /ac/ HTTP/1.1" 200 142 "-" "CTR FPD/0010" "-" 0.015
2024-10-30 12:59:57 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:16:59:57 +0000] nasc.pretendo.cc "POST /ac/ HTTP/1.1" 200 142 "-" "CTR FPD/0010" "-" 0.015
2024-10-30 12:59:57 mitmproxy-pretendo-1        | [16:59:57.504][172.18.0.1:33368] client disconnect
2024-10-30 13:00:12 mitmproxy-pretendo-1        | [17:00:12.361][172.18.0.1:46316] server disconnect nasc.pretendo.cc:443 (104.25.2.76:443)
2024-10-30 13:00:54 mongodb-1                   | {"t":{"$date":"2024-10-30T17:00:54.174+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1730307654,"ts_usec":174047,"thread":"1:0x7f32eed6f6c0","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 142, snapshot max: 142 snapshot count: 0, oldest timestamp: (1730307344, 1) , meta checkpoint timestamp: (1730307644, 1) base write gen: 5297"}}}
2024-10-30 13:00:57 mitmproxy-pretendo-1        | [17:00:57.109][172.18.0.1:46316] client disconnect
2024-10-30 13:00:57 mitmproxy-pretendo-1        | [17:00:57.109][172.18.0.1:46316] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 13:00:57 nginx-1                     | 2024/10/30 17:00:57 [info] 21#21: *73 client 172.18.0.2 closed keepalive connection
2024-10-30 13:00:57 nginx-1                     | 2024/10/30 17:00:57 [info] 21#21: *73 client 172.18.0.2 closed keepalive connection
2024-10-30 13:00:57 mitmproxy-pretendo-1        | [17:00:57.118][172.18.0.1:52266] client connect
2024-10-30 13:00:57 mitmproxy-pretendo-1        | [17:00:57.151][172.18.0.1:52266] server connect account.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 13:00:57 mitmproxy-pretendo-1        | [17:00:57.221][172.18.0.1:52266] server connect nginx:80 (172.18.0.3:80)
2024-10-30 13:00:57 account-1                   | GET /v1/api/people/@me/devices/owner 200 57.892 ms - 1181
2024-10-30 13:00:57 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:00:57 +0000] account.pretendo.cc "GET /v1/api/people/@me/devices/owner HTTP/1.1" 200 1181 "-" "-" "-" 0.059
2024-10-30 13:00:57 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:00:57 +0000] account.pretendo.cc "GET /v1/api/people/@me/devices/owner HTTP/1.1" 200 1181 "-" "-" "-" 0.059
2024-10-30 13:01:12 mitmproxy-pretendo-1        | [17:01:12.179][172.18.0.1:52266] server disconnect account.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 13:01:20 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:01:20 +0000] account.pretendo.cc "POST /v1/api/people/@me/devices/ HTTP/1.1" 200 1181 "-" "-" "-" 0.062
2024-10-30 13:01:20 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:01:20 +0000] account.pretendo.cc "POST /v1/api/people/@me/devices/ HTTP/1.1" 200 1181 "-" "-" "-" 0.062
2024-10-30 13:01:20 account-1                   | POST /v1/api/people/@me/devices/ 200 60.328 ms - 1181
2024-10-30 13:01:21 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:01:21 +0000] account.pretendo.cc "POST /v1/api/oauth20/access_token/generate HTTP/1.1" 200 208 "-" "-" "-" 0.053
2024-10-30 13:01:21 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:01:21 +0000] account.pretendo.cc "POST /v1/api/oauth20/access_token/generate HTTP/1.1" 200 208 "-" "-" "-" 0.053
2024-10-30 13:01:21 account-1                   | POST /v1/api/oauth20/access_token/generate 200 51.062 ms - 208
2024-10-30 13:01:21 coredns-internal-1          | [INFO] 172.20.0.11:48591 - 2192 "A IN studio.mii.nintendo.com. udp 41 false 512" NOERROR qr,rd,ra 197 0.073858076s
2024-10-30 13:01:21 coredns-internal-1          | [INFO] 172.20.0.11:42557 - 2382 "AAAA IN studio.mii.nintendo.com. udp 41 false 512" NOERROR qr,rd,ra 245 0.239322493s
2024-10-30 13:01:22 coredns-internal-1          | [INFO] 172.20.0.11:37851 - 62330 "AAAA IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 42 0.000472873s
2024-10-30 13:01:22 coredns-internal-1          | [INFO] 172.20.0.11:56790 - 62120 "A IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 82 0.00054558s
2024-10-30 13:01:22 nginx-1                     | 2024/10/30 17:01:22 [warn] 21#21: *80 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000001, client: 172.20.0.11, server: minio.pretendo.cc, request: "PUT /mii/1774130116/standard.tga HTTP/1.1", host: "pn-cdn.minio.pretendo.cc"
2024-10-30 13:01:22 nginx-1                     | 2024/10/30 17:01:22 [warn] 21#21: *80 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000001, client: 172.20.0.11, server: minio.pretendo.cc, request: "PUT /mii/1774130116/standard.tga HTTP/1.1", host: "pn-cdn.minio.pretendo.cc"
2024-10-30 13:01:22 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:22 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/standard.tga HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.014
2024-10-30 13:01:22 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:22 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/standard.tga HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.014
2024-10-30 13:01:22 coredns-internal-1          | [INFO] 172.20.0.11:51133 - 59271 "AAAA IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 42 0.000309179s
2024-10-30 13:01:22 coredns-internal-1          | [INFO] 172.20.0.11:33972 - 59081 "A IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 82 0.000481843s
2024-10-30 13:01:22 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:22 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/normal_face.png HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.007
2024-10-30 13:01:22 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:22 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/normal_face.png HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.007
2024-10-30 13:01:22 coredns-internal-1          | [INFO] 172.20.0.11:57982 - 63407 "AAAA IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 42 0.000333742s
2024-10-30 13:01:22 coredns-internal-1          | [INFO] 172.20.0.11:53678 - 63001 "A IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 82 0.00034917s
2024-10-30 13:01:22 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:22 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/frustrated.png HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.008
2024-10-30 13:01:22 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:22 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/frustrated.png HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.008
2024-10-30 13:01:22 coredns-internal-1          | [INFO] 172.20.0.11:41808 - 39663 "AAAA IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 42 0.000459875s
2024-10-30 13:01:22 coredns-internal-1          | [INFO] 172.20.0.11:46100 - 39227 "A IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 82 0.000492964s
2024-10-30 13:01:22 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:22 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/smile_open_mouth.png HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.008
2024-10-30 13:01:22 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:22 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/smile_open_mouth.png HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.008
2024-10-30 13:01:22 coredns-internal-1          | [INFO] 172.20.0.11:47588 - 58292 "A IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 82 0.00033994s
2024-10-30 13:01:22 coredns-internal-1          | [INFO] 172.20.0.11:59067 - 58472 "AAAA IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 42 0.000479503s
2024-10-30 13:01:22 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:22 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/wink_left.png HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.008
2024-10-30 13:01:22 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:22 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/wink_left.png HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.008
2024-10-30 13:01:23 coredns-internal-1          | [INFO] 172.20.0.11:57487 - 39348 "AAAA IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 42 0.00052143s
2024-10-30 13:01:23 coredns-internal-1          | [INFO] 172.20.0.11:51130 - 39158 "A IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 82 0.000515889s
2024-10-30 13:01:23 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:23 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/sorrow.png HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.007
2024-10-30 13:01:23 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:23 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/sorrow.png HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.007
2024-10-30 13:01:23 coredns-internal-1          | [INFO] 172.20.0.11:57931 - 62271 "AAAA IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 42 0.000467752s
2024-10-30 13:01:23 coredns-internal-1          | [INFO] 172.20.0.11:55076 - 62051 "A IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 82 0.000528661s
2024-10-30 13:01:23 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:23 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/surprise_open_mouth.png HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.007
2024-10-30 13:01:23 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:23 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/surprise_open_mouth.png HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.007
2024-10-30 13:01:23 coredns-internal-1          | [INFO] 172.20.0.11:37080 - 43375 "AAAA IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 42 0.000380939s
2024-10-30 13:01:23 coredns-internal-1          | [INFO] 172.20.0.11:49598 - 43215 "A IN pn-cdn.minio.pretendo.cc. udp 23 false 512" NOERROR qr,rd,ra 82 0.000472432s
2024-10-30 13:01:23 nginx-1                     | 2024/10/30 17:01:23 [warn] 23#23: *94 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000002, client: 172.20.0.11, server: minio.pretendo.cc, request: "PUT /mii/1774130116/body.png HTTP/1.1", host: "pn-cdn.minio.pretendo.cc"
2024-10-30 13:01:23 nginx-1                     | 2024/10/30 17:01:23 [warn] 23#23: *94 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000002, client: 172.20.0.11, server: minio.pretendo.cc, request: "PUT /mii/1774130116/body.png HTTP/1.1", host: "pn-cdn.minio.pretendo.cc"
2024-10-30 13:01:23 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:23 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/body.png HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.008
2024-10-30 13:01:23 nginx-1                     | 172.20.0.11 - - [30/Oct/2024:17:01:23 +0000] pn-cdn.minio.pretendo.cc "PUT /mii/1774130116/body.png HTTP/1.1" 200 0 "-" "aws-sdk-nodejs/2.1440.0 linux/v20.18.0 promise" "-" 0.008
2024-10-30 13:01:23 account-1                   | PUT /v1/api/people/@me/miis/@primary 200 1917.206 ms - 0
2024-10-30 13:01:23 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:01:23 +0000] account.pretendo.cc "PUT /v1/api/people/@me/miis/@primary HTTP/1.1" 200 0 "-" "-" "-" 1.919
2024-10-30 13:01:23 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:01:23 +0000] account.pretendo.cc "PUT /v1/api/people/@me/miis/@primary HTTP/1.1" 200 0 "-" "-" "-" 1.919
2024-10-30 13:01:23 account-1                   | GET /v1/api/people/@me/profile 200 4.753 ms - 1201
2024-10-30 13:01:23 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:01:23 +0000] account.pretendo.cc "GET /v1/api/people/@me/profile HTTP/1.1" 200 1201 "-" "-" "-" 0.006
2024-10-30 13:01:23 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:01:23 +0000] account.pretendo.cc "GET /v1/api/people/@me/profile HTTP/1.1" 200 1201 "-" "-" "-" 0.006
2024-10-30 13:01:24 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:01:24 +0000] account.pretendo.cc "GET /v1/api/people/@me/profile HTTP/1.1" 200 1201 "-" "-" "-" 0.005
2024-10-30 13:01:24 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:01:24 +0000] account.pretendo.cc "GET /v1/api/people/@me/profile HTTP/1.1" 200 1201 "-" "-" "-" 0.005
2024-10-30 13:01:24 account-1                   | GET /v1/api/people/@me/profile 200 3.517 ms - 1201
2024-10-30 13:01:54 mongodb-1                   | {"t":{"$date":"2024-10-30T17:01:54.189+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1730307714,"ts_usec":189305,"thread":"1:0x7f32eed6f6c0","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 160, snapshot max: 160 snapshot count: 0, oldest timestamp: (1730307414, 3) , meta checkpoint timestamp: (1730307714, 3) base write gen: 5297"}}}
2024-10-30 13:02:09 mitmproxy-pretendo-1        | [17:02:09.565][172.18.0.1:60462] client connect
2024-10-30 13:02:09 mitmproxy-pretendo-1        | [17:02:09.568][172.18.0.1:60462] server connect nginx:80 (172.18.0.3:80)
2024-10-30 13:02:09 nginx-1                     | 2024/10/30 17:02:09 [info] 23#23: *98 client sent invalid header line: "HTTP_X_GAMEID: 00002400" while reading client request headers, client: 172.18.0.2, server: account.pretendo.cc, request: "GET / HTTP/1.1", host: "conntest.pretendo.cc"
2024-10-30 13:02:09 nginx-1                     | 2024/10/30 17:02:09 [info] 23#23: *98 client sent invalid header line: "HTTP_X_GAMEID: 00002400" while reading client request headers, client: 172.18.0.2, server: account.pretendo.cc, request: "GET / HTTP/1.1", host: "conntest.pretendo.cc"
2024-10-30 13:02:09 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:02:09 +0000] conntest.pretendo.cc "GET / HTTP/1.1" 200 240 "-" "CTR AC/02" "-" 0.002
2024-10-30 13:02:09 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:02:09 +0000] conntest.pretendo.cc "GET / HTTP/1.1" 200 240 "-" "CTR AC/02" "-" 0.002
2024-10-30 13:02:09 account-1                   | GET / 200 0.296 ms - 240
2024-10-30 13:02:09 mitmproxy-pretendo-1        | [17:02:09.571][172.18.0.1:60462] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 13:02:09 mitmproxy-pretendo-1        | [17:02:09.572][172.18.0.1:60462] client disconnect
2024-10-30 13:02:09 mitmproxy-pretendo-1        | [17:02:09.613][172.18.0.1:60468] client connect
2024-10-30 13:02:09 mitmproxy-pretendo-1        | [17:02:09.735][172.18.0.1:60468] server connect l-npns.app.pretendo.cc:443 (143.198.126.113:443)
2024-10-30 13:02:09 mitmproxy-pretendo-1        | [17:02:09.840][172.18.0.1:60468] server connect nginx:80 (172.18.0.3:80)
2024-10-30 13:02:09 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:02:09 +0000] l-npns.app.pretendo.cc "GET /api/v1/notifications.json?maxlength=4 HTTP/1.1" 404 153 "-" "CTR/P/1.0.0/r62419" "-" 0.000
2024-10-30 13:02:09 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:02:09 +0000] l-npns.app.pretendo.cc "GET /api/v1/notifications.json?maxlength=4 HTTP/1.1" 404 153 "-" "CTR/P/1.0.0/r62419" "-" 0.000
2024-10-30 13:02:09 mitmproxy-pretendo-1        | [17:02:09.852][172.18.0.1:60474] client connect
2024-10-30 13:02:09 mitmproxy-pretendo-1        | [17:02:09.881][172.18.0.1:60474] server connect nasc.pretendo.cc:443 (104.25.2.76:443)
2024-10-30 13:02:09 mitmproxy-pretendo-1        | [17:02:09.978][172.18.0.1:60474] server connect nginx:80 (172.18.0.3:80)
2024-10-30 13:02:09 account-1                   | POST /ac/ 200 14.583 ms - 142
2024-10-30 13:02:09 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:02:09 +0000] nasc.pretendo.cc "POST /ac/ HTTP/1.1" 200 142 "-" "CTR FPD/0010" "-" 0.016
2024-10-30 13:02:09 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:02:09 +0000] nasc.pretendo.cc "POST /ac/ HTTP/1.1" 200 142 "-" "CTR FPD/0010" "-" 0.016

After linking the PNID and exiting system settings, I am greeted with a bunch of question marks on my friend card in the friends list, an error code of 001-0502, and the following log in the Docker console:

2024-10-30 13:10:03 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:10:03 +0000] nppl.c.app.pretendo.cc "GET /p01/policylist/3/US HTTP/1.1" 200 1318 "-" "PBOS-8.0/0000000203d0b22b-0000000000000000/11.16.0-49U/62452/5" "-" 0.003
2024-10-30 13:10:03 boss-1                      | GET /p01/policylist/3/US 200 0.905 ms - 1318
2024-10-30 13:10:06 mitmproxy-pretendo-1        | [17:10:06.535][172.18.0.1:54094] client disconnect
2024-10-30 13:10:06 mitmproxy-pretendo-1        | [17:10:06.535][172.18.0.1:54094] server disconnect l-npns.app.pretendo.cc:443 (143.198.126.113:443)
2024-10-30 13:10:06 mitmproxy-pretendo-1        | [17:10:06.536][172.18.0.1:54094] server disconnect nginx:80 (172.18.0.3:80)
2024-10-30 13:10:06 nginx-1                     | 2024/10/30 17:10:06 [info] 22#22: *120 client 172.18.0.2 closed keepalive connection
2024-10-30 13:10:06 nginx-1                     | 2024/10/30 17:10:06 [info] 22#22: *120 client 172.18.0.2 closed keepalive connection
2024-10-30 13:10:06 mitmproxy-pretendo-1        | [17:10:06.543][172.18.0.1:33834] client connect
2024-10-30 13:10:06 mitmproxy-pretendo-1        | [17:10:06.664][172.18.0.1:33834] server connect nasc.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 13:10:06 mitmproxy-pretendo-1        | [17:10:06.814][172.18.0.1:33834] server connect nginx:80 (172.18.0.3:80)
2024-10-30 13:10:06 account-1                   | POST /ac/ 200 13.638 ms - 142
2024-10-30 13:10:06 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:10:06 +0000] nasc.pretendo.cc "POST /ac/ HTTP/1.1" 200 142 "-" "CTR FPD/0010" "-" 0.014
2024-10-30 13:10:06 nginx-1                     | 172.18.0.2 - - [30/Oct/2024:17:10:06 +0000] nasc.pretendo.cc "POST /ac/ HTTP/1.1" 200 142 "-" "CTR FPD/0010" "-" 0.014
2024-10-30 13:10:21 mitmproxy-pretendo-1        | [17:10:21.694][172.18.0.1:33834] server disconnect nasc.pretendo.cc:443 (104.25.1.76:443)
2024-10-30 13:10:54 mongodb-1                   | {"t":{"$date":"2024-10-30T17:10:54.274+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1730308254,"ts_usec":274462,"thread":"1:0x7f32eed6f6c0","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 289, snapshot max: 289 snapshot count: 0, oldest timestamp: (1730307954, 1) , meta checkpoint timestamp: (1730308254, 1) base write gen: 5297"}}}
MatthewL246 commented 1 month ago

It looks like there are no longs from the friends server at all?

What do docker compose ps --all and docker compose logs friends output?

SpringtrapISZ commented 4 weeks ago

Using the terminal provided within Docker (not the log console, the terminal. And it's Windows Powershell by the way, will provide a screenshot below), here is what I was returned with. Images provided below. Also, is there a better way to communicate with you, if I may ask? I don't mind exchanging on GitHub, I just don't wish to add unnecessary complication if it bothers you is all 😅

image

MatthewL246 commented 4 weeks ago

You do need to run the commands in the pretendo-docker directory with the compose.yml file - otherwise, Docker Compose can't know which containers you're talking about. I'm pretty sure that's what you were doing before to get the logs, which worked fine.

Yeah I had thought you meant for me to use Visual Studio Code to launch the debugger, so that's what I was doing.

Sorry for not responding to this before. That is what I meant by debugging the server, and VSCode is supposed to use the remote debugging feature to connect to the server that's running inside the container and debug it. It shouldn't require running anything on your host machine (besides the Go extension). I don't blame you though, it's a bit difficult to get set up. I did jump the gun a bit with that suggestion, and I hope we can resolve this without requiring you to set up the debugger.

Also, is there a better way to communicate with you, if I may ask? I don't mind exchanging on GitHub, I just don't wish to add unnecessary complication if it bothers you is all

I do prefer GitHub, since it lets me keep all of my project support-related stuff organized in one place, and everything's public in case anyone has the same issue in the future.

SpringtrapISZ commented 4 weeks ago

You do need to run the commands in the pretendo-docker directory with the compose.yml file - otherwise, Docker Compose can't know which containers you're talking about. I'm pretty sure that's what you were doing before to get the logs, which worked fine.

Ah, okay... I have everything placed in the pretendo-docker folder inside the Users folder, so that should be the current working directory. Everything should be running in this folder as root folder, essentially, and if it were not, I feel like nothing would work at all. :d

Sorry for not responding to this before. That is what I meant by debugging the server, and VSCode is supposed to use the remote debugging feature to connect to the server that's running inside the container and debug it. It shouldn't require running anything on your host machine (besides the Go extension). I don't blame you though, it's a bit difficult to get set up. I did jump the gun a bit with that suggestion, and I hope we can resolve this without requiring you to set up the debugger.

Ah you're fine. I had tried running the launch.json file from within the pretendo-docker folder, and could not get it to work. I can try to investigate that if necessary.

I do prefer GitHub, since it lets me keep all of my project support-related stuff organized in one place, and everything's public in case anyone has the same issue in the future.

That's fair, I simply don't like displeasing people who help me, is all.

MatthewL246 commented 4 weeks ago

Ah, okay... I have everything placed in the pretendo-docker folder inside the Users folder, so that should be the current working directory.

To be more specific, it looks like the PowerShell terminal in your previous response was not in the right directory.

SpringtrapISZ commented 4 weeks ago

That wasn't a good help. ;-; I sincerely apologize for that. I moved it into the pretendo-docker folder. Here is what the command docker compose ps --all returned with:

Windows PowerShell

PS C:\[hidden]> cd C:\Users\JOSEP\pretendo-docker
PS C:\[hidden]\pretendo-docker>docker compose ps --all    
NAME                                          IMAGE                                          COMMAND                  SERVICE                    CREATED       STATUS                 PORTS
pretendo-network-account-1                    pretendo-network-account                       "docker-entrypoint.s…"   account                    2 weeks ago   Up 2 hours             127.0.0.1:9229->9229/tcp
pretendo-network-adminer-1                    adminer:latest                                 "entrypoint.sh php -…"   adminer                    2 weeks ago   Up 2 hours             127.0.0.1:8085->8080/tcp
pretendo-network-boss-1                       pretendo-network-boss                          "docker-entrypoint.s…"   boss                       2 weeks ago   Up 2 hours             127.0.0.1:9233->9233/tcp
pretendo-network-coredns-internal-1           coredns/coredns:latest                         "/coredns -conf /etc…"   coredns-internal           2 weeks ago   Up 2 hours             53/tcp, 53/udp
pretendo-network-friends-1                    pretendo-network-friends                       "./dlv exec ./server…"   friends                    2 weeks ago   Up 2 hours             127.0.0.1:2345->2345/tcp, 0.0.0.0:6000-6001->6000-6001/udp      
pretendo-network-juxtaposition-ui-1           pretendo-network-juxtaposition-ui              "docker-entrypoint.s…"   juxtaposition-ui           2 weeks ago   Up 2 hours             127.0.0.1:9232->9232/tcp
pretendo-network-mailpit-1                    axllent/mailpit:latest                         "/mailpit"               mailpit                    2 weeks ago   Up 2 hours (healthy)   1025/tcp, 1110/tcp, 8025/tcp, 127.0.0.1:8084->8084/tcp
pretendo-network-miiverse-api-1               pretendo-network-miiverse-api                  "docker-entrypoint.s…"   miiverse-api               2 weeks ago   Up 2 hours             127.0.0.1:9231->9231/tcp
pretendo-network-minecraft-wiiu-1             pretendo-network-minecraft-wiiu                "./dlv exec ./server…"   minecraft-wiiu             2 weeks ago   Up 2 hours             0.0.0.0:6008-6009->6008-6009/udp, 127.0.0.1:2350->2345/tcp      
pretendo-network-minio-1                      minio/minio:latest                             "/usr/bin/docker-ent…"   minio                      2 weeks ago   Up 2 hours             127.0.0.1:8083->8083/tcp, 9000/tcp
pretendo-network-mitmproxy-pretendo-1         ghcr.io/matthewl246/mitmproxy-pretendo:local   "docker-entrypoint.s…"   mitmproxy-pretendo         2 weeks ago   Up 2 hours             0.0.0.0:8080->8080/tcp, 127.0.0.1:8081->8081/tcp
pretendo-network-mongo-express-1              mongo-express:latest                           "/sbin/tini -- /dock…"   mongo-express              2 weeks ago   Up 2 hours             8081/tcp, 127.0.0.1:8082->8082/tcp
pretendo-network-mongodb-1                    mongo:latest                                   "docker-entrypoint.s…"   mongodb                    2 weeks ago   Up 2 hours             127.0.0.1:27017->27017/tcp
-mario-maker          2 weeks ago   Up 2 hours             0.0.0.0:6004-6005->6004-6005/udp, 127.0.0.1:2348->2345/tcp      pretendo-network-website-1                    pretendo-network-website                       "docker-entrypoint.s…"   website                    2 weeks ago   Up 2 hours             127.0.0.1:9230->9230/tcp-----------------------------------------XXpretendo-network-wiiu-chat-authentication-1   pretendo-network-wiiu-chat-authentication      "./dlv exec ./server…"   wiiu-chat-authentication   2 weeks ago   Up 2 hours             0.0.0.0:6002->6002/udp, 127.0.0.1:2346->2345/tcp-----------------XXpretendo-network-wiiu-chat-secure-1           pretendo-network-wiiu-chat-secure              "./dlv exec ./server…"   wiiu-chat-secure           2 weeks ago   Up 2 hours             0.0.0.0:6003->6003/udp, 127.0.0.1:2347->2345/tcp-----------------XXPS C:\Users\JOSEP\pretendo-docker>

And the command docker compose logs friends :

PS C:\[hidden]\pretendo-docker> docker compose logs friends
friends-1  | API server listening at: [::]:2345
friends-1  | 2024-10-13T04:33:07Z warning layer=rpc Listening for remote connections (connections are not authenticated nor encrypted)
friends-1  | 2024-10-13T04:33:07Z info layer=debugger launching process with args: [./server]
friends-1  | 2024-10-13T04:33:08Z debug layer=debugger Adding target 12 "/home/go/app/server"
friends-1  | 2024-10-13T04:33:08Z debug layer=debugger continuing
friends-1  | 2024-10-13T04:33:08Z debug layer=debugger ContinueOnce
friends-1  | [2024-10-13T04:33:08] [WARNING]  [func 0() main.init/init.go:33] : Error loading .env file: open .env: no such file or directory
friends-1  | 
friends-1  | [2024-10-13T04:33:08] [SUCCESS]  [func ConnectPostgres() github.com/PretendoNetwork/friends/database/connect_postgres.go:22] : Connected to Postgres!
friends-1  | 
friends-1  | [2024-10-13T04:33:08] [SUCCESS]  [func initPostgresWiiU() github.com/PretendoNetwork/friends/database/init_postgres_wiiu.go:14] : [Wii U] Postgres schema created
friends-1  |
friends-1  | [2024-10-13T04:33:08] [SUCCESS]  [func initPostgresWiiU() github.com/PretendoNetwork/friends/database/init_postgres_wiiu.go:107] : [Wii U] Postgres tables created
friends-1  |
friends-1  | [2024-10-13T04:33:08] [SUCCESS]  [func initPostgres3DS() github.com/PretendoNetwork/friends/database/init_postgres_3ds.go:14] : [3DS] Postgres schema created
friends-1  |
friends-1  | [2024-10-13T04:33:08] [SUCCESS]  [func initPostgres3DS() github.com/PretendoNetwork/friends/database/init_postgres_3ds.go:53] : [3DS] Postgres tables created
friends-1  |
friends-1  | 2024/10/13 04:33:08 server listening at [::]:5001
friends-1  | 2024-10-13T04:33:08Z debug layer=debugger callInjection protocol on:
friends-1  | 2024-10-13T04:33:08Z debug layer=debugger  22 PC=0x47b6f7
friends-1  | 2024-10-13T04:33:08Z debug layer=debugger  25 PC=0x47bcc3
friends-1  | 2024-10-13T04:33:08Z debug layer=debugger  26 PC=0x443ec4
friends-1  | 2024-10-13T04:33:08Z debug layer=debugger  28 PC=0x4088ae
friends-1  | 2024-10-13T04:33:08Z debug layer=debugger  29 PC=0x47bcc3
friends-1  | 2024-10-13T04:33:08Z debug layer=debugger  12 PC=0xd2e980
friends-1  | 2024-10-13T04:33:08Z debug layer=debugger  23 PC=0x47bcc3
friends-1  | 2024-10-13T04:33:08Z debug layer=debugger  24 PC=0x47bcc3
friends-1  | 2024-10-13T04:33:08Z debug layer=debugger  27 PC=0x47bcc3
friends-1  |
friends-1  | ** execution is paused because your program is panicking **
friends-1  | To continue the execution please connect your client to the debugger.
friends-1  | Stack trace:
friends-1  | 0  0x0000000000443ec4 in runtime.fatalpanic
friends-1  |    at /usr/local/go/src/runtime/panic.go:1217
friends-1  | 1  0x0000000000442ebd in runtime.gopanic
friends-1  |    at /usr/local/go/src/runtime/panic.go:779
friends-1  | 2  0x000000000044213e in runtime.panicmem
friends-1  |    at /usr/local/go/src/runtime/panic.go:261
friends-1  | 3  0x000000000045bbe5 in runtime.sigpanic
friends-1  |    at /usr/local/go/src/runtime/signal_unix.go:881
friends-1  | 4  0x0000000000d3a1e3 in github.com/PretendoNetwork/friends/nex.registerCommonAuthenticationServerProtocols   
friends-1  |    at /home/go/app/nex/register_common_authentication_server_protocols.go:30
friends-1  | 5  0x0000000000d39fbd in github.com/PretendoNetwork/friends/nex.StartAuthenticationServer
friends-1  |    at /home/go/app/nex/authentication.go:24
friends-1  | 6  0x0000000000479ec1 in runtime.goexit
friends-1  |    at /usr/local/go/src/runtime/asm_amd64.s:1695
friends-1  | API server listening at: [::]:2345
friends-1  | 2024-10-13T05:14:00Z warning layer=rpc Listening for remote connections (connections are not authenticated nor encrypted)
friends-1  | 2024-10-13T05:14:00Z info layer=debugger launching process with args: [./server]
friends-1  | 2024-10-13T05:14:01Z debug layer=debugger Adding target 12 "/home/go/app/server"
friends-1  | 2024-10-13T05:14:01Z debug layer=debugger continuing
friends-1  | 2024-10-13T05:14:01Z debug layer=debugger ContinueOnce
friends-1  | [2024-10-13T05:14:01] [WARNING]  [func 0() main.init/init.go:33] : Error loading .env file: open .env: no such file or directory
friends-1  |
friends-1  | [2024-10-13T05:14:01] [SUCCESS]  [func ConnectPostgres() github.com/PretendoNetwork/friends/database/connect_postgres.go:22] : Connected to Postgres!
friends-1  |
friends-1  | [2024-10-13T05:14:01] [CRITICAL] [func initPostgresWiiU() github.com/PretendoNetwork/friends/database/init_postgres_wiiu.go:10] : pq: the database system is starting up
friends-1  |
friends-1  | [2024-10-13T05:14:01] [CRITICAL] [func initPostgres3DS() github.com/PretendoNetwork/friends/database/init_postgres_3ds.go:10] : pq: the database system is starting up
friends-1  |
friends-1  | 2024/10/13 05:14:01 server listening at [::]:5001
friends-1  | 2024-10-13T05:14:01Z debug layer=debugger callInjection protocol on:
friends-1  | 2024-10-13T05:14:01Z debug layer=debugger  12 PC=0xd2e980
friends-1  | 2024-10-13T05:14:01Z debug layer=debugger  23 PC=0x4088ae
friends-1  | 2024-10-13T05:14:01Z debug layer=debugger  25 PC=0x47bcc3
friends-1  | 2024-10-13T05:14:01Z debug layer=debugger  28 PC=0x47bcc3
friends-1  | 2024-10-13T05:14:01Z debug layer=debugger  29 PC=0x47bcc3
friends-1  | 2024-10-13T05:14:01Z debug layer=debugger  30 PC=0x443ec4
friends-1  | 2024-10-13T05:14:01Z debug layer=debugger  22 PC=0x47b6f7
friends-1  | 2024-10-13T05:14:01Z debug layer=debugger  24 PC=0x47bcc3
friends-1  | 2024-10-13T05:14:01Z debug layer=debugger  26 PC=0x47bcc3
friends-1  | 2024-10-13T05:14:01Z debug layer=debugger  27 PC=0x463a21
friends-1  |
friends-1  | ** execution is paused because your program is panicking **
friends-1  | To continue the execution please connect your client to the debugger.
friends-1  | Stack trace:
friends-1  | 0  0x0000000000443ec4 in runtime.fatalpanic
friends-1  |    at /usr/local/go/src/runtime/panic.go:1217
friends-1  | 1  0x0000000000442ebd in runtime.gopanic
friends-1  |    at /usr/local/go/src/runtime/panic.go:779
friends-1  | 2  0x000000000044213e in runtime.panicmem
friends-1  |    at /usr/local/go/src/runtime/panic.go:261
friends-1  | 3  0x000000000045bbe5 in runtime.sigpanic
friends-1  |    at /usr/local/go/src/runtime/signal_unix.go:881
friends-1  | 4  0x0000000000d3a1e3 in github.com/PretendoNetwork/friends/nex.registerCommonAuthenticationServerProtocols   
friends-1  |    at /home/go/app/nex/register_common_authentication_server_protocols.go:30
friends-1  | 5  0x0000000000d39fbd in github.com/PretendoNetwork/friends/nex.StartAuthenticationServer
friends-1  |    at /home/go/app/nex/authentication.go:24
friends-1  | 6  0x0000000000479ec1 in runtime.goexit
friends-1  |    at /usr/local/go/src/runtime/asm_amd64.s:1695
friends-1  | 2024-10-13T05:27:45Z debug layer=debugger detaching
friends-1  | API server listening at: [::]:2345
friends-1  | 2024-10-29T17:18:47Z warning layer=rpc Listening for remote connections (connections are not authenticated nor encrypted)
friends-1  | 2024-10-29T17:18:47Z info layer=debugger launching process with args: [./server]
friends-1  | 2024-10-29T17:18:47Z debug layer=debugger Adding target 12 "/home/go/app/server"
friends-1  | 2024-10-29T17:18:47Z debug layer=debugger continuing
friends-1  | 2024-10-29T17:18:47Z debug layer=debugger ContinueOnce
friends-1  | [2024-10-29T17:18:47] [WARNING]  [func 0() main.init/init.go:33] : Error loading .env file: open .env: no such file or directory
friends-1  |
friends-1  | [2024-10-29T17:18:47] [SUCCESS]  [func ConnectPostgres() github.com/PretendoNetwork/friends/database/connect_postgres.go:22] : Connected to Postgres!
friends-1  |
friends-1  | [2024-10-29T17:18:47] [CRITICAL] [func initPostgresWiiU() github.com/PretendoNetwork/friends/database/init_postgres_wiiu.go:10] : dial tcp 172.20.0.6:5432: connect: connection refused
friends-1  |
friends-1  | [2024-10-29T17:18:47] [CRITICAL] [func initPostgres3DS() github.com/PretendoNetwork/friends/database/init_postgres_3ds.go:10] : dial tcp 172.20.0.6:5432: connect: connection refused
friends-1  |
friends-1  | 2024/10/29 17:18:47 server listening at [::]:5001
friends-1  | [2024-10-29T17:18:47] [WARNING]  [func (*CommonProtocol).EnableInsecureLogin() github.com/PretendoNetwork/nex-protocols-common-go/v2/ticket-granting/protocol.go:31] : INSECURE LOGIN HAS BEEN ENABLED. THIS ALLOWS THE USE OF CUSTOM CLIENTS TO BYPASS THE ACCOUNT SERVER AND CONNECT DIRECTLY TO THIS GAME SERVER, EVADING BANS! USE WITH CAUTION!
friends-1  |
friends-1  | 2024-10-29T17:25:21Z debug layer=debugger halting
friends-1  | 2024-10-29T17:25:21Z debug layer=debugger callInjection protocol on:
friends-1  | 2024-10-29T17:25:21Z debug layer=debugger  30 PC=0x4088ae
friends-1  | 2024-10-29T17:25:21Z debug layer=debugger  31 PC=0x47bcc3
friends-1  | 2024-10-29T17:25:21Z debug layer=debugger  29 PC=0x47bcc3
friends-1  | 2024-10-29T17:25:21Z debug layer=debugger  25 PC=0x47bcc3
friends-1  | 2024-10-29T17:25:21Z debug layer=debugger  26 PC=0x47bcc3
friends-1  | 2024-10-29T17:25:21Z debug layer=debugger  27 PC=0x47bcc3
friends-1  | 2024-10-29T17:25:21Z debug layer=debugger  28 PC=0x47bcc3
friends-1  | 2024-10-29T17:25:21Z debug layer=debugger  32 PC=0x47bcc3
friends-1  | 2024-10-29T17:25:21Z debug layer=debugger  33 PC=0x47bcc3
friends-1  | 2024-10-29T17:25:21Z debug layer=debugger  12 PC=0x47bcc3
friends-1  | 2024-10-29T17:25:21Z debug layer=debugger detaching
friends-1  | API server listening at: [::]:2345
friends-1  | 2024-10-30T04:55:10Z warning layer=rpc Listening for remote connections (connections are not authenticated nor encrypted)
friends-1  | 2024-10-30T04:55:10Z info layer=debugger launching process with args: [./server]
friends-1  | 2024-10-30T04:55:10Z debug layer=debugger Adding target 12 "/home/go/app/server"
friends-1  | 2024-10-30T04:55:10Z debug layer=debugger continuing
friends-1  | 2024-10-30T04:55:10Z debug layer=debugger ContinueOnce
friends-1  | [2024-10-30T04:55:10] [WARNING]  [func 0() main.init/init.go:33] : Error loading .env file: open .env: no such file or directory
friends-1  |
friends-1  | [2024-10-30T04:55:10] [SUCCESS]  [func ConnectPostgres() github.com/PretendoNetwork/friends/database/connect_postgres.go:22] : Connected to Postgres!
friends-1  |
friends-1  | [2024-10-30T04:55:10] [SUCCESS]  [func initPostgresWiiU() github.com/PretendoNetwork/friends/database/init_postgres_wiiu.go:14] : [Wii U] Postgres schema created
friends-1  |
friends-1  | [2024-10-30T04:55:10] [SUCCESS]  [func initPostgresWiiU() github.com/PretendoNetwork/friends/database/init_postgres_wiiu.go:107] : [Wii U] Postgres tables created
friends-1  |
friends-1  | [2024-10-30T04:55:10] [SUCCESS]  [func initPostgres3DS() github.com/PretendoNetwork/friends/database/init_postgres_3ds.go:14] : [3DS] Postgres schema created
friends-1  |
friends-1  | [2024-10-30T04:55:10] [SUCCESS]  [func initPostgres3DS() github.com/PretendoNetwork/friends/database/init_postgres_3ds.go:53] : [3DS] Postgres tables created
friends-1  |
friends-1  | 2024-10-30T04:55:10Z debug layer=debugger callInjection protocol on:
friends-1  | 2024-10-30T04:55:10Z debug layer=debugger  25 PC=0x47bcc3
friends-1  | 2024-10-30T04:55:10Z debug layer=debugger  26 PC=0x47bcc3
friends-1  | 2024-10-30T04:55:10Z debug layer=debugger  28 PC=0x4088ae
friends-1  | 2024-10-30T04:55:10Z debug layer=debugger  29 PC=0x4088ae
friends-1  | 2024-10-30T04:55:10Z debug layer=debugger  31 PC=0x443ec4
friends-1  | 2024-10-30T04:55:10Z debug layer=debugger  12 PC=0xd2e980
friends-1  | 2024-10-30T04:55:10Z debug layer=debugger  23 PC=0x47b6f7
friends-1  | 2024-10-30T04:55:10Z debug layer=debugger  24 PC=0x47bcc3
friends-1  | 2024-10-30T04:55:10Z debug layer=debugger  30 PC=0x47bcc3
friends-1  | 2024-10-30T04:55:10Z debug layer=debugger  27 PC=0x47bcc3
friends-1  |
friends-1  | ** execution is paused because your program is panicking **
friends-1  | To continue the execution please connect your client to the debugger.
friends-1  | Stack trace:
friends-1  | 0  0x0000000000443ec4 in runtime.fatalpanic
friends-1  |    at /usr/local/go/src/runtime/panic.go:1217
friends-1  | 1  0x0000000000442ebd in runtime.gopanic
friends-1  |    at /usr/local/go/src/runtime/panic.go:779
friends-1  | 2  0x000000000044213e in runtime.panicmem
friends-1  |    at /usr/local/go/src/runtime/panic.go:261
friends-1  | 3  0x000000000045bbe5 in runtime.sigpanic
friends-1  |    at /usr/local/go/src/runtime/signal_unix.go:881
friends-1  | 4  0x0000000000d3a1e3 in github.com/PretendoNetwork/friends/nex.registerCommonAuthenticationServerProtocols   
friends-1  |    at /home/go/app/nex/register_common_authentication_server_protocols.go:30
friends-1  | 5  0x0000000000d39fbd in github.com/PretendoNetwork/friends/nex.StartAuthenticationServer
friends-1  |    at /home/go/app/nex/authentication.go:24
friends-1  | 6  0x0000000000479ec1 in runtime.goexit
friends-1  |    at /usr/local/go/src/runtime/asm_amd64.s:1695
friends-1  | 2024-10-30T06:25:45Z debug layer=debugger detaching
friends-1  | 2024-10-30T16:51:54Z warning layer=rpc Listening for remote connections (connections are not authenticated nor encrypted)
friends-1  | 2024-10-30T16:51:54Z info layer=debugger launching process with args: [./server]
friends-1  | API server listening at: [::]:2345
friends-1  | 2024-10-30T16:51:54Z debug layer=debugger Adding target 12 "/home/go/app/server"
friends-1  | 2024-10-30T16:51:54Z debug layer=debugger continuing
friends-1  | 2024-10-30T16:51:54Z debug layer=debugger ContinueOnce
friends-1  | [2024-10-30T16:51:54] [WARNING]  [func 0() main.init/init.go:33] : Error loading .env file: open .env: no such file or directory
friends-1  |
friends-1  | [2024-10-30T16:51:54] [SUCCESS]  [func ConnectPostgres() github.com/PretendoNetwork/friends/database/connect_postgres.go:22] : Connected to Postgres!
friends-1  |
friends-1  | [2024-10-30T16:51:54] [SUCCESS]  [func initPostgresWiiU() github.com/PretendoNetwork/friends/database/init_postgres_wiiu.go:14] : [Wii U] Postgres schema created
friends-1  |
friends-1  | [2024-10-30T16:51:54] [SUCCESS]  [func initPostgresWiiU() github.com/PretendoNetwork/friends/database/init_postgres_wiiu.go:107] : [Wii U] Postgres tables created
friends-1  |
friends-1  | [2024-10-30T16:51:54] [SUCCESS]  [func initPostgres3DS() github.com/PretendoNetwork/friends/database/init_postgres_3ds.go:14] : [3DS] Postgres schema created
friends-1  |
friends-1  | [2024-10-30T16:51:54] [SUCCESS]  [func initPostgres3DS() github.com/PretendoNetwork/friends/database/init_postgres_3ds.go:53] : [3DS] Postgres tables created
friends-1  |
friends-1  | 2024/10/30 16:51:54 server listening at [::]:5001
friends-1  | 2024-10-30T16:51:54Z debug layer=debugger callInjection protocol on:
friends-1  | 2024-10-30T16:51:54Z debug layer=debugger  12 PC=0x4085e0
friends-1  | 2024-10-30T16:51:54Z debug layer=debugger  23 PC=0x47b6f7
friends-1  | 2024-10-30T16:51:54Z debug layer=debugger  25 PC=0x47bcc3
friends-1  | 2024-10-30T16:51:54Z debug layer=debugger  26 PC=0x47bcc3
friends-1  | 2024-10-30T16:51:54Z debug layer=debugger  29 PC=0x47bcc3
friends-1  | 2024-10-30T16:51:54Z debug layer=debugger  24 PC=0x47bcc3
friends-1  | 2024-10-30T16:51:54Z debug layer=debugger  27 PC=0x4088ae
friends-1  | 2024-10-30T16:51:54Z debug layer=debugger  28 PC=0x47bcc3
friends-1  | 2024-10-30T16:51:54Z debug layer=debugger  30 PC=0x443ec4
friends-1  |
friends-1  | ** execution is paused because your program is panicking **
friends-1  | To continue the execution please connect your client to the debugger.
friends-1  | Stack trace:
friends-1  | 0  0x0000000000443ec4 in runtime.fatalpanic
friends-1  |    at /usr/local/go/src/runtime/panic.go:1217
friends-1  | 1  0x0000000000442ebd in runtime.gopanic
friends-1  |    at /usr/local/go/src/runtime/panic.go:779
friends-1  | 2  0x000000000044213e in runtime.panicmem
friends-1  |    at /usr/local/go/src/runtime/panic.go:261
friends-1  | 3  0x000000000045bbe5 in runtime.sigpanic
friends-1  |    at /usr/local/go/src/runtime/signal_unix.go:881
friends-1  | 4  0x0000000000d3a1e3 in github.com/PretendoNetwork/friends/nex.registerCommonAuthenticationServerProtocols   
friends-1  |    at /home/go/app/nex/register_common_authentication_server_protocols.go:30
friends-1  | 5  0x0000000000d39fbd in github.com/PretendoNetwork/friends/nex.StartAuthenticationServer
friends-1  |    at /home/go/app/nex/authentication.go:24
friends-1  | 6  0x0000000000479ec1 in runtime.goexit
friends-1  |    at /usr/local/go/src/runtime/asm_amd64.s:1695
friends-1  | 2024-10-30T19:04:01Z debug layer=debugger detaching
friends-1  | 2024-10-31T03:37:34Z warning layer=rpc Listening for remote connections (connections are not authenticated nor encrypted)
friends-1  | 2024-10-31T03:37:34Z info layer=debugger launching process with args: [./server]
friends-1  | API server listening at: [::]:2345
friends-1  | 2024-10-31T03:37:35Z debug layer=debugger Adding target 12 "/home/go/app/server"
friends-1  | 2024-10-31T03:37:35Z debug layer=debugger continuing
friends-1  | 2024-10-31T03:37:35Z debug layer=debugger ContinueOnce
friends-1  | [2024-10-31T03:37:35] [WARNING]  [func 0() main.init/init.go:33] : Error loading .env file: open .env: no such file or directory
friends-1  |
friends-1  | [2024-10-31T03:37:35] [SUCCESS]  [func ConnectPostgres() github.com/PretendoNetwork/friends/database/connect_postgres.go:22] : Connected to Postgres!
friends-1  |
friends-1  | [2024-10-31T03:37:35] [SUCCESS]  [func initPostgresWiiU() github.com/PretendoNetwork/friends/database/init_postgres_wiiu.go:14] : [Wii U] Postgres schema created
friends-1  |
friends-1  | [2024-10-31T03:37:35] [SUCCESS]  [func initPostgresWiiU() github.com/PretendoNetwork/friends/database/init_postgres_wiiu.go:107] : [Wii U] Postgres tables created
friends-1  |
friends-1  | [2024-10-31T03:37:35] [SUCCESS]  [func initPostgres3DS() github.com/PretendoNetwork/friends/database/init_postgres_3ds.go:14] : [3DS] Postgres schema created
friends-1  |
friends-1  | [2024-10-31T03:37:35] [SUCCESS]  [func initPostgres3DS() github.com/PretendoNetwork/friends/database/init_postgres_3ds.go:53] : [3DS] Postgres tables created
friends-1  |
friends-1  | 2024/10/31 03:37:35 server listening at [::]:5001
friends-1  | [2024-10-31T03:37:35] [WARNING]  [func (*CommonProtocol).EnableInsecureLogin() github.com/PretendoNetwork/nex-protocols-common-go/v2/ticket-granting/protocol.go:31] : INSECURE LOGIN HAS BEEN ENABLED. THIS ALLOWS THE USE OF CUSTOM CLIENTS TO BYPASS THE ACCOUNT SERVER AND CONNECT DIRECTLY TO THIS GAME SERVER, EVADING BANS! USE WITH CAUTION!
friends-1  |
MatthewL246 commented 3 weeks ago

Thank you for sending the logs! I think this confirms that the whole issue is likely caused by the friends server crashing, although I'm not entirely sure why. I apologize for my lack of experience with Go.

If that's not the issue, I'm afraid I'm not sure what else to check.

SpringtrapISZ commented 3 weeks ago

I hadn't changed anything when I cloned your repo, so I'm unsure why it would fail like that... but yeah, I most certainly can check that. I also further apologize for any unneeded complications, and will fix any future ones as soon as I can :d

SpringtrapISZ commented 3 weeks ago

Yes, both lines are set, with seemingly random strings of characters. Are they supposed to contain something specific, or am I supposed to leave it as it is? I can provide any images or files, if necessary.

MatthewL246 commented 3 weeks ago

Yes, both lines are set, with seemingly random strings of characters.

Hmm, it sounds like everything is as it's supposed to be, then. I'm sorry, but I'm not sure what to check at this point. Everything looks like it should be working fine, except for the crash...

SpringtrapISZ commented 3 weeks ago

I suppose I can try to work the rest out myself... I still greatly appreciate all of your help, it has helped me get down to a lot of it. Thank you very much :)

Volcan4436 commented 2 weeks ago

Potentially add Alerts if a server crashes?

SpringtrapISZ commented 2 weeks ago

Update:

I have gotten the debugger to attach with VSCode, although it seems nothing is really happening with it. I noticed the secure.go file was actually around 0.20 kilobytes smaller than the one supplied here in the github repository, so I replaced it with that one, but it doesn't seem to have done anything so far. I also noticed at an unknown time, that the friends server was also returning the following upon requesting the friends server logs through docker:

friends-1  | 2024-11-14T18:12:35Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:35Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:35Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:35Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:35Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:35Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:35Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:35Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:35Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:35Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:38Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:38Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:38Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:38Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:38Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:38Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:38Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:38Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:38Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:12:38Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:32:29Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:32:29Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:32:29Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:32:29Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:32:29Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:32:29Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:32:29Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:32:29Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:32:29Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:32:29Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:39:00Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:39:00Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:39:00Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:39:00Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:39:00Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:39:00Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:39:00Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:39:00Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:39:00Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    
friends-1  | 2024-11-14T18:39:00Z error layer=rpc rpc:invalid character 'G' looking for beginning of value    

I am unsure where this had come from or what it means. I am still looking into it further.