Category Archives: Error

[Solved] Git Clone Error: The TLS connection was non-properly terminated.

Operating system: Ubuntu 18.04

Test time: November 18, 2021

Problem Description:

Recently, the author encountered the following problems when downloading the repository on GitHub by using the GIT clone command, resulting in cloning failure

$ git clone https://github.com/pjreddie/darknet
Clone to 'darknet'...
fatal: unable to access 'https://github.com/pjreddie/darknet/': gnutls_handshake() failed: The TLS connection was non-properly terminated.

Solution:

Modify the HTTPS of the warehouse connection to git to clone

$ git clone https://github.com/pjreddie/darknet

[Solved] Win nvidia-smi Cann’t Use,Failed to initialize NVML: Unknown Error

The problem encountered is that NVIDIA SMI cannot be used. You can first refer to the solution. There is no nvsmi folder under C:\program files\NVIDIA Corporation

And add the path to the system path

After that, if failed to initialize nvml: unknown error appears

Stay C:\windows\system32 find the corresponding files above and copy them to the nvmsi directory for replacement

[Solved] NPM Error: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed

Problem Description:

Resolve NPM exception: fatal error: ineffective mark compacts near heap limit allocation failed

Solution:

1. Delete the. Npmrc file under C:\users {account}\.
2. Clean it directly with the command. Enter
NPM cache clean – force
3 on the CMD console, or clean it directly with the command. Enter cnpm install – G increase memory limit on the CMD console, and then increase memory limit

when running the Vue project, no error will be reported

[Solved] Error occurred during connect to primary: exception 3000301: Connection could not be established

Problem:
the Hana system replication standby machine cannot take over the host, and the Hana host can be used normally.

The following errors are reported in the trace file:
SR_dataaccess DisasterRecoverySecondaryImpl.cpp(00882) : Error occurred during connect to primary: exception 3000301: Connection could not be established

Solution:
this problem is generally caused by a network problem between the active and standby computers
for the above error reports, you can first check whether the 3xx00-3xx99 port segment of the standby machine to the host is occupied or blocked.

[Solved] Redis Error: creating server tcp listening socket 127.0.0.1:6379: bind No error

Error when starting redis service under window:
Creating server TCP listening socket 127.0.0.1:6379: bind no error
solution

    before starting redis, make sure to switch to the redis installation directory. If the environment variable is configured, it can be ignored. Enter the following command redis-cli.exeshutdownexitredis-server.exe redis .windows.conf

[Solved] Mac Unity Export Android Project Error: Error building Player: Win32Exception

Error building Player: Win32Exception: ApplicationName=’/Applications/Unity/Hub/Editor/2019.3.0a6/PlaybackEngines/AndroidPlayer/SDK/tools/bin/sdkmanager’, CommandLine=’–list’,

Solution:

1. Copy the SDK manager with errors to any place

2. Delete the sdkmanager under the error path

3. Put back the copied SDK manager

[Solved] push declined due to email privacy restrictions (GH007 error code)

Push trusted due to email privacy restrictions (gh007 error code) solution

An error is reported when pushing the local warehouse to GitHub:

exception information:

! [remote rejected] master -> master (push declined due to email privacy restrictions)

Exception reason: when configuring git, the author’s email information is set, triggering GitHub privacy protection settings: block command line pushes that expose my email

Solution:

Turn off block command line pushes that expose my email:

Many people choose to turn off the email setting option block command line pushes that expose my email in GitHub; It’s rude, but it’s not recommended.

Personal recommendation:

Change the email address of GIT configuration: if you don’t want to turn off the above settings, you can solve it by modifying email:

1. Use the command to view the current global user email: git config — global user.email

2. Find GitHub recommended email: in setting — & gt; Email –> Email under keep my email private; The format is: ID+ [email protected]

3. Reset global user email: git config — global user.email “recommended email from GitHub”

4. Reset last submitted author information git commit — amend — reset author

After entering the command, enter VI mode (GIT default editor);

5. Resubmit git push