Tag Archives: informal essay

[Solved] gateway Error: reactor.core.Exceptions$ErrorCallbackNotImplemented

The production environment is fine, but suddenly all front-end requests are cross-domain and the requests are 500. gateway reports an error.
reactor.core.Exceptions$ErrorCallbackNotImplemented:java.lang.IndexOutOfBoundsException: Index: 0, Size: 0. All interfaces are reported.
The reason is that the gateway also integrates with springboot-admin, which opens the actuator endpoint of the application, leading to a code injection attack

Solution: Use nginx to intercept the path directly, add the following configuration to conf, and reload nginx.

location /actuator {
    return 404;
}

 

[Solved] Matlab 2021b install activate Error: License manager error – 103

Error reporting:

Firstly, this error is not a problem with the installation or activation of MATLAB. Secondly, this occurs only when the remote desktop uses MATLAB.

Cause analysis:

This is because matlab uses FLEXlm for license management, while FLEXlm does not support remote desktop access. However, you can use the license file with a little modification.

(reprint the solution of the license manager error – 103 reported by MATLAB on the remote desktop)

Solution:

1. Enter the license file under r2021b\licenses:

2. Open with Notepad:

3. Ctrl + H enters the replacement window and replaces’ sign = ‘with’ ts’_OK SIGN=’:

After modification, save.

Directly open matlab again, you can succeed!

(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to

An error occurred while running redis today. The error information is as follows:

(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.

Redis is configured to save database snapshots, but it cannot be persisted to the hard disk at present. The command used to modify set data cannot be used. Please check the detailed error information in redis logs.

reason:

The redis snapshot cannot be persisted because it is forcibly closed.

Solution:

After running the config set stop writes on bgsave error no command, close the configuration item stop writes on bgsave error to solve the problem.

root@ubuntu :/usr/local/redis/bin# ./redis-cli
127.0.0.1:6379> config set stop-writes-on-bgsave-error no
OK
127.0.0.1:6379> lpush myColour “red”
(integer) 1

Git Error: error RPC failed; curl 56 OpenSSL SSL_read SSL_ERROR_SYSCALL, errno 10054

error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

Push times error

Push error after updating iconfont file

[the external chain image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-oz0myorq-163109850276) (C: \ users \ Kemeng \ appdata \ roaming \ typora \ user images \ image-20210907180245658. PNG)]

$ git push
Enumerating objects: 34, done.
Counting objects: 100% (34/34), done.
Delta compression using up to 8 threads
Compressing objects: 100% (19/19), done.
Writing objects: 100% (19/19), 27.61 KiB | 1.25 MiB/s, done.
Total 19 (delta 10), reused 0 (delta 0)
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date

First, try to modify the upload size limit

git config --global http.postBuffer 524288000

Adjust the postbuffer to 500m

Clone error

Error trying to ignore SSL certificate

git config --global http.sslVerify "false"