-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to connect to perplexity api #3070
Comments
It seems like the host being requested is |
sorry that part of the log is when im trying with different url INFO:config:Saving 'OPENAI_API_BASE_URLS' to config.json on the perplexity docs, there is no mention of /models . but on open-webui /models is appended at the end of the url |
you're missing
|
unfortunately i've tried https://api.perplexity.ai/v1 too and it didnt work ERROR:apps.openai.main:404 Client Error: Not Found for url: https://api.perplexity.ai/v1/models |
Turns out, Perplexity doesn't use a version in their API URL. It's possible that is what's interfering: I haven't got a key to test it with, but attempting to hit that domain at all seems to return absolutely nothing as though it does not exist... have you gotten this to work with anything else? |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Bug Report
Description
unable to use perplexity api https://api.perplexity.ai
on perplexity docs
https://docs.perplexity.ai/docs/getting-started#:~:text=Our supported models are listed,easy integration with existing applications.
it said that its openai compatible
Bug Summary:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.perplexity', port=443): Max retries exceeded with url: /models (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fe3ff085510>: Failed to resolve 'api.perplexity' ([Errno -2] Name or service not known)"))
INFO: 192.168.100.12:0 - "GET /openai/models/0 HTTP/1.1" 500 Internal Server Error
Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]
Expected Behavior:
connected to perplexity api
Actual Behavior:
[error] OpenAI: Network Problem
Environment
Open WebUI Version: [e.g., 0.3.2]
Operating System: [docker]
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
[Describe the method you used to install the project, e.g., manual installation, Docker, package manager, etc.]
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
The text was updated successfully, but these errors were encountered: