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] Cannot create account, get an exception #500

Open
Esildor opened this issue Jan 2, 2025 · 5 comments
Open

[Bug] Cannot create account, get an exception #500

Esildor opened this issue Jan 2, 2025 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Esildor
Copy link

Esildor commented Jan 2, 2025

Describe the bug
Just reformatted my computer and reinstalled this app. Now I can't add/create accounts. See video and logs below

Expected behavior
No exceptions

Screenshots
Video

Additional context
Enabled dev settings and exported the logs. Here's the resulting file:

2025-01-02 16:10:25.987 -05:00 [INF] [Wino Launch] OnLaunched -> LaunchActivatedEventArgs, Kind -> Launch, PreviousExecutionState -> Terminated, IsPrelaunch -> False
2025-01-02 16:10:26.121 -05:00 [INF] [Wino Launch] Window activated
2025-01-02 16:10:45.537 -05:00 [INF] Server connection status changed to "Connecting".
2025-01-02 16:10:45.760 -05:00 [ERR] Failed to connect to the server.
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x7e
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x53
   at Wino.Core.UWP.Services.WinoServerConnectionManager.<ConnectAsync>d__20.MoveNext() + 0x277

2025-01-02 16:10:46.168 -05:00 [INF] Server connection status changed to "Failed".
2025-01-02 16:10:46.168 -05:00 [ERR] AccountCreation
System.NullReferenceException: Object reference not set to an instance of an object.
   at Wino.Mail.ViewModels.AccountManagementViewModel.<AddNewAccountAsync>d__5.MoveNext() + 0x839```
@Esildor Esildor added the bug Something isn't working label Jan 2, 2025
@bkaankose
Copy link
Owner

It's weird that server process access is denied. Do you have some sort of anti-virus or some Windows policy that may interfere with this connection?

@Esildor
Copy link
Author

Esildor commented Jan 2, 2025

The only anti-virus I have is Windows Security and I haven't changed any Windows policy to my knowledge.

@bkaankose
Copy link
Owner

What is your Windows version and processor architecture?

@Esildor
Copy link
Author

Esildor commented Jan 2, 2025

OS Name: Microsoft Windows 11 Home
Version: 10.0.26100 Build 26100
Processor: 12th Gen Intel(R) Core(TM) i7-12800H, 2400 Mhz, 14 Core(s), 20 Logical Processor(s)

Also, after launching again launching again and clicking around the settings, I got a crash. Probably related. Here's the log:
Client_20250102.log

@AdamKhattabSolutions
Copy link

I got the same issue and I got it for 3 reasons:

  1. I was using blend for visual studio
  2. I was running Wino.mail and not Wino.packaging
  3. avast was blocking it from opening the dialogue box for the account selector

To make it work, please make sure you are using normal visual studio and not Blend for visual studio, make sure you select Wino.packaging with the correct CPU selected (do not select any CPU) and try and disable windows security or any other antivrus you have.
Ideally you would want this cofiguration but make sure you select your CPU correctly
image

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

3 participants