Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Remote debug not working in latest builds

    SmartClient Version: SNAPSHOT_v13.1d_2024-07-08/AllModules Development Only (built 2024-07-08)
    and
    SmartClient Version: v13.0p_2024-07-07/AllModules Development Only (built 2024-07-07)

    Hello Isomorphic, it seems there's an issue with the remote debug feature. Initially, I thought it might be a configuration problem in my app/environment, but the behavior is (almost*) the same in the showcase.

    When you try it, you'll see in the RPC Tab that for every fetch request, the remote dev console shows the request but not the response, which remains "in progress."

    (*) I said "almost" because, in my app, not every request appears in the RPC Tab. Also, some responses do appear.
    Another visual glitch I observe only in my app is the mask on the page when I'm hovering over the "remote" select.



    #2
    I've tried an old build
    SmartClient Version: v13.0p_2022-01-04/Enterprise Deployment (built 2022-01-04)

    with the same application, and I see all requests and responses in the rpc tab

    Comment


      #3
      Hello, I still see the problem with the latest 13.0 and 13.1, may I ask if you see it also?

      I can add that I see this in the chrome console:
      Code:
      ISC_RealtimeMessaging.js?isc_version=v13.0p_2024-07-15.js:42 WebSocket is already in CLOSING or CLOSED state.
      isc_c_Messaging__send @ ISC_RealtimeMessaging.js?isc_version=v13.0p_2024-07-15.js:42
      isc_c_Messaging_send @ ISC_RealtimeMessaging.js?isc_version=v13.0p_2024-07-15.js:42
      $139v @ ISC_Core.js?isc_version=v13.0p_2024-07-15.js:2963
      send @ ISC_Core.js?isc_version=v13.0p_2024-07-15.js:2959
      call @ ISC_Core.js?isc_version=v13.0p_2024-07-15.js:2973
      isc_DebugTarget_displayEventTarget @ ISC_Core.js?isc_version=v13.0p_2024-07-15.js:2993
      eval @ VM6363:4
      thunk @ ISC_Core.js?isc_version=v13.0p_2024-07-15.js:375
      observation @ ISC_Core.js?isc_version=v13.0p_2024-07-15.js:371
      isc.A.getMouseEventProperties @ ISC_Core.js?isc_version=v13.0p_2024-07-15.js:2274
      isc_c_EventHandler_handleMouseMove @ ISC_Core.js?isc_version=v13.0p_2024-07-15.js:2347
      isc_c_EventHandler_dispatch @ ISC_Core.js?isc_version=v13.0p_2024-07-15.js:2699
      eval @ VM6137:3
      with 13.1 I also see this WARN in the chrome console of the dev console:
      Code:
      *18:33:55.972:MUP0:WARN:TabSet:requestViewer:no such tab: "aiRequestTab"
      isc.B.push.isc.A.addToMasterLog @ ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-07-15.js:1456

      Comment


        #4
        Hello, it seems that in the latest builds the remote debug is working, in the showcase.

        But in my application, I got this warn when trying to connect to the remote browser:

        Code:
        ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-08-31.js:1471 *11:44:50.883:TMR8:WARN:Messaging:RealtimeMessaging not licensed - refusing to subscribe()
        why is that? I'm using maven to include it:

        Code:
                  <dependency>
                    <groupId>com.isomorphic.smartclient.enterprise</groupId>
                    <artifactId>smartclient-messaging</artifactId>
                    <version>${smartclient.version}</version>
                    <type>pom</type>
                </dependency>
        and the module files seems to be there

        Comment


          #5
          Originally posted by claudiobosticco View Post
          Hello, it seems that in the latest builds the remote debug is working, in the showcase.
          excluding that I see [N/A] in the raw response tab, maybe it's the same problem seen here https://forums.smartclient.com/forum...420#post273420 ?

          Comment


            #6
            Hi Claudio
            We (somewhat recently) resolved an issue with Remote Debugging which likely fixed the original problem you reported in this thread.
            We'll investigate why you might be seeing the warning about RealtimeMessaging not being licensed and follow up

            Regards
            Isomorphic Software

            Comment


              #7
              Originally posted by claudiobosticco View Post

              excluding that I see [N/A] in the raw response tab, maybe it's the same problem seen here https://forums.smartclient.com/forum...420#post273420 ?
              The problem with the raw response tab should be resolved now back to 13.0 (the earliest affected branch). The fix will be in the nightly builds dated 2024-09-27 and beyond.

              Comment


                #8
                Hello, it seems to work in the showcase, but in my application I still see:

                Code:
                *15:17:31.412:TMR3:WARN:Messaging:RealtimeMessaging not licensed - refusing to subscribe()

                Comment


                  #9
                  We do see the warning you mention when we attach the developer console to a remote app in the SDK, but remote debugging still works. Can you confirm it still works in your case despite the warning? We're looking into why it's reported.

                  Note that you don't need to install the RTM module for remote debugging to work. The developer console framework uses it internally to achieve remote debugging so it's considered separate.

                  Comment


                    #10
                    Hello, remote debugging is only partially working, what works are the Results and Watch tabs. Instead the RPC tab doesn't work, nothing appears in it (while I see it working in the showcase).

                    Comment


                      #11
                      When there's a request in the "remote" page, in the tomcat log, just before the request, I see:

                      Code:
                      2024-09-27T21:34:40,455 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,418 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,419 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,523 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,530 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,531 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,537 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,538 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,541 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,542 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,545 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,546 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,547 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,651 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,654 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,656 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,670 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,678 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,684 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,689 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,691 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,694 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,696 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,698 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,700 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,701 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,703 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,705 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,707 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,709 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,711 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,712 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,713 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,715 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,717 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,719 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,721 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,722 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,724 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,728 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,730 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,743 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,745 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,748 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,750 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,752 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,753 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:41,754 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,004 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,006 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,299 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,300 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,316 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,317 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,366 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,368 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,383 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,385 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,399 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,400 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,699 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,700 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,833 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,834 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,850 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,855 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,856 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,900 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,901 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:42,902 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:43,133 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:43,134 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:43,134 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:43,439 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:43,441 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:43,442 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:44,224 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:44,227 [ ] DEBUG LocalMessageDispatcher sending message to channel: 640D7B82-695D-47B8-AF92-27B0B8CA0CFC
                      2024-09-27T21:34:44,361 [ ] ERROR MessagingWebSocketEndpoint Websocket closed unexpectedly: CloseReason: code [1009], reason [The decoded text message was too big for the output buffer and the endpoint does not support partial messages]
                      2024-09-27T21:34:44,361 [ ] DEBUG MessagingWebSocketEndpoint calling cleanup()
                      2024-09-27T21:34:44,362 [ ] DEBUG LocalMessageDispatcher unregistering channels: [
                          "8CC1839B-830C-4E6D-A141-E349DC868F6A",
                          "392923DD-E07B-486F-93D2-8C889CD4F1CE",
                          "isc_DebugTarget"
                      ]
                      2024-09-27T21:34:44,362 [ ] DEBUG LocalMessageDispatcher unregistering channel: 8CC1839B-830C-4E6D-A141-E349DC868F6A
                      2024-09-27T21:34:44,362 [ ] DEBUG LocalMessageDispatcher unregistering channel: 392923DD-E07B-486F-93D2-8C889CD4F1CE
                      2024-09-27T21:34:44,362 [ ] DEBUG LocalMessageDispatcher unregistering channel: isc_DebugTarget
                      set 27, 2024 9:34:44 PM org.apache.coyote.AbstractProtocol$ConnectionHandler process
                      GRAVE: Error reading request, ignored
                      java.lang.IllegalStateException: Unexpected read state [CLOSING]
                          at org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:163)
                          at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:148)
                          at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:54)
                          at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53)
                          at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
                          at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
                          at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
                          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                          at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                          at java.lang.Thread.run(Thread.java:748)
                      
                      set 27, 2024 9:34:44 PM org.apache.catalina.core.StandardWrapperValve invoke
                      INFORMAZIONI: 2024-09-27T21:34:44,396 [20240927192411] DEBUG RPCManager Starting request parsing
                      
                      ... and then the Request log
                      note the
                      Code:
                      ERROR MessagingWebSocketEndpoint Websocket closed unexpectedly:
                      line, does it mean something to you?

                      Comment


                        #12
                        Originally posted by claudiobosticco View Post

                        note the
                        Code:
                        ERROR MessagingWebSocketEndpoint Websocket closed unexpectedly:
                        line, does it mean something to you?
                        There should be something after "unexpectedly:". Can you please provide the complete log?

                        Comment


                          #13
                          yep, it's in the complete log above, at 2024-09-27T21:34:44,361:
                          Code:
                          ERROR MessagingWebSocketEndpoint Websocket closed unexpectedly: CloseReason: code [1009], reason [The decoded text message was too big for the output buffer and the endpoint does not support partial messages]

                          Comment

                          Working...
                          X