Unity icon indicating copy to clipboard operation
Unity copied to clipboard

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

Open B33bo opened this issue 4 years ago • 8 comments

Prerequisites

The log file says 211113-14:57:06.441 INFO [ 1] <Global> 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 avatar Nov 13 '21 15:11 B33bo

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

B33bo avatar Nov 13 '21 15:11 B33bo

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

mkniller avatar Nov 17 '21 20:11 mkniller

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

penseurai avatar Nov 19 '21 02:11 penseurai

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

B33bo avatar Nov 20 '21 18:11 B33bo

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 "

WickyPayne avatar Dec 24 '21 11:12 WickyPayne

I've submited a pull request with a fix https://github.com/github-for-unity/Unity/pull/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

chantzish avatar Jan 13 '22 18:01 chantzish

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

venetsia avatar Feb 07 '22 12:02 venetsia

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.

jmgawecki avatar Feb 27 '22 20:02 jmgawecki

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 avatar Oct 19 '22 17:10 shana