当前位置: 首页 > news >正文

【Debug】hexo-github令牌认证 Support for password authentication was removed


title: 【Debug】hexo-github令牌认证
date: 2024-07-19 14:40:54
categories: bug解决日记
description: “Support for password authentication was removed on August 13, 2021.”
cover: https://pic.imgdb.cn/item/669b38ebd9c307b7e9f3e5e0.jpg


第一章

第一篇博客记录一下hexo搭建过程中的bug

  • 原本在hexo d之后的报错
(base) xuan@wangzixuandeMacBook-Pro BlogFile % hexo d
(省略。。)
Username for 'https://github.com': wanziw
Password for 'https://wanziw@github.com': 
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/wanziw/wanziw.github.io.git/'
FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html

根据问题发现是要创建令牌(token),在输入密码的部分要输入token

Git The requested URL returned error: 403,Token authentication requirements for Git operations

  • 结果创建完之后报错如下
fatal: unable to access 'https://github.com/wanziw/wanziw.github.io.git/': The requested URL returned error: 403
FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html

解决方案:

发现创建错了,我创建成上面那个Fine-grained的了,其实应该创建下面那个

这玩意过期expired也会报这个bug
参考链接:https://www.jianshu.com/p/d5f2e04a332f

http://www.lryc.cn/news/494409.html

相关文章:

  • torch.is_floating_point(input)
  • 【分布式】分布式事务
  • Spring Data 简介
  • 【娱乐项目】基于批处理脚本与JavaScript渲染视频列表的Web页面
  • [MySQL]流程控制语句
  • Flink在Linux系统上的安装与入门
  • 微信小程序Webview与H5通信
  • Debezium Engine监听binlog实现缓存更新与业务解耦
  • docker搭建socks5代理
  • scanf函数和printf函数的格式化输入输出
  • Day31 贪心算法 part05
  • uniapp连接mqtt频繁断开原因和解决方法
  • 【数据结构-队列】力扣641. 设计循环双端队列
  • leetcode3250. 单调数组对的数目 I,仅需1s
  • 安全基线检查
  • C#读取本地图像的方法总结
  • 力扣81:搜索旋转排序数组II
  • 信息系统项目管理-论文写作方法之背景二
  • 使用ffmpeg命令实现视频文件间隔提取帧图片
  • 我们项目要升级到flutter架构的几点原因
  • 【简单好抄保姆级教学】javascript调用本地exe程序(谷歌,edge,百度,主流浏览器都可以使用....)
  • ElasticSearch为什么不能在query阶段直接返回_id,从而避免fetch?
  • 网安瞭望台第5期 :7zip出现严重漏洞、识别网络钓鱼诈骗的方法分享
  • 获 2023 年度浙江省科学技术进步奖一等奖 | 网易数智日报
  • SQL基础入门 —— SQL概述
  • 【附录】Rust国内镜像设置
  • 量化交易系统开发-实时行情自动化交易-8.2.发明者FMZ平台
  • MATLAB —— 机械臂工作空间分析
  • 向日葵连接xrdp虚拟桌面
  • AI智算-正式上架GPU资源监控概览 Grafana Dashboard