Comments (4)
是指执行 login
命令时失败吗?
可以贴下geektime.log吗
from geektime_dl.
是指执行
login
命令时失败吗?可以贴下geektime.log吗
感谢回复,另外个人博客里面的邮箱地址不正确,我发送邮件失败
执行 geektime login 命令时返回的日志信息如下:(通过docker 镜像正常工作)
og_time=2019-01-18 17:51:10,296 levelname=ERROR process=82798 exception=Traceback (most recent call last):
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/urllib3/connectionpool.py", line 839, in validate_conn
conn.connect()
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/urllib3/connection.py", line 344, in connect
ssl_context=context)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/urllib3/util/ssl.py", line 344, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/Users/warren/.pyenv/versions/3.6.8/lib/python3.6/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/Users/warren/.pyenv/versions/3.6.8/lib/python3.6/ssl.py", line 817, in init
self.do_handshake()
File "/Users/warren/.pyenv/versions/3.6.8/lib/python3.6/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/Users/warren/.pyenv/versions/3.6.8/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
onnectionResetError: [Errno 54] Connection reset by peer
uring handling of the above exception, another exception occurred:
raceback (most recent call last):
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/urllib3/util/retry.py", line 367, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/urllib3/packages/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/urllib3/connectionpool.py", line 839, in validate_conn
conn.connect()
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/urllib3/connection.py", line 344, in connect
ssl_context=context)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/urllib3/util/ssl.py", line 344, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/Users/warren/.pyenv/versions/3.6.8/lib/python3.6/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/Users/warren/.pyenv/versions/3.6.8/lib/python3.6/ssl.py", line 817, in init
self.do_handshake()
File "/Users/warren/.pyenv/versions/3.6.8/lib/python3.6/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/Users/warren/.pyenv/versions/3.6.8/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
rllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
uring handling of the above exception, another exception occurred:
raceback (most recent call last):
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/geektime_dl/cli/command.py", line 63, in main
o.work(args)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/geektime_dl/cli/command.py", line 26, in work
return self.run(args)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/geektime_dl/cli/login.py", line 49, in run
gk.login(account, password, area)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/geektime_dl/utils/init.py", line 22, in wrapper
return func(self, *args, **kwargs)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/geektime_dl/data_client/gk_apis.py", line 54, in login
resp = requests.post(url, headers=headers, json=data, timeout=10)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/requests/api.py", line 116, in post
return request('post', url, data=data, json=json, **kwargs)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
equests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
location=/Users/warren/.pyenv/versions/3.6.8/envs/geektime/lib/python3.6/site-packages/geektime_dl/cli/command.py:74
from geektime_dl.
不清楚是什么问题,我这边也复现不了。
要不尝试下
https://stackoverflow.com/questions/38853972/python-client-error-connection-reset-by-peer
from geektime_dl.
不清楚是什么问题,我这边也复现不了。
要不尝试下
https://stackoverflow.com/questions/38853972/python-client-error-connection-reset-by-peer
好的,感谢,我先把这个issue关掉
from geektime_dl.
Related Issues (20)
- ERROR: 'gbk' codec can't encode character '\xa5' in position 2142: illegal multibyte sequence HOT 1
- 建议增加cookie登陆机制 HOT 2
- 考虑增加对其它平台的支持吗?比如拉勾教育或者网易吗?
- Window环境下运行后报错“OSError: [Errno 22] Invalid argument:
- 可否下载支持pdf,想打印出来 HOT 1
- docker 构建失败
- 报错:ERROR: create_chapter() takes 2 positional arguments but 3 were given HOT 2
- ERROR: 'utf-8' codec can't decode byte 0xb0 in position 0: invalid start byte
- mp3下载之后目录为空
- 怎么下载视频
- 教你怎么导出geektime全部专栏文章 HOT 1
- 您好,在爬取文章时字符编码存在问题,报错信息如下: HOT 3
- win10下载478号课程报 'gbk' codec can't encode character HOT 1
- 能增加公开课下载支持吗
- 非法图形验证码 HOT 1
- python3.8/site-packages/kindle_maker/ebooklib.py:334: UserWarning: ``make_ebook`` api is deprecated, and use ``Ebook`` class instead!
- Display Actual Author Name instead of "jachinlin.github.io"
- 制作 mobi 成功,但是在 kindle 中打开失败,恳请解决方法 HOT 1
- 是否支持批量下载
- windows 10 运行报 GBK 字符不能处理
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geektime_dl.