Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote console (websockets) regression #92

Open
joewiz opened this issue Jul 19, 2019 · 11 comments
Open

Remote console (websockets) regression #92

joewiz opened this issue Jul 19, 2019 · 11 comments
Labels

Comments

@joewiz
Copy link
Member

joewiz commented Jul 19, 2019

Problem: Requests to ws://localhost:8080/exist/rconsole fail return a 404 with monex 1.0.0 and 1.0.1, whereas the 0.9.16 release does not exhibit this error.

Background: As reported on exist-open by @craigberry and confirmed by @simar0at:

I'm trying to debug something with eXist-db 4.7.0 which apparently comes with monex 1.0.1. Any attempt to open the remote console fails and leaves something like the following in the JavaScript console:

WebSocket connection to 'ws://localhost:8080/exist/rconsole' failed: Unexpected response code: 404

I can reproduce the exact same problem with eXist 4.7.0 running on macOS Mojave, RHEL 7.6, and Ubuntu 16.04.

@simar0at added:

I also saw that problem yesterday with our instances of exist-db 4.3.1 which offered 1.0.1 as an upgrade to Monex which I installed... I installed the 0.9.16 monex xar and things work as expected.

@craigberry confirmed:

Thanks. That trick worked for me as well with eXist 4.7.0. First I uninstalled monex, then installed the 0.9.16 monex xar, then restarted eXist. I now have a functioning remote console.

@joewiz joewiz added the bug label Jul 19, 2019
@craigberry
Copy link

monex 1.0.0 has the same error. And it is downgrading to 0.9.16, not 0.9.6, that has been confirmed to work.

@duncdrum
Copy link
Contributor

duncdrum commented Jul 19, 2019

see eXist-db/e2e-core#24 and the community call notes, this is the 404 behaviour i see on docker as well

@joewiz
Copy link
Member Author

joewiz commented Jul 19, 2019

@duncdrum During the community call, I thought we were talking about monex 2.x. I couldn't reproduce any problems with the rconsole/websockets on monex 2.x with 5.0.0-develop. Are you seeing problems in 2.x too, or just 1.x?

@duncdrum
Copy link
Contributor

as you can see in the logs both on 4.7 and 5.0.0-RC8-Snapshot

@duncdrum
Copy link
Contributor

see eXist-db/exist#2880

@joewiz
Copy link
Member Author

joewiz commented Jul 24, 2019

I can reproduce the report of the remote console pane not working under monex 1.0.1 + eXist 4.7.0. Also, I can confirm that downgrading to monex 0.9.16 (by downloading it from the public-repo's website and installing the xar via Package Manager) and restarting eXist restores the remote console pane functionality of monex.

However, with monex 2.0.2 + eXist develop (5.0.0), the console pane works fine.

Could it be that the more severe problems we're seeing with monex 1.0.1 are because we didn't backport #88 to the monex-1.x branch?

@line-o
Copy link
Member

line-o commented Nov 11, 2020

@joewiz what is the status of this issue? Was it fixed in the meantime?

@joewiz
Copy link
Member Author

joewiz commented Nov 30, 2020

@line-o It's awaiting resources for a fix by someone invested in using monex under eXist 4.x.

@line-o
Copy link
Member

line-o commented Sep 19, 2022

@joewiz can we close this issue now that exist 4 is no longer maintained?

@line-o
Copy link
Member

line-o commented Sep 19, 2022

However, with monex 2.0.2 + eXist develop (5.0.0), the console pane works fine.

We might check how many times monex 1.x.x is still downloaded.

@pherk
Copy link

pherk commented May 28, 2023

download numbers might not represent the user base still have to use 4.x.x (betterforms ;-)

I recently upgraded from 4.4.3 to 4.12-snapshot.
Monex console showed the known problems to connect to rconsole (see above).
Today I tried downgrading Monex to 0.9.16, after restarting existdb Firefox console shows:
Uncaught TypeError: Unable to process binding "with: function(){return findByName($data.jmx.CacheManager(),'org.exist.management.exist:type=CacheManager') }"
Message: $data.jmx.CacheManager is not a function
... from knockout-3.1.0

regards
Peter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants