github-for-unity / Unity

GitHub for Unity
https://unity.github.com/
MIT License
3.02k stars 448 forks source link

Request lock fails (probably general connection issue) #1094

Closed BlurEffect closed 1 year ago

BlurEffect commented 4 years ago

Description

Hi everybody, I have added the Github for Unity plugin to one of my projects (which was already under source control) but it seems there are some severe issues and I cannot make it work properly. My repository is not on GitHub but on Bitbucket within a corporate environment (my guess is that's where the problems start) and I am using Unity 2019.3 (but I'm having the same issue with 2019.2). We mostly want to use the plugin to be able to conveniently use the git lfs locking mechanism but everytime I request a lock, I'm getting an error message that the connection attempt failed.

GitHubForUnityRequestLock

I also checked the log (attached below) and it seems there are some general connection issues. The weird bit is this: I also have a laptop that is operated from within the same corporate network as my other computer and I am not having these kind of issues on that one. It seems to connect fine and I can set locks from within Unity. I am possibly still having a problem with locking on the laptop but I will file a separate issue for that. On the computer with the connection issues, source control with the repo generally works perfectly and I can lock files using the command line. So, it's not a general git issue. Due to the corporate environment, there is a proxy in place but my gitconfig is configured accordingly and, as mentioned, the git stuff works fine on the command line and some other git clients. Do yoo have any idea what might be causing the issue, are there some additional settings I have to configure for the plugin to make it work? Thank you very much in advance, I hope you can provide some assistance.

Steps to Reproduce

  1. Request lock

Expected behavior: Requested lock is set

Actual behavior: Request lock fails

Reproduces how often: Every time

Additional Information

Here is the log file (I removed the part with the environment variables and changed the repo url/name:

log.log