HausDAO / daohaus-app

long live pokemol
https://daohaus.club/
Other
134 stars 79 forks source link

Local Dev: SafeSDK error when running locally #2006

Closed plor closed 2 years ago

plor commented 2 years ago

My safes don't load locally and I get an error that prevents me from doing some stuff.

Image

ERROR getSafe Error: Invalid JSON RPC response: "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot POST [URL]</pre>\n</body>\n</html>\n"
earth2travis commented 2 years ago

This is happening on every safe. Only on Plor's local build.

plor commented 2 years ago

rivet change seems to require absolute url and not just API key for me. Changing env to REACT_APP_RPC_URI=https://<API_KEY>.rpc.rivet.cloud/ fixed this.