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
command chained exception #4
Comments
It's impossible to say without more information. It may be impossible to diagnose without a sample that reproduces the problem. My guess is that spring security is getting in front of the remote control access point and returning something surprising. If you can configure spring security to leave «app root»/grails-remote-control alone. |
Hi, Ive been using the remote control plugin successfully until i installed spring security and started receiving the errors described above. May I know how to configure spring security to leave «app root»/grails-remote-control alone? How do I get the remote plugin to play nice with spring security? Thanks. |
Hi @johnlim , You need to configure spring security to not try and authenticate requests to |
@alkemist: Thanks! |
Hi,
I am using this plugin and trying to access message bundles.
Below is the stacktrace I get. Is there something am I missing? Also, we are using spring-security-LDAP
groovyx.remote.RemoteControlException: Error sending command chain to 'http://localhost:8080/******/grails-remote-control'
[test] at groovyx.remote.transport.http.HttpTransport.send(HttpTransport.groovy:65)
[test] at groovyx.remote.client.RemoteControl.sendCommandChain(RemoteControl.groovy:114)
[test] at groovyx.remote.client.RemoteControl.exec(RemoteControl.groovy:73)
[test] at groovyx.remote.client.RemoteControl.exec(RemoteControl.groovy:67)
[test] at cgw.login.AbstractCGWGebSpec.msg(AbstractCGWGebSpec.groovy:35)
[test] at cgw.login.AbstractCGWGebSpec.Login to cgw application(AbstractCGWGebSpec.groovy:25)
[test] Caused by: java.io.StreamCorruptedException: invalid stream header: 3C68746D
[test] at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:782)
[test] at java.io.ObjectInputStream.(ObjectInputStream.java:279)
[test] at groovyx.remote.util.ClassLoaderConfigurableObjectInputStream.(ClassLoaderConfigurableObjectInputStream.groovy:26)
[test] at groovyx.remote.Result.readFrom(Result.groovy:150)
[test] at groovyx.remote.transport.http.HttpTransport.send_closure1(HttpTransport.groovy:62)
[test] at groovyx.remote.transport.http.HttpTransport.send(HttpTransport.groovy:53)
Regards
Lalit
The text was updated successfully, but these errors were encountered: