Start a new topic
iink SDK Web
Hello,
Sometimes I got 503 error during myscript.js initialization(and works fine after several minutes).
Is there any problem with myscript cloud server?
My params and error messages are as follows:
1) params
recognitionParams: {
type: 'TEXT',
protocol: 'WEBSOCKET',
apiVersion: 'V4',
server: {
scheme: 'https',
host: 'cloud.myscript.com',
...
2) Error message :
networkWSInterface.js:45 WebSocket connection to 'wss://cloud.myscript.com/api/v4.0/iink/document' failed: Error during WebSocket handshake: Unexpected response code: 503
o @ networkWSInterface.js:45
o @ CdkWSRecognizerUtil.js:48
S @ Cdkv4WSIInkRecognizer.js:272
e @ Editor.js:614
set @ Editor.js:637
set @ Editor.js:570
set @ Editor.js:471
t @ Editor.js:441
r @ EditorFacade.js:16
(anonymous) @ 29:594
j @ jquery-3.2.1.min.js:2
k @ jquery-3.2.1.min.js:2
Editor.js:166 Error while firing the recognition {isTrusted: true, recoverable: false}
l @ Editor.js:166
l @ Editor.js:192
(anonymous) @ Editor.js:617
lt @ Cdkv4WSIInkRecognizer.js:258
callback @ Cdkv4WSIInkRecognizer.js:270
(anonymous) @ Cdkv4WSBuilder.js:138
n.onerror @ networkWSInterface.js:66
KiRINote.that.initHandWriting @ note.js:107
KiRINote.that.initNote @ note.js:401
KiRINote @ note.js:645
(anonymous) @ note.js:853
networkWSInterface.js:12 Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.
at http://..../assets/vendor/myscript-v41/dist/myscript.min.js:7:43088
Minho Lee
Hello,
Sometimes I got 503 error during myscript.js initialization(and works fine after several minutes).
Is there any problem with myscript cloud server?
My params and error messages are as follows:
1) params
recognitionParams: {
type: 'TEXT',
protocol: 'WEBSOCKET',
apiVersion: 'V4',
server: {
scheme: 'https',
host: 'cloud.myscript.com',
...
2) Error message :
networkWSInterface.js:45 WebSocket connection to 'wss://cloud.myscript.com/api/v4.0/iink/document' failed: Error during WebSocket handshake: Unexpected response code: 503
o @ networkWSInterface.js:45
o @ CdkWSRecognizerUtil.js:48
S @ Cdkv4WSIInkRecognizer.js:272
e @ Editor.js:614
set @ Editor.js:637
set @ Editor.js:570
set @ Editor.js:471
t @ Editor.js:441
r @ EditorFacade.js:16
(anonymous) @ 29:594
j @ jquery-3.2.1.min.js:2
k @ jquery-3.2.1.min.js:2
Editor.js:166 Error while firing the recognition {isTrusted: true, recoverable: false}
l @ Editor.js:166
l @ Editor.js:192
(anonymous) @ Editor.js:617
lt @ Cdkv4WSIInkRecognizer.js:258
callback @ Cdkv4WSIInkRecognizer.js:270
(anonymous) @ Cdkv4WSBuilder.js:138
n.onerror @ networkWSInterface.js:66
networkWSInterface.js:45 WebSocket connection to 'wss://cloud.myscript.com/api/v4.0/iink/document' failed: Error during WebSocket handshake: Unexpected response code: 503
o @ networkWSInterface.js:45
o @ CdkWSRecognizerUtil.js:48
S @ Cdkv4WSIInkRecognizer.js:272
e @ Editor.js:614
set @ Editor.js:637
set @ Editor.js:570
set @ Editor.js:471
t @ Editor.js:441
r @ EditorFacade.js:16
KiRINote.that.initHandWriting @ note.js:107
KiRINote.that.initNote @ note.js:401
KiRINote @ note.js:645
(anonymous) @ note.js:853
j @ jquery-3.2.1.min.js:2
k @ jquery-3.2.1.min.js:2
Editor.js:166 Error while firing the recognition {isTrusted: true, recoverable: false}
l @ Editor.js:166
l @ Editor.js:192
(anonymous) @ Editor.js:617
lt @ Cdkv4WSIInkRecognizer.js:258
callback @ Cdkv4WSIInkRecognizer.js:270
(anonymous) @ Cdkv4WSBuilder.js:138
n.onerror @ networkWSInterface.js:66
networkWSInterface.js:12 Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.
at http://..../assets/vendor/myscript-v41/dist/myscript.min.js:7:43088