nginx反代cloudflare出现502错误问题

如果是自己的域名在反代配置加上这2句就可以了。 1 2 proxy_ssl_name $host; proxy_ssl_server_name on; 我自己的配置是 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 location / { proxy_pass https://域名; #Proxy Settings proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_ssl_name $host; proxy_ssl_server_name on; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; # proxy_max_temp_file_size 0; proxy_connect_timeout 90; proxy_send_timeout 90; proxy_read_timeout 90; proxy_buffer_size 64k; proxy_buffers 32 32k; proxy_busy_buffers_size 128k; proxy_temp_file_write_size 64k; }

2020年8月16日 · 1 分钟 · 浅忆

esxi6.7 与 pve6 unixbench跑分对比

新建的虚拟机下同配置跑的分,均开启了host。配置为 8C8G50G。 ESXI6.7 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 # # # # # # # ##### ###### # # #### # # # # ## # # # # # # # ## # # # # # # # # # # # ## ##### ##### # # # # ###### # # # # # # ## # # # # # # # # # # # # ## # # # # # # # ## # # # # #### # # # # # ##### ###### # # #### # # Version 5.1.3 Based on the Byte Magazine Unix Benchmark Multi-CPU version Version 5 revisions by Ian Smith, Sunnyvale, CA, USA January 13, 2011 johantheghost at yahoo period com Wide character in print at ./Run line 1511. Wide character in printf at ./Run line 1542. 1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 1 x Execl Throughput 1 2 3 1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 1 x File Copy 256 bufsize 500 maxblocks 1 2 3 1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 1 x Process Creation 1 2 3 1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 1 x Shell Scripts (1 concurrent) 1 2 3 1 x Shell Scripts (8 concurrent) 1 2 3 Wide character in printf at ./Run line 1484. 8 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 8 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 8 x Execl Throughput 1 2 3 8 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 8 x File Copy 256 bufsize 500 maxblocks 1 2 3 8 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 8 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 8 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 8 x Process Creation 1 2 3 8 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 8 x Shell Scripts (1 concurrent) 1 2 3 8 x Shell Scripts (8 concurrent) 1 2 3 Wide character in printf at ./Run line 1484. ======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: debian: GNU/Linux OS: GNU/Linux -- 4.19.0-5-amd64 -- #1 SMP Debian 4.19.37-5 (2019-06-19) Machine: x86_64 (unknown) Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968") CPU 0: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 1: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 2: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 3: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 4: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 5: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 6: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 7: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization 01:35:22 up 1:33, 2 users, load average: 3.18, 3.77, 2.12; runlevel ------------------------------------------------------------------------ Benchmark Run: 一 8月 10 2020 01:35:22 - 02:02:31 8 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 37275700.7 lps (10.0 s, 7 samples) Double-Precision Whetstone 5654.1 MWIPS (6.2 s, 7 samples) Execl Throughput 4156.3 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 697111.7 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 187842.5 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 2194571.2 KBps (30.0 s, 2 samples) Pipe Throughput 985672.0 lps (10.0 s, 7 samples) Pipe-based Context Switching 46277.6 lps (10.0 s, 7 samples) Process Creation 2855.4 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 4167.8 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1955.7 lpm (60.0 s, 2 samples) System Call Overhead 688554.4 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 37275700.7 3194.1 Double-Precision Whetstone 55.0 5654.1 1028.0 Execl Throughput 43.0 4156.3 966.6 File Copy 1024 bufsize 2000 maxblocks 3960.0 697111.7 1760.4 File Copy 256 bufsize 500 maxblocks 1655.0 187842.5 1135.0 File Copy 4096 bufsize 8000 maxblocks 5800.0 2194571.2 3783.7 Pipe Throughput 12440.0 985672.0 792.3 Pipe-based Context Switching 4000.0 46277.6 115.7 Process Creation 126.0 2855.4 226.6 Shell Scripts (1 concurrent) 42.4 4167.8 983.0 Shell Scripts (8 concurrent) 6.0 1955.7 3259.4 System Call Overhead 15000.0 688554.4 459.0 ======== System Benchmarks Index Score 974.5 ------------------------------------------------------------------------ Benchmark Run: 一 8月 10 2020 02:02:31 - 02:29:45 8 CPUs in system; running 8 parallel copies of tests Dhrystone 2 using register variables 272463301.5 lps (10.0 s, 7 samples) Double-Precision Whetstone 41703.8 MWIPS (6.5 s, 7 samples) Execl Throughput 23978.3 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 979782.2 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 263271.7 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 3177481.5 KBps (30.0 s, 2 samples) Pipe Throughput 7084002.7 lps (10.0 s, 7 samples) Pipe-based Context Switching 1632492.5 lps (10.0 s, 7 samples) Process Creation 43134.3 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 44920.5 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 6769.3 lpm (60.0 s, 2 samples) System Call Overhead 4393974.7 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 272463301.5 23347.3 Double-Precision Whetstone 55.0 41703.8 7582.5 Execl Throughput 43.0 23978.3 5576.3 File Copy 1024 bufsize 2000 maxblocks 3960.0 979782.2 2474.2 File Copy 256 bufsize 500 maxblocks 1655.0 263271.7 1590.8 File Copy 4096 bufsize 8000 maxblocks 5800.0 3177481.5 5478.4 Pipe Throughput 12440.0 7084002.7 5694.5 Pipe-based Context Switching 4000.0 1632492.5 4081.2 Process Creation 126.0 43134.3 3423.4 Shell Scripts (1 concurrent) 42.4 44920.5 10594.5 Shell Scripts (8 concurrent) 6.0 6769.3 11282.1 System Call Overhead 15000.0 4393974.7 2929.3 ======== System Benchmarks Index Score 5383.8 ======= Script description and score comparison completed! ======= PVE6.2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 make[1]: Leaving directory '/opt/unixbench/UnixBench' locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory sh: 1: 3dinfo: not found sh: 1: runlevel: not found # # # # # # # ##### ###### # # #### # # # # ## # # # # # # # ## # # # # # # # # # # # ## ##### ##### # # # # ###### # # # # # # ## # # # # # # # # # # # # ## # # # # # # # ## # # # # #### # # # # # ##### ###### # # #### # # Version 5.1.3 Based on the Byte Magazine Unix Benchmark Multi-CPU version Version 5 revisions by Ian Smith, Sunnyvale, CA, USA January 13, 2011 johantheghost at yahoo period com Wide character in print at ./Run line 1511. Wide character in printf at ./Run line 1542. 1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 1 x Execl Throughput 1 2 3 1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 1 x File Copy 256 bufsize 500 maxblocks 1 2 3 1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 1 x Process Creation 1 2 3 1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 1 x Shell Scripts (1 concurrent) 1 2 3 1 x Shell Scripts (8 concurrent) 1 2 3 Wide character in printf at ./Run line 1484. 8 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 8 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 8 x Execl Throughput 1 2 3 8 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 8 x File Copy 256 bufsize 500 maxblocks 1 2 3 8 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 8 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 8 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 8 x Process Creation 1 2 3 8 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 8 x Shell Scripts (1 concurrent) 1 2 3 8 x Shell Scripts (8 concurrent) 1 2 3 Wide character in printf at ./Run line 1484. ======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: debian: GNU/Linux OS: GNU/Linux -- 4.19.0-5-amd64 -- #1 SMP Debian 4.19.37-5 (2019-06-19) Machine: x86_64 (unknown) Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968") CPU 0: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 1: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 2: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 3: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 4: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 5: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 6: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 7: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET 11:14:36 up 3 min, 2 users, load average: 0.57, 0.19, 0.06; runlevel ------------------------------------------------------------------------ Benchmark Run: 二 8月 11 2020 11:14:36 - 11:42:00 8 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 38457773.2 lps (10.0 s, 7 samples) Double-Precision Whetstone 5894.1 MWIPS (7.7 s, 7 samples) Execl Throughput 3653.5 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 594688.8 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 155116.1 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 2093652.8 KBps (30.0 s, 2 samples) Pipe Throughput 840578.6 lps (10.0 s, 7 samples) Pipe-based Context Switching 69113.8 lps (10.0 s, 7 samples) Process Creation 2092.7 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 3592.3 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1596.2 lpm (60.0 s, 2 samples) System Call Overhead 661908.8 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 38457773.2 3295.4 Double-Precision Whetstone 55.0 5894.1 1071.7 Execl Throughput 43.0 3653.5 849.6 File Copy 1024 bufsize 2000 maxblocks 3960.0 594688.8 1501.7 File Copy 256 bufsize 500 maxblocks 1655.0 155116.1 937.3 File Copy 4096 bufsize 8000 maxblocks 5800.0 2093652.8 3609.7 Pipe Throughput 12440.0 840578.6 675.7 Pipe-based Context Switching 4000.0 69113.8 172.8 Process Creation 126.0 2092.7 166.1 Shell Scripts (1 concurrent) 42.4 3592.3 847.2 Shell Scripts (8 concurrent) 6.0 1596.2 2660.3 System Call Overhead 15000.0 661908.8 441.3 ======== System Benchmarks Index Score 903.0 ------------------------------------------------------------------------ Benchmark Run: 二 8月 11 2020 11:42:00 - 12:09:16 8 CPUs in system; running 8 parallel copies of tests Dhrystone 2 using register variables 279669766.0 lps (10.0 s, 7 samples) Double-Precision Whetstone 41943.0 MWIPS (6.3 s, 7 samples) Execl Throughput 18412.5 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 488871.1 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 126347.3 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1596495.9 KBps (30.0 s, 2 samples) Pipe Throughput 6013413.0 lps (10.0 s, 7 samples) Pipe-based Context Switching 967469.4 lps (10.0 s, 7 samples) Process Creation 25260.2 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 37695.0 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 5645.7 lpm (60.0 s, 2 samples) System Call Overhead 3703628.1 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 279669766.0 23964.8 Double-Precision Whetstone 55.0 41943.0 7626.0 Execl Throughput 43.0 18412.5 4282.0 File Copy 1024 bufsize 2000 maxblocks 3960.0 488871.1 1234.5 File Copy 256 bufsize 500 maxblocks 1655.0 126347.3 763.4 File Copy 4096 bufsize 8000 maxblocks 5800.0 1596495.9 2752.6 Pipe Throughput 12440.0 6013413.0 4833.9 Pipe-based Context Switching 4000.0 967469.4 2418.7 Process Creation 126.0 25260.2 2004.8 Shell Scripts (1 concurrent) 42.4 37695.0 8890.3 Shell Scripts (8 concurrent) 6.0 5645.7 9409.4 System Call Overhead 15000.0 3703628.1 2469.1 ======== System Benchmarks Index Score 3825.7 ======= Script description and score comparison completed! ======= ...

2020年8月9日 · 21 分钟 · 浅忆

记录IDRAC断电恢复上一次配置(密码)的问题

https://blog.curlc.com/archives/595.html 这台机器买来后idrac有一个问题,只要断电,idrac的密码就会被恢复为上一次设置的密码.如果在bios重置密码也会被“永久”的设置成calvin这个默认密码。 所以特别蛋疼,每次断电开机完就得修改密码,在dell社区问过一次,答复居然是“一般服务器是不会断电”,真的是无语了…… 昨天由于折腾ssl把idrac搞挂了,这次断电也没有恢复,就进bios重置了idrac(恢复出厂设置)后居然就好了,断电密码被“重置”这个问题也就没了,但是我记得有一次我也重置过,但是没用,总之,这是一个奇葩的问题~

2020年8月8日 · 1 分钟 · 浅忆

office e5 常见问题

查看剩余天数(使用申请的e5账户登录) https://developer.microsoft.com/zh-cn/microsoft-365/dev-program https://developer.microsoft.com/zh-cn/microsoft-365/profile Office管理界面组织管理号登录 www.office.com/?auth=2 admin管理中心 https://admin.microsoft.com Microsoft 365 Onedrive容量 1T 修改 为5T,老帐号不删除重建 https://blog.curlc.com/archives/66.html 你没有访问此服务的权限。请联系你的IT部门以获取帮助。(错误代码:0x8004e4d1) 这种一般是你没有给这个账号许可证。 自动续期时间 目前(2020-07-20)调用api情况下, 一般在最后30天以内就会进行续期3个月。 不注意点击了取消订阅 (来自读者的反馈)万一手残,还没订阅还没到期就点了取消订阅,显示已禁用,仪表板显示已到期,有这样情况的话,进入office管理界面网站,可以跟微软客服沟通下,他们会手动帮你重新订阅上,只不过, 仪表板还是会显示已到期(这个解决办法是,点击上面的三角形,看到“错过xxx”那个地方,要跟微软写个反馈,反馈你目前的开发进度,用纯英文写,提交之后,看微软审核,审核通过,仪表板就会重新显示剩余天数了) 如何创建子号 https://admin.microsoft.com/Adminportal/Home?source=applauncher#/users 以上信息来自于群成员于读者反馈,部分已知名单如下(为保护隐私,已隐藏部分关键字): Skyler 942****459 peakgymnast 隐藏 vivi fr**@163.com

2020年7月20日 · 1 分钟 · 浅忆

Docker快速搭建Firefox Send

1、安装Docker 此命令我在debian中运行没问题,其他系统自测~ 1 wget -qO- https://get.docker.com/ | sh 2、创建docker网络 请参考此文章 https://blog.curlc.com/archives/618.html 3、Docker安装Redis 其中的 –net 参数,就是刚刚建立的docker网络(内网) 1 docker run --name docker-redis-server --restart=always --net=my_network -d redis redis-server --appendonly yes 3、docker安装启动Firedox Send 1 docker run --net=my_network --restart=always -e 'REDIS_HOST=docker-redis-server' -e 'NODE_ENV=production' -p 1443:1443 -d mozilla/send:latest 4、Nginx反向代理 这一步网上有很多教程,就不重复的写了。 需要注意的是,必须启用https。 1 2 3 4 5 6 7 8 9 # 配置反向代理 location / { proxy_pass http://127.0.0.1:1443; proxy_set_header Connection "upgrade"; proxy_set_header Upgrade $http_upgrade; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }

2020年6月9日 · 1 分钟 · 浅忆

Fiddler无法解密https请求解决方法

背景 The selected session is a HTTP CONNECT Tunnel. 所选的会话是 HTTP CONNECT 隧道。 该隧道使客户端能够通过 HTTP……. https抓包出现这个标识无法解密https会话,证书存储区中可能有一些旧的Fiddler证书,由于某些原因(比如升级版本,更换版本后重新生成证书),这些证书在重置期间未清除,所以需要手动进行清除旧证书。 解决方法 请确保未选中Fiddler的HTTPS选项中的“解密HTTPS通信”复选框,然后关闭Fiddler。 然后在Windows的任务栏搜索框中,键入“管理用户证书”,然后按Enter。当前用户的证书管理器将打开。 找到所有颁发者:DO_NOT_TRUST_FiddlerRoot并删除它们。请小心不要删除任何其他证书。 如果您具有管理权限,请在Windows的任务栏搜索框中键入“管理计算机证书”。本地计算机的证书管理器将打开。 找到所有颁发者:DO_NOT_TRUST_FiddlerRoot并删除它们。请小心不要删除任何其他证书。 打开Fiddler,然后选中“解密HTTPS流量”复选框。将会出现一些提示,要求信任新生成的CA证书。信任证书,然后重新启动Fiddler。 大概由3个地方需要进行删除,注意点别删到其他证书就好~ 参考文章: https://www.telerik.com/forums/system-security-cryptography-cryptographicexception#FayHvD9zcUGARfM-gi4pyA https://www.telerik.com/forums/https-decryption-does-not-work

2020年5月18日 · 1 分钟 · 浅忆

红米K20 Pro 刷Pixel Experience

看见k20 pro 有pixel的包了,刷了后感觉还不错,比小米要各种权限好多了,还会后台自动刷新权限。 网上的教程很多,参考了下,有个地方要注意的是,用国内的miui做底包不行,会导致卡在 mi logo界面。 先刷 twrp 双清及格式化data 刷国际版的miui 11(Android 10 版本的) Wipe Cache/Dalvik 再刷Pixel Experience Wipe Cache/Dalvik 刷机完成后需要 ke xue 上网,不然会卡在登录页面。 欧盟版 miui 11 下载地址: https://nchc.dl.sourceforge.net/project/xiaomi-eu-multilang-miui-roms/xiaomi.eu/MIUI-STABLE-RELEASES/MIUIv11/xiaomi.eu_multi_HMK20ProMI9TPro_V11.0.8.0.QFKCNXM_v11-10.zip Pixel Experience 下载地址:https://download.pixelexperience.org/changelog/raphael/PixelExperience_Plus_raphael-10.0-20200407-0636-OFFICIAL.zip 2020-05-18: 发现个非常严重得问题,那就4g上网特别差,看了网上说是美国lte频段和国内不同?只能连一个频段?还是刷成国际版用吧。 发现问题是,是系统选择的apn不对,自己手动选下就可以了。 对了,快充也没了。 2020-06-04: 在体验了半个月后,发现个特别严重的问题,如果在信号差的地方到信号好的地方,网络一样的慢,而且得手动切换apn才能解决。 更新时间为:May 16, 2020 23:01 参考教程:https://blog.kangkang.org/index.php/archives/424

2020年5月16日 · 1 分钟 · 浅忆

rabbitMQ rabbitmq_delayed_message_exchange 清空延时消息

问题描述: 在安装了这个延时插件后不能清空已加入的消息,删除和重新创建交换是不够的,延迟的消息仍将传递。 解决办法: 禁用并重新启用插件: 1 2 rabbitmq-plugins disable rabbitmq_delayed_message_exchange rabbitmq-plugins enable rabbitmq_delayed_message_exchange github问题说明: https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/issues/16

2020年4月22日 · 1 分钟 · 浅忆

ubuntu 循环登陆(闪退,登陆成功后又跳回登陆界面)

表现为在图形登陆界面能够正常验证密码正误,在正确输入密码后,出现命令行下的自检界面,然后立即闪回到登陆界面。而且这个问题一般是出现在某些账户下,其他账户尤其是guest账户不受影响。而且命令行登陆也不受影响。 这个问题存在于ubuntu的多个版本中:ubuntu 12.04 ,ubuntu 12.10,ubuntu 13.04,ubuntu 13.10 (勾引搜索引擎用^-^) 一个最常见的原因是该账户下的的.Xauthority文件的对当前用户没有读写权限。这个文件是用来记录Xserver登陆情况的,而且默认权限限制地很严(只有owner有rw权限),由于某些意外,所有者变成了root,导致我们用当前账号登陆的时候无法完成完整的登陆程序,而被退出。 修改的方法很简单,通过命令行登陆(Ctrl+Alt+F1),将拥有者(和组)改为当前用户。 例如我的用户名为 abc 使用命令: cd ~ ls -a (会看到.Xauthority的所有者和组是root) sudo chown abc:abc .Xauthority *返回图形界面:Ctrl+Alt+F7 本文转载至:http://blog.csdn.net/yanxiangtianji

2020年4月11日 · 1 分钟 · 浅忆

常用内网穿透工具

frp FRP 功能完整,主要采用 GO 语言实现,重量级的工具,服务端界面样式风格一般。 配置繁琐,不同的协议需要配置不同的参数,采用文件存放数据,不支持数据库管理数据。 https://github.com/fatedier/frp holer 轻量级的内网穿透工具,holer 服务端采用 Java 语言实现,服务端界面漂亮简洁。 Holer 客户端采用了 Java 语言和 GO 语言实现了两种版本,支持几乎所有的 OS 平台。 用到流行的微服务框架 springboot 和 Java 网络框架 netty。 配置很简单,针对所有 TCP 协议只需在客户端设置一个 holer access key 即可。 采用 MySQL 数据库统一管理数据。 https://github.com/wisdom-projects/holer nps 轻量级的内网穿透工具,完全采用 GO 语言实现,服务端界面漂亮简洁。 支持的协议最广泛,配置稍简单,采用文件存放数据,不支持数据库管理数据。 https://github.com/ehang-io/nps lanproxy 轻量级的内网穿透工具,客户端采用 GO 语言和 Java 语言实现两种版本,采用了 Java 网络框架 netty,服务端界面体验较差。 配置稍繁琐,采用文件存放数据,不支持数据库管理数据。 https://github.com/ffay/lanproxy

2020年3月30日 · 1 分钟 · 浅忆