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

Occured unhandled exception when authorizing #123

Closed
2 tasks done
HenryWu01 opened this issue Apr 22, 2022 · 96 comments
Closed
2 tasks done

Occured unhandled exception when authorizing #123

HenryWu01 opened this issue Apr 22, 2022 · 96 comments
Assignees
Labels
bug This issue is related to a bug in the app. good first issue The author's first issue. more info This issue/PR needs more infomation.

Comments

@HenryWu01
Copy link

Before you start...

  • Have you updated the FluentHub? You might be using an old version.
  • Have you checked if similar issue have already been reported?

What windows are you seeing the problem on?

Windows 11

What FluentHub version/architecture are you seeing the problem on?

It's the newest from the default branch, I could not get into about page since login is required.

Description

image
image
image

Steps To Reproduce

1.Start setup
2.Follow to Github and complete authorization
3.Callback to FluentHub and crash

Expected behavior

No crash, successfully got into the main page.

Relevant Assets

No response

@HenryWu01 HenryWu01 added the bug This issue is related to a bug in the app. label Apr 22, 2022
@0x5bfa
Copy link
Owner

0x5bfa commented Apr 22, 2022

can you give us log file?(C:\Users\USERNAME\AppData\Local\Packages\FluentHubDev_9es9q7t8fr9b8\LocalState)

@0x5bfa 0x5bfa added more info This issue/PR needs more infomation. Pri: High good first issue The author's first issue. labels Apr 22, 2022
@HenryWu01
Copy link
Author

Sure, here is the log.
Log20220422.log

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 22, 2022

it's unclear little bit. An error occurred while sending the request this error happen somethimes with no internet. but I am tracking this issue.

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 22, 2022

I am adding log more to make sure know where error or exception occured in now branch, so can you give me log again after merged that branch?

@HenryWu01
Copy link
Author

Can you give me the branch name? I did not found it

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 22, 2022

I'm working on issue/PR event getters, so I will add on this: issuepr-events branch.

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 22, 2022

added now first commit about this. can you check out, build, and, give me log?

@HenryWu01
Copy link
Author

Sure, I will check it out now.

@HenryWu01
Copy link
Author

Here is the log.
Log20220422.log

@0x5bfa 0x5bfa added the help wanted This issue/PR needs help. label Apr 22, 2022
@0x5bfa
Copy link
Owner

0x5bfa commented Apr 22, 2022

ah, I cannot fix right away. it takes long time to fix. sorry but this is first priority!

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 22, 2022

just checking, can you build with two breakpoint?

here
image

maybe your machine through first breakpoint but please check these value not null

image

@HenryWu01
Copy link
Author

Sure, please wait a minute.

@HenryWu01
Copy link
Author

image
No, there all have value

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 22, 2022

ohh very compacated 🤯. confusing...

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 22, 2022

do you have here's?

image

@HenryWu01
Copy link
Author

No, I only have this one:
image

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 22, 2022

it seems that method fails when creating access token in HttpClient().

@HenryWu01
Copy link
Author

Wired...I will have a look too

@HenryWu01
Copy link
Author

You're right, it crashes when executing CreateAccessToken function.

@HenryWu01
Copy link
Author

The error message is 安全频道支持出错, which I think might be related to TLS version?

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 22, 2022

FYI https://stackoverflow.com/questions/21354992/an-error-occurred-in-the-secure-channel-support-classic-asp-http-request

maybe true and is not FluentHub problem. this is caused in HttpClient

@HenryWu01
Copy link
Author

Might be related to .NET's HttpClient, Windows 11 or OctoKit, got not idea to resolve this issue. All information available is for VB, ASP, etc.

@HenryWu01
Copy link
Author

Do you have like a release version of FluentHub? I want to try that out to eliminate some possibilities.

@BobbyESP BobbyESP pinned this issue Apr 22, 2022
@0x5bfa
Copy link
Owner

0x5bfa commented Apr 26, 2022

ok. still open this. if there'll be more info, let me know.

@hedhehd
Copy link

hedhehd commented Apr 26, 2022

image
This isn't right...

@hedhehd
Copy link

hedhehd commented Apr 26, 2022

This is vs 2022

@hedhehd
Copy link

hedhehd commented Apr 26, 2022

Which vs do I have to use?

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 26, 2022

yes, 2022.

  1. set breakpoints
  2. build
  3. get value

@hedhehd
Copy link

hedhehd commented Apr 26, 2022

Breakpoints can't be set there

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 26, 2022

you did not update latest branch, you need fetch

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 26, 2022

i will sleep

@hedhehd
Copy link

hedhehd commented Apr 26, 2022

Okay

@grumpy-photographer
Copy link

image It stay's like this for 5 seconds and then it crashes

I can replicate this. I'll send over what I have

@hedhehd
Copy link

hedhehd commented Apr 26, 2022

IT WORKED

@hedhehd
Copy link

hedhehd commented Apr 26, 2022

I UPDATED IT

@hedhehd
Copy link

hedhehd commented Apr 26, 2022

Issue is closed

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 26, 2022

@nathayoung App does work in your machine (if not, pls fetch first)?

@grumpy-photographer
Copy link

grumpy-photographer commented Apr 26, 2022

@nathayoung App does work in your machine?

just fetched. on the main branch and not getting any new stuff. I even moved to an entirely new machine and started completely over. This is crazy 😂

image

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 26, 2022

okay.. do you get issue even though?

do you have vs2022? can you send me a screenshot of branch manager from visual studio?

@grumpy-photographer
Copy link

Yup. Just installed it on my machine. is this what you want:
image

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 26, 2022

Nice. it's up-to-date. can you build and launch?

@grumpy-photographer
Copy link

I'll send a video shortly

@0x5bfa 0x5bfa self-assigned this Apr 26, 2022
@0x5bfa 0x5bfa removed the help wanted This issue/PR needs help. label Apr 26, 2022
@grumpy-photographer
Copy link

Here's what's happening for me...

FluentHub_Deploy_123.mp4

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 26, 2022

What.. very confusing. can you track with setting breakpoint?

@grumpy-photographer
Copy link

I can but first it gave me a suggested action to install System.Runtime. I might have missed an installation on setup. Let me try again with that installed.

That worked. Finally! Thanks for the support! I apologize for my incompetence 😂
image

@0x5bfa
Copy link
Owner

0x5bfa commented Apr 26, 2022

All right. All issues have been resolved. We will lock this conversation because it've been overheated. If you guys have any issues, let us know in other issue.

Repository owner locked as too heated and limited conversation to collaborators Apr 26, 2022
@0x5bfa
Copy link
Owner

0x5bfa commented Apr 26, 2022

And if you want to unlock/reopen, let us know in discord.

@0x5bfa 0x5bfa changed the title Cannot launch app Occured unhandled exception when authorizing Apr 26, 2022
Repository owner unlocked this conversation May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is related to a bug in the app. good first issue The author's first issue. more info This issue/PR needs more infomation.
Projects
None yet
Development

No branches or pull requests

5 participants