notes.transformap.co


(TransforMap Collective) #1

We are testing hackpad as collaborative note taking editor:
https://notes.transformap.co

Report your experience and ask questions here.

A howto and FAQ has been started in hackpad: https://notes.transformap.co/Hackpad-HowTo-and-FAQ-aEdBxKP7iQa


Documentation project?
(Gualter Barbas Baptista) #2

It was working really good, but at the moment seems to be down, @almereyda


(Jon Richter) #3

You are talking about Hackpad, right? I cannot confirm. Any details?


(Gualter Barbas Baptista) #4

Sure

net.appjet.bodylock.JSRuntimeException: Error while executing: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at net.appjet.bodylock.InnerExecutable.execute(bodylock.scala:84)
	at net.appjet.oui.execution$$anonfun$execute$4.apply(execution.scala:526)
	at net.appjet.oui.NoninheritedDynamicVariable.withValue(dynamicvar.scala:38)
	at net.appjet.oui.ExecutionContextUtils$.withContext(execution.scala:349)
	at net.appjet.oui.execution$.execute(execution.scala:522)
	at net.appjet.oui.execution$.execute(execution.scala:501)
	at net.appjet.oui.OuiServlet.execute(execution.scala:431)
	at net.appjet.oui.OuiServlet.doGet(execution.scala:375)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:322)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:913)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1506)
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
	at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
	at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
	at JS$module$netutils$js$39._c__processResponse_18(module netutils.js:218)
	at JS$module$netutils$js$39.call(module netutils.js)
	at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
	at JS$module$netutils$js$39._c_urlGet_5(module netutils.js:88)
	at JS$module$netutils$js$39.call(module netutils.js)
	at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
	at JS$module$etherpad$pro$pro$account$auto$signin$js$88._c_getSubdomainSession_3(module etherpad/pro/pro_account_auto_signin.js:65)
	at JS$module$etherpad$pro$pro$account$auto$signin$js$88.call(module etherpad/pro/pro_account_auto_signin.js)
	at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
	at JS$module$etherpad$pro$pro$account$auto$signin$js$88._c_checkUnifiedAccountsAutoSignIn_4(module etherpad/pro/pro_account_auto_signin.js:83)
	at JS$module$etherpad$pro$pro$account$auto$signin$js$88.call(module etherpad/pro/pro_account_auto_signin.js)
	at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
	at JS$module$etherpad$pro$pro$account$auto$signin$js$88._c_checkAutoSignin_6(module etherpad/pro/pro_account_auto_signin.js:130)
	at JS$module$etherpad$pro$pro$account$auto$signin$js$88.call(module etherpad/pro/pro_account_auto_signin.js)
	at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
	at JS$module$etherpad$control$pad$pad$render$control$js$100._c_renderPadWithTemplate_8(module etherpad/control/pad/pad_render_control.js:208)
	at JS$module$etherpad$control$pad$pad$render$control$js$100.call(module etherpad/control/pad/pad_render_control.js)
	at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
	at JS$module$etherpad$control$pad$pad$render$control$js$100._c_render_pad_get_23(module etherpad/control/pad/pad_render_control.js:564)
	at JS$module$etherpad$control$pad$pad$render$control$js$100.call(module etherpad/control/pad/pad_render_control.js)
	at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2521)
	at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:300)
	at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:129)
	at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
	at JS$module$dispatch$js$46._c_anonymous_9(module dispatch.js:122)
	at JS$module$dispatch$js$46.call(module dispatch.js)
	at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
	at JS$module$etherpad$control$pad$pad$control$js$101._c_onRequest_2(module etherpad/control/pad/pad_control.js:103)
	at JS$module$etherpad$control$pad$pad$control$js$101.call(module etherpad/control/pad/pad_control.js)
	at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
	at JS$module$dispatch$js$46._c_anonymous_11(module dispatch.js:149)
	at JS$module$dispatch$js$46.call(module dispatch.js)
	at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2521)
	at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:300)
	at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:129)
	at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
	at JS$module$dispatch$js$46._c_anonymous_9(module dispatch.js:122)
	at JS$module$dispatch$js$46.call(module dispatch.js)
	at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
	at JS$module$main$js$139._c_handlePath_26(module main.js:448)
	at JS$module$main$js$139.call(module main.js)
	at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
	at JS$module$main$js$139._c_anonymous_8(module main.js:180)
	at JS$module$main$js$139.call(module main.js)
	at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
	at JS$module$onrequest$js$262._c_script_0(module onrequest.js:24)
	at JS$module$onrequest$js$262.call(module onrequest.js)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178)
	at JS$module$onrequest$js$262.call(module onrequest.js)
	at JS$module$onrequest$js$262.exec(module onrequest.js)
	at net.appjet.bodylock.InnerExecutable$$anonfun$execute$1.apply(bodylock.scala:76)
	at net.appjet.bodylock.InnerExecutable$$anonfun$execute$1.apply(bodylock.scala:75)
	at net.appjet.bodylock.BodyLock$.runInContext(bodylock.scala:111)
	at net.appjet.bodylock.InnerExecutable.execute(bodylock.scala:75)
	... 23 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
	at sun.security.validator.Validator.validate(Validator.java:260)
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1488)
	... 98 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:146)
	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
	... 104 more

(Jon Richter) #5

I’ve seen this before, yesterday night when I wanted to show the accidental progress I made to @Simon_Sarazin. Right now I still can’t reproduce it, and @species seems to be online in the pad, too. If the traceback only said which certificate it can’t validate.


(Gualter Barbas Baptista) #6

I managed to solve it by logging out and in again. It is probably a session caching problem on the server side.

If someone faces this, to logout you should go to the side menu, then + new workspace and choose to use another account, effectively logging out of the current. Then selecting to login with the same account again will clear it up.


(Thomas Kalka) #7

I got the same error and am able to reproduce it. So @almereyda change the error message and give me a ping.


(Thomas Kalka) #8

You could change the code to include more hints in the raised exception?


(Thomas Kalka) #9

Google login does not work.


(Gualter Barbas Baptista) #10

I also confirm the failure with Google login.

Should we get a proper issue tracker for such bugs to be listed and worked on?

As I understand that @almereyda forked some GitHub repo, that would probably be the right place to do it (as it would also connect to larger communities upstream). If this is ok for others, especially @toka, would you mind sharing the link to the repo @almereyda?


(Jon Richter) #11

The services issue tracker lives at https://github.com/TransforMap/notes.transformap.co/issues

We could document the problem there. Unfortunately I cannot find a reference anymore which @mozboz once shared with me. I have the feeling this could be related to the certificate chain of the Let’s Encrypt certificate, which is somehow checked within the service?

Probably rebuilding the base image with a newer ca-certificates helps here? But most probably this is nested deep into the hybrid Java/Scala code we are looking at.


(Jon Richter) #12

Midnight meditation:

The cause for our PKIX building path errors with Hackpad are indeed related to the usage of Let’s Encrypt certificates. Their root certificate is just not part of older Oracle Java or OpenJDK releases. It doesn’t make use of a system’s ca-certificates.

As seen with Hibiscus and MediathekView.

from #ecobytes:matrix.allmende.io

So all we need is just a more up to date JVM?