Comments (8)
我在亚马逊云上(北美服务器)测试是可以返回的,通过国内机场代理访问确实有权限的问题。如果找到解决办法第一时间通知大家
from claude2-pyapi.
这个问题我已经修复了,升级到version 0.0.6 版本可以解决此问题。另外可以参考这个测试代码testcurl_cffi.py。视频地址https://foul-maxilla-075.notion.site/testcurl_cff-We-are-unable-to-serve-your-request-f5445d3f8dc040be8ee94a1a19ad923a
from claude2-pyapi.
这个问题我已经修复了,升级到version 0.0.6 版本可以解决此问题。另外可以参考这个测试代码testcurl_cffi.py。视频地址https://foul-maxilla-075.notion.site/testcurl_cff-We-are-unable-to-serve-your-request-f5445d3f8dc040be8ee94a1a19ad923a
亲测有效
from claude2-pyapi.
我也碰到这个问题了,直接网页请求没问题,但postman发起的就不行,可能加了什么校验了
from claude2-pyapi.
发任何消息回复: {"error": {"type": "permission_error", "message": "We are unable to serve your request"}}
是不是被封了?
我是把python换到了4.10解决了这个问题,但是也有可能是cookie是、失效的原因,如果是刚复制的cookie,应该就是python版本的问题
from claude2-pyapi.
我也在AWS的US-east-1上试过了,一样的报错。
PS:网页端是正常可用的。
from claude2-pyapi.
同样+1
from claude2-pyapi.
作者你好,请问升级到version 0.0.6指的是哪个模块的升级呢?
from claude2-pyapi.
Related Issues (20)
- TypeError: request() got an unexpected keyword argument 'stream' HOT 2
- 飞书机器人http调用老是超时,能做对接飞书机器人得接口嘛? HOT 2
- 请问可以改换端口可以的吗,在那里改呢 HOT 2
- 请问一下支持流式输出吗? HOT 3
- 是否可以增加支持接入企业微信应用
- 企业微信应用发送消息报错 HOT 2
- JSONDecodeError HOT 2
- HTTP/2 stream 1 was not closed cleanly before end of the underlying stream HOT 1
- 可以试试AI超元域这款开源软件,支持多AI协作
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) HOT 2
- JSONDecodeError: Expecting value: line 2 column 9 (char 9) HOT 2
- Your account has been disabled for violating Anthropic's Acceptable Use Policy. HOT 51
- curl_cffi.curl: TypeError: initializer for ctype 'char *' must be a bytes or list or tuple, not str HOT 1
- Failed to perform, ErrCode: 23, Reason: 'Failure writing output to destination'. This may be a libcurl error, See https://curl.se/libcurl/c/libcurl-errors.html first for more details. HOT 11
- ModuleNotFoundError: No module named 'exceptions' HOT 2
- docker 部署问题
- 想问一下带附件发送必须先获取conversation-id吗?可不可以一步完成。 HOT 3
- raise RequestsError(str(e), e.code, rsp) from e curl_cffi.requests.errors.RequestsError: Failed to perform, ErrCode: 7, Reason: 'Failed to connect to 127.0.0.1 port 10808 after 2026 ms: Connection refused'. This may be a libcurl error, See https://curl.se/libcurl/c/libcurl-errors.html first for more details. HOT 1
- send_message失败 HOT 2
- Endpoint disabled
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 claude2-pyapi.