huangPengL/ChatGPT-Java-FunAi

插入Pinecone向量库失败

Closed this issue · 2 comments

你好,我在尝试使用Pinecone时调用接口出现Remote host terminated the handshake错误
在网上查阅之后加上System.setProperty("https.protocols", "TLSv1,TLSv1.1,TLSv1.2")也不太行;
请问怎么解决呢
image

1 检查admin_apikey表里有没有放pinecone的key
2 OkhttpUtil中增加代理

你的PINECONE_API_URL好像有误,https://docs.pinecone.io/reference/describe_index_stats_post 参考这个链接右侧的BASE_URL