MycroftAI / mimic-recording-studio

Mimic Recording Studio is a Docker-based application you can install to record voice samples, which can then be trained into a TTS voice with Mimic2
Apache License 2.0
493 stars 111 forks source link

When I enter my name into the frontend box, it gives me error: Unhandled Rejection (TypeError): Failed to fetch getUser #105

Open ZeLiu369 opened 12 months ago

ZeLiu369 commented 12 months ago

× Unhandled Rejection (TypeError): Failed to fetch getUser src/App/api/index.js:20 17 | }; 18 | 19 | export const getUser = uuid => {

20 | return fetch(apiRoot + api/user/?uuid=${uuid}, { 21 | method: 'GET' 22 | }) 23 | } View compiled Record._this.requestUserDetails src/App/Record.js:152 149 | }; 150 | 151 | requestUserDetails = uuid => { 152 | getUser(uuid) 153 | .then(res => res.json()) 154 | .then(res => { 155 | if (res.success) { View compiled Record.componentDidMount src/App/Record.js:43 40 | 41 | componentDidMount() { 42 | document.addEventListener("keydown", this.handleKeyDown, false); 43 | this.requestUserDetails(this.uuid); 44 | } 45 | 46 | componentWillUnmount() {

marshalleq commented 11 months ago

I get the same on Chrome. Interestingly, I don't get it on Safari, but Safari doesn't have the mic support. Firefox just crashes. I should also note for me this is using the supplied docker image method.