FAQs
Playground Connection Issues
If you’re experiencing connection issues in the Agno Playground, particularly when trying to connect to local endpoints, this guide will help you resolve them.
Browser Compatibility
Some browsers have security restrictions that prevent connections to localhost domains due to mixed content security issues. Here’s what you need to know about different browsers:
Recommended Browsers
- Chrome & Edge: These browsers work well with local connections by default and are our recommended choices
- Firefox: Generally works well with local connections
Browsers with Known Issues
- Safari: May block local connections due to its strict security policies
- Brave: Blocks local connections by default due to its shield feature
Solutions
For Brave Users
If you’re using Brave browser, you can try these steps:
- Click on the Brave shield icon in the address bar
- Turn off the shield for the current site
- Refresh the endpoint and try connecting again
For Other Browsers
If you’re using Safari or experiencing issues with other browsers, you can use one of these solutions:
1. Use Chrome or Edge
The simplest solution is to use Chrome or Edge browsers which have better support for local connections.
2. Use Tunneling Services
You can use tunneling services to expose your local endpoint to the internet:
Using ngrok
- Install ngrok from ngrok.com
- Run your local server
- Create a tunnel with ngrok:
- Use the provided ngrok URL in the playground
Using Cloudflare Tunnel
- Install Cloudflare Tunnel (cloudflared) from Cloudflare’s website
- Authenticate with Cloudflare
- Create a tunnel:
- Use the provided Cloudflare URL in the playground