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

Failed to parse request. Authentication failed.: Token is not valid yet #33

Open
georgeok opened this issue Mar 22, 2020 · 3 comments
Open
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@georgeok
Copy link

When running the echo sample, I am getting an error:

Failed to parse request. Authentication failed.: Token is not valid yet

This happens when I use go run. When I am attaching a debugger and add a break point on

activity, err := ht.Adapter.ParseRequest(ctx, req)

then it works as expected. Seems like a race condition is preventing the authentication. This happens on go1.13.4 windows/amd64. I am sure that AppID and AppPassword are correct.

@sanketsudake sanketsudake added the bug Something isn't working label May 1, 2020
@sanketsudake sanketsudake added good first issue Good for newcomers help wanted Extra attention is needed and removed good first issue Good for newcomers labels Oct 1, 2020
@Cyntaax
Copy link

Cyntaax commented Aug 12, 2021

Ever find a solution to this? I am experiencing the same thing on go1.16.7 windows/amd64

Really seems like a race condition, but I can't see where that would even come into being an issue.

@Cyntaax
Copy link

Cyntaax commented Aug 12, 2021

To expand on this further, after digging into it more, it looks like the nbf property in the claims coming from the chat request is about 5-6 seconds ahead of time.Now

@HariKrizz
Copy link

I'm on Go 1.18.1 and still have this issue. Anyone got a fix for this??

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

No branches or pull requests

4 participants