[求助】python使用Heroku部署文件报错

xp12345611 2018-06-14 01:01:35
在将项目推送到Heroku时,执行 git push heroku master语句时,弹出登录对话框。
由于是第一次进行部署,就默认的使用Heroku的用户名及密码,然后就产生以下报错
remote: ! WARNING:
remote: ! Do not authenticate with username and password using git.
remote: ! Run `heroku login` to update your credentials, then retry the git command.
remote: ! See documentation for details: https://devcenter.heroku.com/articles/git#http-git-authentication

然后到官网去查询原因的时候,才发现不能使用Heroku的账号密码,应该使用API Key。但是试了一下 heroku Logout 再登陆。再执行这条语句时还是报这个错。

请问大神们,如何能解决这个报错
...全文
929 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
xp12345611 2018-06-14
  • 打赏
  • 举报
回复
引用 1 楼 oyljerry 的回复:
把rsa的公钥等加到服务器的信任公钥中

重新生成了一个新的公钥,上传上去之后,但还是报那个错误
xp12345611 2018-06-14
  • 打赏
  • 举报
回复
引用 1 楼 oyljerry 的回复:
把rsa的公钥等加到服务器的信任公钥中
这个要怎么实现啊
oyljerry 2018-06-14
  • 打赏
  • 举报
回复
把rsa的公钥等加到服务器的信任公钥中

37,743

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • WuKongSecurity@BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧