AI Safety Logo
Backend Connection Diagnostics
Use this page to diagnose backend connection issues

Environment Configuration

{}

Manual Fetch Test

Run these commands in your browser console to test connectivity:

// Test the health endpoint
fetch("http://localhost:8080/health", {
  mode: 'cors',
  credentials: 'include'
})
.then(res => res.text())
.then(console.log)
.catch(console.error);

// Test a protected endpoint
fetch("http://localhost:8080/api/v1/admin/applications", {
  headers: { Authorization: 'Bearer YOUR_SESSION_ID_HERE' },
  mode: 'cors',
  credentials: 'include'
})
.then(res => res.text())
.then(console.log)
.catch(console.error);