【发布时间】:2019-04-22 23:48:09
【问题描述】:
使用 BAsh 控制台我为 Python3.6 安装了 Steem 模块
一切似乎都是正确的,但是当我尝试在 Pythonanywhere 中运行我的 python 脚本时,它说与 api.steemit.com 连接有问题
但脚本在我的电脑上运行良好。
代码
import steem
from steem import Steem
s=Steem()
s.get_account_history(your_ac, index_from=-1, limit=12)
日志在这里。有没有办法解决这个问题?
WARNING:root:Retry in 1s -- MaxRetryError: HTTPSConnectionPool(host='api.steemit.com', port=443): Max retries exceeded with url: / (由 NewC 引起 onnectionError(': 无法建立新连接: [Errno 111] Connectio n 拒绝',)) WARNING:urllib3.connectionpool:Retrying (Retry(total=19, connect=None, read=None, redirect=0, status=None)) 连接被 'NewConnect ionError(': 无法建立新连接: [Errno 111] Connection refu sed',)': /
【问题讨论】:
标签: https pythonanywhere connection-refused