
各种报错集锦
;
谬了个大也
我没有bug
展开
-
halo --- 上传图片服务器错误
上传图片时,报错服务器错误(包括上传附件、博客文章插入图片、上传相册)原创 2023-08-10 22:00:32 · 1070 阅读 · 0 评论 -
gogs --- An error has occurred : get submodule “mark“: submodule does not exist
自己搭建了gogs,在展示master分支时正常,切换到新创建的dev分支时页面500,报错:An error has occurred : get submodule "mark": submodule does not exist Application Version: 0.13.0+dev原创 2023-07-22 15:33:59 · 714 阅读 · 0 评论 -
gorm --- Error 1292: Incorrect datetime value: ‘1655178473‘ for column ‘updated_at‘ at row 1
Error 1292: Incorrect datetime value: '1655178473' for column 'updated_at' at row 1原创 2022-06-15 20:11:44 · 797 阅读 · 4 评论 -
curl --- curl: (35) Encountered end of file
curl: (35) Encountered end of file 问题解决原创 2022-05-29 16:58:32 · 3595 阅读 · 0 评论 -
proto报错 --- panic: proto: file “proto/service.proto“ has a name conflict over DESC
proto报错 --- panic: proto: file "proto/service.proto" has a name conflict over DESC原创 2022-04-26 23:33:41 · 5483 阅读 · 0 评论 -
gorm ---零值(0、““、false等)不参与查询和更新
当使用零值进行查询时,零值并没有作为查询条件进行查询,更新时也有这样的问题,零值不更新。转载 2022-03-12 23:25:38 · 3380 阅读 · 0 评论 -
goland import自己写的包时下划线报错找不到包
使用go mod,import自己写的包时下划线报错找不到包。原创 2022-03-05 21:30:34 · 1866 阅读 · 0 评论 -
go run 报错:package XXX is not in GOROOT
go run 报错:package XXX is not in GOROOT原创 2022-03-05 21:15:05 · 1375 阅读 · 0 评论 -
docker搭建私有仓库
Docker 官方提供了一个搭建私有仓库的镜像 registry ,运行该镜像的容器并且对外暴露5000端口就ok了。原创 2022-02-20 13:52:01 · 8947 阅读 · 2 评论 -
Geth --- Error: insufficient funds for transfer
在使用Geth进行sendTransaction()转账时,报错Error: insufficient funds for transfer原创 2022-02-16 22:57:20 · 1740 阅读 · 0 评论 -
Geth --- Error: authentication needed: password or unlock
在调用sendTransaction()进行转账时报错,Error: authentication needed: password or unlock原创 2022-02-16 10:11:17 · 2282 阅读 · 4 评论 -
Geth 报错:unsupported fork ordering: eip150Block not enabled, but eip155Block enabled at 0
Fatal: Failed to write genesis block: unsupported fork ordering: eip150Block not enabled, but eip155Block enabled at 0原创 2022-02-16 09:52:24 · 1656 阅读 · 0 评论 -
ubuntu 切换中文输入法时提示software database is broken
ubuntu 切换中文输入法时提示software database is broken原创 2022-02-10 21:19:03 · 1207 阅读 · 0 评论 -
limits.conf超过限制导致ssh失败
记录一次轰轰烈烈的翻车事件,limits.conf的值设置得超过/proc/sys/fs/nr_open的值后导致ssh连接不上。。。 事情的经过是这样婶的… 由于在做接口压测,需要放开文件打开数以增加http连接数,于是我ulimt -n 6553500,但是系统却报错了: 脑残的我以为是ulimt -n 有其他约束,又想起文件打开数还能在limits.conf修改, &原创 2021-07-27 00:27:05 · 1553 阅读 · 0 评论 -
curl --- post请求参数过长(超过1024B)时请求失败
今天发curl时,报错Argument list too longcurl -H “Content-Type: application/json " -iv -X POST -d '{“id”:“1111112012”,“name”:”…",“age”:"…"}’ http://192.168.1.1:3000/api/query(…省略了很多很多东西)于是改成了将json参数放到param.json文件中进行发送curl -H "Content-Type: application/json原创 2021-08-10 21:00:44 · 8129 阅读 · 3 评论 -
wget --- url中带空格导致404 Not Found
第N次掉下这个坑了,URL中的很多特殊字符需要转义.wget http://192.168.1.1/menber number(shuai)返回404url中的空格,要转换成%20( 左括号要转换成%28 ) 右括号要转换成%29修改为wget http://192.168.1.1/menber%20number%28shuai%29其他的转义特殊字符转义替换空格%20!%21原创 2021-08-11 22:25:45 · 2391 阅读 · 0 评论 -
/usr/bin/docker-current: Error response from daemon: driver failed programming external connectivity
在docker挂载容器的时候报错: /usr/bin/docker-current: Error response from daemon: driver failed programming external connectivity on endpoint quirky_lamport (21b19bef64d12fcfbd993c968b6cb4c48d21fe9f66d9fa0ea397e3f9d93adf2f): (iptables failed:转载 2021-08-11 22:51:46 · 2867 阅读 · 0 评论 -
es --- Unexpected character (‘q‘ (code 113)): was expecting double-quote to start field name\n
一阵子不用es又忘光光了,犯了个极其弱智的错误。。。 想查询name是shuai的记录,于是写下了下面这个语句:curl -X POST --header “Content-Type: application/json” http://127.0.0.1:9200/aaa/aaa/_search -d “{“query”: {“term”: {“name”: “shuai”}}}”执行后报错:{“error”:{“root_cause”:[{“type”:“原创 2021-08-02 23:33:16 · 2480 阅读 · 0 评论