abi / screenshot-to-code

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Home Page:https://screenshottocode.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I deploy the project on the server and use https to upload screenshots to generate code, but it will make an error if I record the screen.

chuanzhuwwei opened this issue · comments

I deploy the project on the server and use https to upload screenshots to generate code, but it will make an error if I record the screen.

Error generating code. Check the Developer Console AND the backend logs for details. Feel free to open a Github issue

Connecting to backend @ wss://chatxm.top/generate-code
generateCode.ts:48 Connection closed 1006
generateCode.ts:56
Unknown server or connection error
CloseEvent {isTrusted: true, wasClean: false, code: 1006, reason: '', type: 'close', …}
isTrusted
:
true
bubbles
:
false
cancelBubble
:
false
cancelable
:
false
code
:
1006
composed
:
false
currentTarget
:
WebSocket {url: 'wss://chatxm.top/generate-code', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}
defaultPrevented
:
false
eventPhase
:
0
reason
:
""
returnValue
:
true
srcElement
:
WebSocket {url: 'wss://chatxm.top/generate-code', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}
target
:
WebSocket {url: 'wss://chatxm.top/generate-code', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}
timeStamp
:
463788.0999999996
type
:
"close"
wasClean
:
false
[[Prototype]]
:
CloseEvent
(匿名) @ generateCode.ts:56

Could you share backend server logs? Need those to debug the video failure.

Closing due to inactivity