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

I get an error when I sign in (unity 2020.3.14f1 personal) #1157

Closed
B33bo opened this issue Nov 13, 2021 · 9 comments
Closed

I get an error when I sign in (unity 2020.3.14f1 personal) #1157

B33bo opened this issue Nov 13, 2021 · 9 comments

Comments

@B33bo
Copy link

B33bo commented Nov 13, 2021

Prerequisites

The log file says
211113-14:57:06.441 INFO [ 1] Initializing GitHubForUnity:'v1.4.0' Unity:'v2020.3.14f1'

Description

When I type my username & password I get "HttpError: write EPROTO 101057795:error:1408D07B:SSLroutines:ssl3_get_key_excgabfe:badsignature:openssl\ssl\s3_cint.c:2032:"

when I sign in with browser I get an empty webpage with address "http://localhost:42424/callback?code=02a5c1d86ad274cb9723&state=fa7ed7ff-6c3e-4c23-be09-ec638357e338"

and inside the (ms edge) console it says "Failed to load resource: the server responded with a status of 400 (Bad Request)"

Steps to Reproduce

  1. go to https://unity.github.com/ and press the download button
  2. try sign in

Expected behavior: sign in

Actual behavior: error

Reproduces how often: whenever I try to log in

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.
Unity 2020.3.14f1 Personal
image

@B33bo
Copy link
Author

B33bo commented Nov 13, 2021

by 'download button', I mean 'Download GitHub for Unity 1.4.0'

@mkniller
Copy link

I am getting the same behavior except I am seeing this error:
image

@blockimperiumdao
Copy link

Same. Doesn't work for me - getting Error validating token

@B33bo
Copy link
Author

B33bo commented Nov 20, 2021

I think the devs have given up on this project :(

@WickyPayne
Copy link

same issue here cant login to GitHub

Both using credentials or via web authentication.

Unity 2020.3.25.f1

github-unity.log

211224-12:19:53.771  INFO [ 1] <Global>                            Initializing GitHubForUnity:'v1.4.0' Unity:'v2020.3.25f1'
211224-12:22:53.731  WARN [43] <UsageTracker>                      Error sending usage:"System.Exception" Message:"System.Exception: Post Usage failed: Error: write EPROTO 101057795:error:04091068:rsa routines:INT_RSA_VERIFY:bad signature:openssl\crypto\rsa\rsa_sign.c:278:
101057795:error:1408D07B:SSL routines:ssl3_get_key_exchange:bad signature:openssl\ssl\s3_clnt.c:2032:

  at GitHub.Unity.MetricsService.PostUsage (System.Collections.Generic.List`1[T] model) [0x000db] in C:\projects\unity\script\src\MetricsService.cs:59 
  at GitHub.Unity.UsageTrackerSync.SendUsage () [0x000f5] in C:\projects\unity\src\GitHub.Api\Metrics\UsageTracker.cs:111 "

@chantzish
Copy link

chantzish commented Jan 13, 2022

I've submited a pull request with a fix #1160 but it doesn't look like they are going to merge it anytime soon so you can just fix it manually.

replace line 16:
type: "oauth"
with:
type: "token"

in %userprofile%\AppData\Local\GitHubUnity\octorun\src\api.js

@venetsia
Copy link

venetsia commented Feb 7, 2022

It does not work for me either. I get the "Error validating token" as well.

@jmgawecki
Copy link

Hi. I am also getting an error of this type. When trying to log in with the username and the password, I am getting "Not Found"
When logging in with the browser, I am getting an empty page and "Error Validating Token"

I am working from Unity for Mac Silicon on Macbook 13 pro M1. Thanks for the help.

@shana
Copy link
Member

shana commented Oct 19, 2022

This project is not maintained anymore. The replacement is Git for Unity, at https://github.com/spoiledcat/git-for-unity. If you have GitHub for Unity in your project, remove it first and then install the Git for Unity package, see the README in the link for instructions.

@shana shana closed this as completed Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants