Year: 2022
-
Post Views: 16 1. Since in Windows 10, the setting of the maximum number of seconds (timeout time) that the task can perform does not take effect. Therefore, it is decided to test this feature in the online Linux server. 2. Add: sleep(1200); to the handle() method of the job; because $timeout = 600; , it is expected that it…
-
Post Views: 18 1. Since in Windows 10, the setting of the maximum number of seconds (timeout time) that the task can perform does not take effect. Therefore, it is decided to test this feature in the online Linux server. 2. Add: sleep(1200); to the handle() method of the job; because $timeout = 600; , it is expected that it…
-
Post Views: 16 1. After enabling 2FA two-factor authentication, git.exe pull –progress -v –no-rebase “origin” Remote: HTTP Basic: Access Denied Remote: You must use a personal access token withREAD_REpositoryOrwrite_repositoryScope for git over http. Remote: You can generate one athttps://xxx.com/-/profile/personal_access_tokens Fatal: Authentication failed forhttps://xxx.com/xgrit/object.git/ Git failed to end smoothly (exit code 1) (5344 ms @ 2022/6/29 10:42:11). as shown in Figure…
-
Post Views: 18 1. When pushing to github in TortoiseGit, an error is reported: Fatal: Unable to accesshttps://github.com/shuijingwan/refactoring.git/: Failed to connect to github.com port 443 after 21049 MS: timed out. as shown in Figure 1 2. In the push interface, uncheck the automatic Putty key (A). as shown in Figure 2 3. When pushing, no more errors are reported. as…
-
Post Views: 21 1. In a queue task, you need to download the zip file first, and then decompress it. Now, after the decompression is successful, you need to delete the downloaded zip file. Now implemented. 2. When the decompression fails: call to undefined function modules\themestoredb\handlers\checkhere(), you also need to delete the corresponding zip file, you need to Failed(Exception $Exception)…
-
Post Views: 16 1. In Laravel Framework 6.20.44, Nuwave/Lighthouse V5.52.1, an error is reported: Argument 1 Passed to App\\Exceptions\\Handler::report() must be an instance of exception, instance of error given, called in E:\WWRoot\\Object\Vendor\\nuwave\Lighthouse\src\execution\\reportingErrorHandler.php on line 39. as shown in Figure 1 2. Reference:https://www.shuijingwanwq.com/en/2022/01/26/9945/. The root cause is that the framework is not compatible with the extended version. However, it is now…
-
Post Views: 19 1. In Laravel Framework 6.20.44, Nuwave/Lighthouse V5.52.1, an error is reported: Argument 1 Passed to App\\Exceptions\\Handler::report() must be an instance of exception, instance of error given, called in E:\WWRoot\\Object\Vendor\\nuwave\Lighthouse\src\execution\\reportingErrorHandler.php on line 39. as shown in Figure 1 2. Reference:https://www.shuijingwanwq.com/en/2022/01/26/9945/. The root cause is that the framework is not compatible with the extended version. However, it is now…
-
Post Views: 20 1. In the API response, the field: “Processing”: False, . as shown in Figure 1 2. The type of field processing is tinyint(1). Its value is 0, 1. as shown in Figure 2 3. The original implementation is as follows 4. The $casts property in the model provides a convenient way to convert attributes to common data…