Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: TypeError: Cannot read properties of undefined (reading 'user') #677

Open
Addthisplease opened this issue Jan 27, 2025 · 3 comments
Open
Labels
bug Something isn't working

Comments

@Addthisplease
Copy link

Addthisplease commented Jan 27, 2025

What happened?

When running the app with yarn it starts but when i try to login to website it throws this

TypeError: Cannot read properties of undefined (reading 'user')
    at l (C:\Users\jondoe\zipline\.next\server\pages\api\auth\login.js:1:2824)
    at C:\Users\jondoe\zipline\.next\server\chunks\78689.js:2:2386
    at C:\Users\jondoe\zipline\node_modules\next\dist\compiled\next-server\pages-api.runtime.prod.js:20:16566
    at C:\Users\jondoe\zipline\node_modules\next\dist\server\lib\trace\tracer.js:131:36
    at NoopContextManager.with (C:\Users\jondoe\zipline\node_modules\@opentelemetry\api\build\src\context\NoopContextManager.js:25:19)
    at ContextAPI.with (C:\Users\jondoe\zipline\node_modules\@opentelemetry\api\build\src\api\context.js:60:46)
    at NoopTracer.startActiveSpan (C:\Users\jondoe\zipline\node_modules\@opentelemetry\api\build\src\trace\NoopTracer.js:65:31)
    at ProxyTracer.startActiveSpan (C:\Users\jondoe\zipline\node_modules\@opentelemetry\api\build\src\trace\ProxyTracer.js:36:24)
    at C:\Users\jondoe\zipline\node_modules\next\dist\server\lib\trace\tracer.js:120:103
    at NoopContextManager.with (C:\Users\jondoe\zipline\node_modules\@opentelemetry\api\build\src\context\NoopContextManager.js:25:19) 

My system info
Windows 11
Yarn Version : 3.3.1
Node Version : v18.16.1

thanks!

Version

latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)

What browser(s) are you seeing the problem on?

Chromium-based (Chrome, Edge, Brave, Opera, mobile chrome/chromium based, etc)

Zipline Logs

Browser Logs

Uncaught (in promise) TypeError: Failed to fetch
    at n (login-1394f4cf60cf5bc6.js:1:20957)
    at A (login-1394f4cf60cf5bc6.js:1:22488)
    at login-1394f4cf60cf5bc6.js:1:24278
    at push.77248.G.onSubmit (77248-6e1940a6eb854b92.js:1:7840)
    at Object.eU (framework-ce11a3e4adbecdb7.js:9:14910)
    at eH (framework-ce11a3e4adbecdb7.js:9:15064)
    at framework-ce11a3e4adbecdb7.js:9:33370
    at re (framework-ce11a3e4adbecdb7.js:9:33469)
    at rn (framework-ce11a3e4adbecdb7.js:9:33883)
    at framework-ce11a3e4adbecdb7.js:9:39339

        
    POST http://localhost:3000/api/auth/login net::ERR_CONNECTION_REFUSED

Additional Info

No response

@Addthisplease Addthisplease added the bug Something isn't working label Jan 27, 2025
@Addthisplease
Copy link
Author

It does work when you use docker though

@Addthisplease
Copy link
Author

anyone got a fix?

@diced
Copy link
Owner

diced commented Feb 1, 2025

anyone got a fix?

no idea, if it's giving a connection refused error then it might have crashed

i would recommend docker though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants