-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
"Failed to fetch" in external browser to LangSmith Studio #3291
Comments
This is likely a duplicate of: #3261 |
@kbfifi which browser are you using? which version? Could you open the network tab and confirm which errors you're seeing are you getting a CORS error? |
Would you mind digging into one of these to surface the full error message? |
Thank you this is a separate issue i'll take a look in a bit |
This is the issue you're seeing: https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content langsmith.com studio UI makes a fetch request from your browser to your locally running server over http. You could try working around this by temporarily allowing insecure content for the given page. I suspect chrome on chromebooks is running with stricter security requirements. (e.g., I'm on chrome as well on ubuntu, but my browser is not blocking on mixed content). |
@eyurtsev , thanks for looking into it! I was able to load the page by allowing the insecure page. That works for now. Will you provide an easy way to run the local server with https? |
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Description
After installation I'm trying to see the Studio environment. So far I:
All well up-til-here.
What works from a remote web browser:
http://192.168.178.31:2024/ok => {"ok":true}
http://192.168.178.31:2024/docs => works
This doesn't work:
https://smith.langchain.com/studio/thread?baseUrl=http://192.168.178.31:2024 => Page shows: "Failed to fetch"
Also tried with
langgraph dev --host 192.168.178.31
Both give same results
See also #3261
Installed fix:
pip install --upgrade "langgraph-cli[inmem]" "langgraph-api==0.0.21"
Unfortenately not fixing my issue
System Info
python3 -m langchain_core.sys_info [4/1075]
System Information
Package Information
Optional packages not installed
Other Dependencies
The text was updated successfully, but these errors were encountered: