talos-bots / TalOS-Reborn

LLM Powered discord bot, Character Card enabled Chat page, Stable Diffusion discord bot, and overall AI tool. All from one app, TalOS: Reborn.
GNU General Public License v3.0
23 stars 7 forks source link

[Bug] Error Signing In! #2

Closed alicat22 closed 9 months ago

alicat22 commented 10 months ago

Describe the bug Even when creating a new account, am unable to sign in. I was able to sign in earlier, but after interacting with the bot, I was logged out and then unable to sign in again. Using a previous account or a new account, both are unable to log in.

Expected behavior Logging in with a previous account or a new account should allow you to sign in.

Screenshots image

Desktop (please complete the following information):

Additional context Console: https://gist.github.com/alicat22/fd02780fbe2e1774e2e2f02289cdffb1 Browser Log: https://gist.github.com/alicat22/fcb58d1fe433ff41cd69799f64432e44

alicat22 commented 10 months ago

Deleted TalOS folder in AppData and the issue still occurs. If not immediately, after switching tabs and refreshing. Same error as above.

alicat22 commented 10 months ago

Doesn't always happen, but switching tabs in the UI and refreshing can increase the odds of it happening.

LumiWasTaken commented 10 months ago

@alicat22 Does it still happen?

Can you show me the headers of the Error? For example: image

What about the console?

Did you try a different browser?

alicat22 commented 10 months ago

@alicat22 Does it still happen?

This is no longer happening, but if it does, I can grab the header! I also have the HAR, but did not upload since I'm unsure if that contains private information, but I can send that to @thesentinel2615

alicat22 commented 10 months ago

image image

[1]   system_prompt: "[Sydney's personality: sarcastic, casual, smug, cynical, snide, evil, sardonic, funny, passive-aggressive, clever, friendly, casual; Gender: female; Important: Keep responses concise. Always remember past responses before you respond.]",
[1]   post_history_instructions: '',
[1]   tags: '[object Object]',
[1]   creator: '1',
[1]   visual_description: '',
[1]   thought_pattern: '',
[1]   first_mes: '',
[1]   alternate_greetings: '[object Object]',
[1]   scenario: ''
[1] }
[0] 12:12:19 AM [vite] ws proxy error:
[0] Error: read ECONNRESET
[0]     at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
[0] 12:12:20 AM [vite] http proxy error at /socket.io/?EIO=4&transport=polling&t=OqrAQzP:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:23 AM [vite] http proxy error at /socket.io/?EIO=4&transport=polling&t=OqrARiE:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:27 AM [vite] http proxy error at /socket.io/?EIO=4&transport=polling&t=OqrASgp:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:33 AM [vite] http proxy error at /socket.io/?EIO=4&transport=polling&t=OqrAU8b:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:39 AM [vite] http proxy error at /socket.io/?EIO=4&transport=polling&t=OqrAVcJ:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:45 AM [vite] http proxy error at /socket.io/?EIO=4&transport=polling&t=OqrAX3x:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:46 AM [vite] http proxy error at /api/discordManagement/isConnected:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:46 AM [vite] http proxy error at /api/discordManagement/isConnected:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:51 AM [vite] http proxy error at /socket.io/?EIO=4&transport=polling&t=OqrAYXh:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:52 AM [vite] http proxy error at /api/discordManagement/isConnected:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:52 AM [vite] http proxy error at /api/discordManagement/isConnected:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:54 AM [vite] http proxy error at /api/discordManagement/start:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:54 AM [vite] http proxy error at /api/discordManagement/isConnected:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:56 AM [vite] http proxy error at /socket.io/?EIO=4&transport=polling&t=OqrAZm2:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:57 AM [vite] http proxy error at /api/discordManagement/isConnected:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:12:57 AM [vite] http proxy error at /api/discordManagement/isConnected:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:02 AM [vite] http proxy error at /socket.io/?EIO=4&transport=polling&t=OqrAb5y:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /images/1705540621254_7.png:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /images/1705540621254_7.png:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /api/discordConfigs:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /api/discordManagement/isConnected:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /api/discordDefaults:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /api/characters:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /api/rooms/:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /api/me:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /images/1705540621254_7.png:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /api/discordConfigs:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /api/discordManagement/isConnected:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /api/discordDefaults:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /api/characters:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /api/rooms/:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:05 AM [vite] http proxy error at /api/me:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:06 AM [vite] http proxy error at /api/login:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:15 AM [vite] http proxy error at /api/discordManagement/isConnected:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:15 AM [vite] http proxy error at /api/discordManagement/isConnected:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:21 AM [vite] http proxy error at /api/login:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:13:25 AM [vite] http proxy error at /api/discordManagement/isConnected:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
alicat22 commented 10 months ago

Happens pretty consistently after using /swapchar and disabling constructs.

alicat22 commented 9 months ago

Commit: 9adb489156c7f1af4afcc360dd4fdeac7510133c

Steps to reproduce:

1) git pull 2) npm install 3) npm run build-react 4) Visit http://localhost:5173/login 5) Click Sign in to your account 6) See console for error

image

12:24:21 AM - Starting compilation in watch mode...
[1]
[1] routes/llms.ts(185,24): error TS1005: '(' expected.
[1] routes/llms.ts(185,53): error TS1005: ',' expected.
[1] routes/llms.ts(185,67): error TS1011: An element access expression should take an argument. 
[1] routes/llms.ts(185,83): error TS1005: ',' expected.
[1] routes/llms.ts(185,113): error TS1005: ',' expected.
[1] routes/llms.ts(185,144): error TS1005: ',' expected.
[1] routes/llms.ts(185,153): error TS1011: An element access expression should take an argument.
[1] routes/llms.ts(185,169): error TS1109: Expression expected.
[1] routes/llms.ts(185,190): error TS1005: ';' expected.
[1]
[1] 12:24:25 AM - Found 9 errors. Watching for file changes.
[0] 
[0] warn - The `purge`/`content` options have changed in Tailwind CSS v3.0.    
[0] warn - Update your configuration file to eliminate this warning.
[0] warn - https://tailwindcss.com/docs/upgrade-guide#configure-content-sources
[0] 
[0] 🌼   daisyUI 4.5.0
[0] ├─ ✔︎ prefix is enabled             daisyUI classnames must use dy- prefix
[0] ├─ ✔︎ 32 themes added               https://daisyui.com/docs/themes
[0] ╰─ ❤︎ Support daisyUI project:      https://opencollective.com/daisyui
[0]
[0] 
[0] 🌼   daisyUI 4.5.0
[0] ├─ ✔︎ prefix is enabled             daisyUI classnames must use dy- prefix
[0] ├─ ✔︎ 32 themes added               https://daisyui.com/docs/themes
[0] ╰─ ❤︎ Support daisyUI project:      https://opencollective.com/daisyui
[0]
[0] 12:24:44 AM [vite] http proxy error at /api/me:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:24:44 AM [vite] http proxy error at /api/me:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:24:45 AM [vite] http proxy error at /api/login:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:24:51 AM [vite] http proxy error at /api/login:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:07 AM [vite] http proxy error at /api/register:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:07 AM [vite] http proxy error at /api/appSettings/admins:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:07 AM [vite] http proxy error at /api/stats/users:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:07 AM [vite] http proxy error at /api/appSettings/admins:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:07 AM [vite] http proxy error at /api/stats/users:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:11 AM [vite] http proxy error at /api/login:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:15 AM [vite] http proxy error at /api/login:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:17 AM [vite] http proxy error at /api/stats/users:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:17 AM [vite] http proxy error at /api/stats/users:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:19 AM [vite] http proxy error at /api/login:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:28 AM [vite] http proxy error at /api/stats/users:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:28 AM [vite] http proxy error at /api/stats/users:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:38 AM [vite] http proxy error at /api/stats/users:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:38 AM [vite] http proxy error at /api/stats/users:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:48 AM [vite] http proxy error at /api/stats/users:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0] 12:25:48 AM [vite] http proxy error at /api/stats/users:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:58 AM [vite] http proxy error at /api/stats/users:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:25:58 AM [vite] http proxy error at /api/stats/users:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[1] Terminate batch job (Y/N)? ^Cvite --host exited with code 3221225786
12:26:01 AM - Starting compilation in watch mode...
[1]
[0] 
[0] warn - The `purge`/`content` options have changed in Tailwind CSS v3.0.    
[0] warn - Update your configuration file to eliminate this warning.
[0] warn - https://tailwindcss.com/docs/upgrade-guide#configure-content-sources
[0] 
[0] 🌼   daisyUI 4.5.0
[0] ├─ ✔︎ prefix is enabled             daisyUI classnames must use dy- prefix
[0] ├─ ✔︎ 32 themes added               https://daisyui.com/docs/themes       
[0] ╰─ ★ Star daisyUI on GitHub https://github.com/saadeghi/daisyui
[0]
[0] 
[0] 🌼   daisyUI 4.5.0
[0] ├─ ✔︎ prefix is enabled             daisyUI classnames must use dy- prefix
[0] ├─ ✔︎ 32 themes added               https://daisyui.com/docs/themes       
[0] ╰─ ❤︎ Support daisyUI project:      https://opencollective.com/daisyui    
[0]
[0] 12:26:05 AM [vite] http proxy error at /api/me:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[0] 12:26:05 AM [vite] http proxy error at /api/me:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)
[1] routes/llms.ts(185,24): error TS1005: '(' expected.
[1] routes/llms.ts(185,53): error TS1005: ',' expected.
[1] routes/llms.ts(185,67): error TS1011: An element access expression should take an argument.
[1] routes/llms.ts(185,83): error TS1005: ',' expected.
[1] routes/llms.ts(185,113): error TS1005: ',' expected.
[1] routes/llms.ts(185,144): error TS1005: ',' expected.
[1] routes/llms.ts(185,153): error TS1011: An element access expression should take an argument.
[1] routes/llms.ts(185,169): error TS1109: Expression expected.
[1] routes/llms.ts(185,190): error TS1005: ';' expected.
[1]
[1] 12:26:06 AM - Found 9 errors. Watching for file changes.
[0] 12:26:33 AM [vite] http proxy error at /api/login:
[0] AggregateError
[0]     at internalConnectMultiple (node:net:1114:18)
[0]     at afterConnectMultiple (node:net:1667:5)

image image

Additional context

I also attempted to create a new account and sign into that and this did not work either and resulted in the same error.

alicat22 commented 9 months ago

Created a new repo (started fresh) and was able to log in just fine!

It's possible there was something wrong with my version, but I'm unable to reproduce now.

Will reopen if another issue with the log-in system happens!