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
499 stars 116 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 1 year ago

ZeLiu369 commented 1 year 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 1 year 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.