lngs.util.LngsException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

It's possible you're trying to write to a connection that's already closed. Another cause for this is that you closed the socket with unread data in the socket receive buffer.


rafaelrafael
tip

This might be caused by unmatching versions of SSL. Java starts normally with SSLv2 and your server might not be able to negotiate. You have to force Java to use SSLv3. See this comment: https://goo.gl/hx0YB3


rafaelrafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Unable to create Google calendar (v2.8)
    via lngooglecalsync by guillaume63
    ,
  • Sync Exception
    via lngooglecalsync by soccerdad91016
    ,
  • Connection Reset during PUT
    via by Unknown author,
  • pgpool Bug Tracker
    via by Unknown author,
  • Java.net Connection Reset using Rserve
    via Stack Overflow by Vini
    ,
    • lngs.util.LngsException: Unable to create Google calendar. at lngs.google.GoogleManager.connect(GoogleManager.java:265) at lngs.MainGUI.doSync(MainGUI.java:369) at lngs.MainGUI$SyncSwingWorker.doInBackground(MainGUI.java:495) at lngs.MainGUI$SyncSwingWorker.doInBackground(MainGUI.java:485) at javax.swing.SwingWorker$1.call(SwingWorker.java:288) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at javax.swing.SwingWorker.run(SwingWorker.java:327) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) at java.lang.Thread.run(Thread.java:738) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:179) at com.ibm.jsse2.b.a(b.java:232) at com.ibm.jsse2.b.a(b.java:95) at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:116) at com.ibm.jsse2.SSLSocketImpl.h(SSLSocketImpl.java:496) at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:528) at com.ibm.jsse2.SSLSocketImpl.startHandshake(SSLSocketImpl.java:505) at com.ibm.net.ssl.www2.protocol.https.c.afterConnect(c.java:83) at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:31) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1026) at com.ibm.net.ssl.www2.protocol.https.b.getOutputStream(b.java:25) at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:77) at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:972) at com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:283) at com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:307) at com.google.api.client.auth.oauth2.Credential.executeRefreshToken(Credential.java:572) at com.google.api.client.auth.oauth2.Credential.refreshToken(Credential.java:489) at com.google.api.client.auth.oauth2.Credential.intercept(Credential.java:217) at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:859) at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419) at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352) at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469) at lngs.google.GoogleManager.createCalendar(GoogleManager.java:314) at lngs.google.GoogleManager.connect(GoogleManager.java:263) ... 10 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Agócs TamásAgócs Tamás
    12 times, last one,
    264 more bugmates