jenkins-control-plugin
jenkins-control-plugin copied to clipboard
CSRF enabled -> Missing or bad crumb data when running Clion through VNC
Hi,
When using the plugin locally, it works fine with no error, but if I'm VNCing into the computer (from windows to linux), I get the CSRF enabled -> Missing or bad crumb data error for some reason and the plugin simply does not work.
I am using the version 0.13.20 on Clion 2024.1
sounds strange. Why VNC should change the communication from the remote computer to remote server?
But I can try to reproduce it. Can you verify from terminal/commandline if you are connected via VNC?
curl -u user:Token -v https://jenkins-url.com/api/json
In case it helps someone, I had this error today and it turned out to be just a copy paste error leaving me with an invalid token.
@HGeorge-Adapdix This mean a wrong token was copied? With a valid on it works for you?
https://jenkins-url.com/crumbIssuer/api/json
@healthy-tree What is the comment meaning? a crumissue is not needd if you use API token instead password
And with a self-signed certificate on Jenkins ?
self signed should work. intelij will ask o to trust it. the plugin use the trusted certs in IDE