xref: /unit/src/java/nginx/unit/websocket/LocalStrings.properties (revision 1157:7ae152bda303)
1*1157Smax.romanov@nginx.com# Licensed to the Apache Software Foundation (ASF) under one or more
2*1157Smax.romanov@nginx.com# contributor license agreements.  See the NOTICE file distributed with
3*1157Smax.romanov@nginx.com# this work for additional information regarding copyright ownership.
4*1157Smax.romanov@nginx.com# The ASF licenses this file to You under the Apache License, Version 2.0
5*1157Smax.romanov@nginx.com# (the "License"); you may not use this file except in compliance with
6*1157Smax.romanov@nginx.com# the License.  You may obtain a copy of the License at
7*1157Smax.romanov@nginx.com#
8*1157Smax.romanov@nginx.com#     http://www.apache.org/licenses/LICENSE-2.0
9*1157Smax.romanov@nginx.com#
10*1157Smax.romanov@nginx.com# Unless required by applicable law or agreed to in writing, software
11*1157Smax.romanov@nginx.com# distributed under the License is distributed on an "AS IS" BASIS,
12*1157Smax.romanov@nginx.com# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*1157Smax.romanov@nginx.com# See the License for the specific language governing permissions and
14*1157Smax.romanov@nginx.com# limitations under the License.
15*1157Smax.romanov@nginx.com
16*1157Smax.romanov@nginx.comasyncChannelGroup.createFail=Unable to create dedicated AsynchronousChannelGroup for WebSocket clients which is required to prevent memory leaks in complex class loader environments like JavaEE containers
17*1157Smax.romanov@nginx.com
18*1157Smax.romanov@nginx.comasyncChannelWrapperSecure.closeFail=Failed to close channel cleanly
19*1157Smax.romanov@nginx.comasyncChannelWrapperSecure.check.notOk=TLS handshake returned an unexpected status [{0}]
20*1157Smax.romanov@nginx.comasyncChannelWrapperSecure.check.unwrap=Bytes were written to the output during a read
21*1157Smax.romanov@nginx.comasyncChannelWrapperSecure.check.wrap=Bytes were consumed from the input during a write
22*1157Smax.romanov@nginx.comasyncChannelWrapperSecure.concurrentRead=Concurrent read operations are not permitted
23*1157Smax.romanov@nginx.comasyncChannelWrapperSecure.concurrentWrite=Concurrent write operations are not permitted
24*1157Smax.romanov@nginx.comasyncChannelWrapperSecure.eof=Unexpected end of stream
25*1157Smax.romanov@nginx.comasyncChannelWrapperSecure.notHandshaking=Unexpected state [NOT_HANDSHAKING] during TLS handshake
26*1157Smax.romanov@nginx.comasyncChannelWrapperSecure.readOverflow=Buffer overflow. [{0}] bytes to write into a [{1}] byte buffer that already contained [{2}] bytes.
27*1157Smax.romanov@nginx.comasyncChannelWrapperSecure.statusUnwrap=Unexpected Status of SSLEngineResult after an unwrap() operation
28*1157Smax.romanov@nginx.comasyncChannelWrapperSecure.statusWrap=Unexpected Status of SSLEngineResult after a wrap() operation
29*1157Smax.romanov@nginx.comasyncChannelWrapperSecure.tooBig=The result [{0}] is too big to be expressed as an Integer
30*1157Smax.romanov@nginx.comasyncChannelWrapperSecure.wrongStateRead=Flag that indicates a read is in progress was found to be false (it should have been true) when trying to complete a read operation
31*1157Smax.romanov@nginx.comasyncChannelWrapperSecure.wrongStateWrite=Flag that indicates a write is in progress was found to be false (it should have been true) when trying to complete a write operation
32*1157Smax.romanov@nginx.com
33*1157Smax.romanov@nginx.combackgroundProcessManager.processFailed=A background process failed
34*1157Smax.romanov@nginx.com
35*1157Smax.romanov@nginx.comcaseInsensitiveKeyMap.nullKey=Null keys are not permitted
36*1157Smax.romanov@nginx.com
37*1157Smax.romanov@nginx.comfutureToSendHandler.timeout=Operation timed out after waiting [{0}] [{1}] to complete
38*1157Smax.romanov@nginx.com
39*1157Smax.romanov@nginx.comperMessageDeflate.deflateFailed=Failed to decompress a compressed WebSocket frame
40*1157Smax.romanov@nginx.comperMessageDeflate.duplicateParameter=Duplicate definition of the [{0}] extension parameter
41*1157Smax.romanov@nginx.comperMessageDeflate.invalidWindowSize=An invalid windows of [{1}] size was specified for [{0}]. Valid values are whole numbers from 8 to 15 inclusive.
42*1157Smax.romanov@nginx.comperMessageDeflate.unknownParameter=An unknown extension parameter [{0}] was defined
43*1157Smax.romanov@nginx.com
44*1157Smax.romanov@nginx.comtransformerFactory.unsupportedExtension=The extension [{0}] is not supported
45*1157Smax.romanov@nginx.com
46*1157Smax.romanov@nginx.comutil.notToken=An illegal extension parameter was specified with name [{0}] and value [{1}]
47*1157Smax.romanov@nginx.comutil.invalidMessageHandler=The message handler provided does not have an onMessage(Object) method
48*1157Smax.romanov@nginx.comutil.invalidType=Unable to coerce value [{0}] to type [{1}]. That type is not supported.
49*1157Smax.romanov@nginx.comutil.unknownDecoderType=The Decoder type [{0}] is not recognized
50*1157Smax.romanov@nginx.com
51*1157Smax.romanov@nginx.com# Note the wsFrame.* messages are used as close reasons in WebSocket control
52*1157Smax.romanov@nginx.com# frames and therefore must be 123 bytes (not characters) or less in length.
53*1157Smax.romanov@nginx.com# Messages are encoded using UTF-8 where a single character may be encoded in
54*1157Smax.romanov@nginx.com# as many as 4 bytes.
55*1157Smax.romanov@nginx.comwsFrame.alreadyResumed=Message receiving has already been resumed.
56*1157Smax.romanov@nginx.comwsFrame.alreadySuspended=Message receiving has already been suspended.
57*1157Smax.romanov@nginx.comwsFrame.bufferTooSmall=No async message support and buffer too small. Buffer size: [{0}], Message size: [{1}]
58*1157Smax.romanov@nginx.comwsFrame.byteToLongFail=Too many bytes ([{0}]) were provided to be converted into a long
59*1157Smax.romanov@nginx.comwsFrame.closed=New frame received after a close control frame
60*1157Smax.romanov@nginx.comwsFrame.controlFragmented=A fragmented control frame was received but control frames may not be fragmented
61*1157Smax.romanov@nginx.comwsFrame.controlPayloadTooBig=A control frame was sent with a payload of size [{0}] which is larger than the maximum permitted of 125 bytes
62*1157Smax.romanov@nginx.comwsFrame.controlNoFin=A control frame was sent that did not have the fin bit set. Control frames are not permitted to use continuation frames.
63*1157Smax.romanov@nginx.comwsFrame.illegalReadState=Unexpected read state [{0}]
64*1157Smax.romanov@nginx.comwsFrame.invalidOpCode= A WebSocket frame was sent with an unrecognised opCode of [{0}]
65*1157Smax.romanov@nginx.comwsFrame.invalidUtf8=A WebSocket text frame was received that could not be decoded to UTF-8 because it contained invalid byte sequences
66*1157Smax.romanov@nginx.comwsFrame.invalidUtf8Close=A WebSocket close frame was received with a close reason that contained invalid UTF-8 byte sequences
67*1157Smax.romanov@nginx.comwsFrame.ioeTriggeredClose=An unrecoverable IOException occurred so the connection was closed
68*1157Smax.romanov@nginx.comwsFrame.messageTooBig=The message was [{0}] bytes long but the MessageHandler has a limit of [{1}] bytes
69*1157Smax.romanov@nginx.comwsFrame.noContinuation=A new message was started when a continuation frame was expected
70*1157Smax.romanov@nginx.comwsFrame.notMasked=The client frame was not masked but all client frames must be masked
71*1157Smax.romanov@nginx.comwsFrame.oneByteCloseCode=The client sent a close frame with a single byte payload which is not valid
72*1157Smax.romanov@nginx.comwsFrame.partialHeaderComplete=WebSocket frame received. fin [{0}], rsv [{1}], OpCode [{2}], payload length [{3}]
73*1157Smax.romanov@nginx.comwsFrame.sessionClosed=The client data cannot be processed because the session has already been closed
74*1157Smax.romanov@nginx.comwsFrame.suspendRequested=Suspend of the message receiving has already been requested.
75*1157Smax.romanov@nginx.comwsFrame.textMessageTooBig=The decoded text message was too big for the output buffer and the endpoint does not support partial messages
76*1157Smax.romanov@nginx.comwsFrame.wrongRsv=The client frame set the reserved bits to [{0}] for a message with opCode [{1}] which was not supported by this endpoint
77*1157Smax.romanov@nginx.com
78*1157Smax.romanov@nginx.comwsFrameClient.ioe=Failure while reading data sent by server
79*1157Smax.romanov@nginx.com
80*1157Smax.romanov@nginx.comwsHandshakeRequest.invalidUri=The string [{0}] cannot be used to construct a valid URI
81*1157Smax.romanov@nginx.comwsHandshakeRequest.unknownScheme=The scheme [{0}] in the request is not recognised
82*1157Smax.romanov@nginx.com
83*1157Smax.romanov@nginx.comwsRemoteEndpoint.acquireTimeout=The current message was not fully sent within the specified timeout
84*1157Smax.romanov@nginx.comwsRemoteEndpoint.closed=Message will not be sent because the WebSocket session has been closed
85*1157Smax.romanov@nginx.comwsRemoteEndpoint.closedDuringMessage=The remainder of the message will not be sent because the WebSocket session has been closed
86*1157Smax.romanov@nginx.comwsRemoteEndpoint.closedOutputStream=This method may not be called as the OutputStream has been closed
87*1157Smax.romanov@nginx.comwsRemoteEndpoint.closedWriter=This method may not be called as the Writer has been closed
88*1157Smax.romanov@nginx.comwsRemoteEndpoint.changeType=When sending a fragmented message, all fragments must be of the same type
89*1157Smax.romanov@nginx.comwsRemoteEndpoint.concurrentMessageSend=Messages may not be sent concurrently even when using the asynchronous send messages. The client must wait for the previous message to complete before sending the next.
90*1157Smax.romanov@nginx.comwsRemoteEndpoint.flushOnCloseFailed=Batched messages still enabled after session has been closed. Unable to flush remaining batched message.
91*1157Smax.romanov@nginx.comwsRemoteEndpoint.invalidEncoder=The specified encoder of type [{0}] could not be instantiated
92*1157Smax.romanov@nginx.comwsRemoteEndpoint.noEncoder=No encoder specified for object of class [{0}]
93*1157Smax.romanov@nginx.comwsRemoteEndpoint.nullData=Invalid null data argument
94*1157Smax.romanov@nginx.comwsRemoteEndpoint.nullHandler=Invalid null handler argument
95*1157Smax.romanov@nginx.comwsRemoteEndpoint.sendInterrupt=The current thread was interrupted while waiting for a blocking send to complete
96*1157Smax.romanov@nginx.comwsRemoteEndpoint.tooMuchData=Ping or pong may not send more than 125 bytes
97*1157Smax.romanov@nginx.comwsRemoteEndpoint.wrongState=The remote endpoint was in state [{0}] which is an invalid state for called method
98*1157Smax.romanov@nginx.com
99*1157Smax.romanov@nginx.com# Note the following message is used as a close reason in a WebSocket control
100*1157Smax.romanov@nginx.com# frame and therefore must be 123 bytes (not characters) or less in length.
101*1157Smax.romanov@nginx.com# Messages are encoded using UTF-8 where a single character may be encoded in
102*1157Smax.romanov@nginx.com# as many as 4 bytes.
103*1157Smax.romanov@nginx.comwsSession.timeout=The WebSocket session [{0}] timeout expired
104*1157Smax.romanov@nginx.com
105*1157Smax.romanov@nginx.comwsSession.closed=The WebSocket session [{0}] has been closed and no method (apart from close()) may be called on a closed session
106*1157Smax.romanov@nginx.comwsSession.created=Created WebSocket session [{0}]
107*1157Smax.romanov@nginx.comwsSession.doClose=Closing WebSocket session [{1}]
108*1157Smax.romanov@nginx.comwsSession.duplicateHandlerBinary=A binary message handler has already been configured
109*1157Smax.romanov@nginx.comwsSession.duplicateHandlerPong=A pong message handler has already been configured
110*1157Smax.romanov@nginx.comwsSession.duplicateHandlerText=A text message handler has already been configured
111*1157Smax.romanov@nginx.comwsSession.invalidHandlerTypePong=A pong message handler must implement MessageHandler.Whole
112*1157Smax.romanov@nginx.comwsSession.flushFailOnClose=Failed to flush batched messages on session close
113*1157Smax.romanov@nginx.comwsSession.messageFailed=Unable to write the complete message as the WebSocket connection has been closed
114*1157Smax.romanov@nginx.comwsSession.sendCloseFail=Failed to send close message for session [{0}] to remote endpoint
115*1157Smax.romanov@nginx.comwsSession.removeHandlerFailed=Unable to remove the handler [{0}] as it was not registered with this session
116*1157Smax.romanov@nginx.comwsSession.unknownHandler=Unable to add the message handler [{0}] as it was for the unrecognised type [{1}]
117*1157Smax.romanov@nginx.comwsSession.unknownHandlerType=Unable to add the message handler [{0}] as it was wrapped as the unrecognised type [{1}]
118*1157Smax.romanov@nginx.comwsSession.instanceNew=Endpoint instance registration failed
119*1157Smax.romanov@nginx.comwsSession.instanceDestroy=Endpoint instance unregistration failed
120*1157Smax.romanov@nginx.com
121*1157Smax.romanov@nginx.com# Note the following message is used as a close reason in a WebSocket control
122*1157Smax.romanov@nginx.com# frame and therefore must be 123 bytes (not characters) or less in length.
123*1157Smax.romanov@nginx.com# Messages are encoded using UTF-8 where a single character may be encoded in
124*1157Smax.romanov@nginx.com# as many as 4 bytes.
125*1157Smax.romanov@nginx.comwsWebSocketContainer.shutdown=The web application is stopping
126*1157Smax.romanov@nginx.com
127*1157Smax.romanov@nginx.comwsWebSocketContainer.defaultConfiguratorFail=Failed to create the default configurator
128*1157Smax.romanov@nginx.comwsWebSocketContainer.endpointCreateFail=Failed to create a local endpoint of type [{0}]
129*1157Smax.romanov@nginx.comwsWebSocketContainer.maxBuffer=This implementation limits the maximum size of a buffer to Integer.MAX_VALUE
130*1157Smax.romanov@nginx.comwsWebSocketContainer.missingAnnotation=Cannot use POJO class [{0}] as it is not annotated with @ClientEndpoint
131*1157Smax.romanov@nginx.comwsWebSocketContainer.sessionCloseFail=Session with ID [{0}] did not close cleanly
132*1157Smax.romanov@nginx.com
133*1157Smax.romanov@nginx.comwsWebSocketContainer.asynchronousSocketChannelFail=Unable to open a connection to the server
134*1157Smax.romanov@nginx.comwsWebSocketContainer.httpRequestFailed=The HTTP request to initiate the WebSocket connection failed
135*1157Smax.romanov@nginx.comwsWebSocketContainer.invalidExtensionParameters=The server responded with extension parameters the client is unable to support
136*1157Smax.romanov@nginx.comwsWebSocketContainer.invalidHeader=Unable to parse HTTP header as no colon is present to delimit header name and header value in [{0}]. The header has been skipped.
137*1157Smax.romanov@nginx.comwsWebSocketContainer.invalidStatus=The HTTP response from the server [{0}] did not permit the HTTP upgrade to WebSocket
138*1157Smax.romanov@nginx.comwsWebSocketContainer.invalidSubProtocol=The WebSocket server returned multiple values for the Sec-WebSocket-Protocol header
139*1157Smax.romanov@nginx.comwsWebSocketContainer.pathNoHost=No host was specified in URI
140*1157Smax.romanov@nginx.comwsWebSocketContainer.pathWrongScheme=The scheme [{0}] is not supported. The supported schemes are ws and wss
141*1157Smax.romanov@nginx.comwsWebSocketContainer.proxyConnectFail=Failed to connect to the configured Proxy [{0}]. The HTTP response code was [{1}]
142*1157Smax.romanov@nginx.comwsWebSocketContainer.sslEngineFail=Unable to create SSLEngine to support SSL/TLS connections
143*1157Smax.romanov@nginx.comwsWebSocketContainer.missingLocationHeader=Failed to handle HTTP response code [{0}]. Missing Location header in response
144*1157Smax.romanov@nginx.comwsWebSocketContainer.redirectThreshold=Cyclic Location header [{0}] detected / reached max number of redirects [{1}] of max [{2}]
145*1157Smax.romanov@nginx.comwsWebSocketContainer.unsupportedAuthScheme=Failed to handle HTTP response code [{0}]. Unsupported Authentication scheme [{1}] returned in response
146*1157Smax.romanov@nginx.comwsWebSocketContainer.failedAuthentication=Failed to handle HTTP response code [{0}]. Authentication header was not accepted by server.
147*1157Smax.romanov@nginx.comwsWebSocketContainer.missingWWWAuthenticateHeader=Failed to handle HTTP response code [{0}]. Missing WWW-Authenticate header in response
148