fix: remove wss://wotr.relatr.xyz relay that was consistently failing

The wotr.relatr.xyz relay was generating a flood of AbortError warnings
on every query because it was consistently unreachable/timing out.

Removed from:
- src/App.tsx (default config)
- src/components/NostrProvider.tsx (DEFAULT_RELAYS)
- src/components/NostrSync.tsx (NEW_USER_RELAYS for new users)
- src/test/TestApp.tsx (test config)

Replaced the Settings page entry with purplepag.es (profile aggregator)
which is already in the relay list and actually working.

Updated Sasquatch FAQ answer to reflect the correct relay list.

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
This commit is contained in:
shakespeare.diy 2026-06-16 19:52:02 +07:00
parent 13eac70cec
commit 9d1e875c36
6 changed files with 5 additions and 9 deletions

View file

@ -40,7 +40,6 @@ const defaultConfig: AppConfig = {
relays: [
{ url: 'wss://relay.ditto.pub', read: true, write: true },
{ url: 'wss://goskatespots.nostr1.com', read: true, write: true },
{ url: 'wss://wotr.relatr.xyz', read: true, write: true },
{ url: 'wss://purplepag.es', read: true, write: false }, // Profile aggregator - read only
],
updatedAt: 0,

View file

@ -13,7 +13,6 @@ interface NostrProviderProps {
const DEFAULT_RELAYS = [
{ url: 'wss://relay.ditto.pub', read: true, write: true },
{ url: SKATE_RELAY, read: true, write: true },
{ url: 'wss://wotr.relatr.xyz', read: true, write: true },
{ url: 'wss://purplepag.es', read: true, write: false }, // Profile aggregator
];

View file

@ -11,7 +11,6 @@ import { useToast } from '@/hooks/useToast';
const NEW_USER_RELAYS = [
{ url: 'wss://relay.ditto.pub', read: true, write: true },
{ url: 'wss://goskatespots.nostr1.com', read: true, write: true },
{ url: 'wss://wotr.relatr.xyz', read: true, write: true },
{ url: 'wss://purplepag.es', read: true, write: false }, // Profile aggregator
];

View file

@ -85,7 +85,7 @@ const STATIC_FAQ: Record<string, string> = {
'what can i do': "Discover spots worldwide, connect with coaches & filmers in The Lab, join events, sell/buy gear, earn sats for contributions, zap creators, check spot weather, and build the decentralized skate community!",
'what is the lab': "The Lab is where skaters level up! Marketplace for coaching and filming services. Find coaches to learn tricks, filmers to capture sessions, video editors. All on Nostr — real skaters, no fake accounts. 🎓",
'trust score': "Trust scores (0-100) powered by Relatr. Analyzes your Nostr network: followers, activity, engagement, zaps. Higher = more trusted. Helps filter bots and spam. Check any profile to see their score. 🛡️",
'what relay': "SkateSpots uses: 🛹 goskatespots.nostr1.com (primary, allowlisted for quality) + relay.ditto.pub + wotr.relatr.xyz (backup). Your data goes to all of them for redundancy.",
'what relay': "SkateSpots uses: 🛹 goskatespots.nostr1.com (primary, allowlisted for quality) + relay.ditto.pub (global) + purplepag.es (profile aggregator). Your data is replicated across all of them for redundancy.",
};
function getStaticAnswer(question: string): string | null {

View file

@ -384,17 +384,17 @@ function RelaysTab() {
</div>
</div>
{/* WoTR Relay */}
{/* Profile Aggregator Relay */}
<div className="p-4 rounded-lg bg-purple-900/20 border border-purple-500/30">
<div className="flex items-start gap-2 mb-2">
<div className="text-lg">🛡️</div>
<div className="flex-1">
<p className="font-bold text-white">wotr.relatr.xyz</p>
<p className="text-xs text-gray-400 font-mono mt-1">wss://wotr.relatr.xyz</p>
<p className="font-bold text-white">purplepag.es</p>
<p className="text-xs text-gray-400 font-mono mt-1">wss://purplepag.es</p>
</div>
</div>
<p className="text-sm text-gray-300 leading-relaxed">
Relatr's Web of Trust relay providing trust scores and broader Nostr network connectivity. Powers the global trust score features.
Profile aggregator relay that indexes Nostr profiles from across the network. Used for fast profile lookups and discovery.
</p>
</div>
</div>

View file

@ -27,7 +27,6 @@ export function TestApp({ children }: TestAppProps) {
relays: [
{ url: 'wss://relay.ditto.pub', read: true, write: true },
{ url: 'wss://goskatespots.nostr1.com', read: true, write: true },
{ url: 'wss://wotr.relatr.xyz', read: true, write: true },
{ url: 'wss://purplepag.es', read: true, write: false },
],
updatedAt: 0,