直到昨天,我都成功使用了git“ push”和“ pull”命令,但是今天它不起作用,并给我这个错误: Push failed: Unable to access 'https://github.com/username/repository.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
我尝试了许多解决方案,但没有成功。我尝试的解决方案:
1.使用SSH密钥
2.更新git
3.使用openssl安装curl(安装时出现相同错误)
这是由于curl github.com -v:
* Rebuilt URL to: github.com/
* Trying 192.30.253.112...
* TCP_NODELAY set
* Connected to github.com (127.0.0.1) port 80 (#0)
> GET / HTTP/1.1
> Host: github.com
> User-Agent: curl/7.54.0
> Accept: */*
>
* Recv failure: Connection reset by peer
* stopped the pause stream!
* Closing connection 0
curl: (56) Recv failure: Connection reset …Run Code Online (Sandbox Code Playgroud) 我有一个运行良好的 Laravel 应用程序,但是每当我查看日志文件时,都会出现数百个错误
production.ERROR: 未指定应用程序加密密钥。{"exception":"[object] (RuntimeException(code: 0): 未指定应用程序加密密钥。
存在于日志文件中。中有一把钥匙。env文件,我也尝试过php artisan key:generate命令,但错误仍然在日志文件中生成,对用户没有任何可见的错误。
此错误仅出现在生产服务器的日志文件中,而不出现在我的开发电脑中。
我已经安装了react-native v0.46并安装了NativeBase但是在组件中使用标签后,没有显示图标而是显示问号(Android并未在iOS中测试).
为了解决这个问题,我做了很多修改,如下所示:
rnpm linkreact-native link react-native-vector-icons
{
"name": "Magazine",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"native-base": "^2.3.1",
"react": "16.0.0-alpha.12",
"react-native": "0.46.4",
"react-native-image-slider": "^1.1.5"
},
"devDependencies": {
"babel-jest": "20.0.3",
"babel-preset-react-native": "2.1.0",
"jest": "20.0.4",
"react-test-renderer": "16.0.0-alpha.12"
},
"jest": {
"preset": "react-native"
}
}
我使用的是Windows 10,Node v8.1.4,React-native-CLI v2.0.1
码:
import React, { Component } from 'react';
import {
AppRegistry,
} from 'react-native';
import {Container, Header, Title, …Run Code Online (Sandbox Code Playgroud)