Uploaded image for project: 'Contrib: TurnItIn'
  1. Contrib: TurnItIn
  2. TII-160

http connections to turnitin can hang indefinitely

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.x
    • Fix Version/s: 10.x
    • Component/s: Service
    • Labels:
      None

      Description

      Sometimes we see http connections that appear to hang indefinitely (> 24 hrs), in this case going through a proxy server defined with -Dhttp.proxyHost and -Dhttp.proxyPort=8080.

      netstat shows an established connection to the proxy server.

      "QuartzScheduler_Worker-1" prio=10 tid=0x0000000001b5e000 nid=0x7c37 runnable [0x00007f5905e58000]
      java.lang.Thread.State: RUNNABLE
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:152)
      at java.net.SocketInputStream.read(SocketInputStream.java:122)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:334)

      • locked <0x00000006f7043830> (a java.io.BufferedInputStream)
        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
        at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:1789)
      • locked <0x00000006f70438e8> (a sun.net.www.protocol.https.DelegateHttpsURLConnection)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1091)
      • locked <0x00000006f70438e8> (a sun.net.www.protocol.https.DelegateHttpsURLConnection)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
      • locked <0x00000006f70439e0> (a sun.net.www.protocol.https.HttpsURLConnectionImpl)
        at org.sakaiproject.turnitin.util.TurnitinAPIUtil.callTurnitinReturnInputStream(TurnitinAPIUtil.java:333)
        at org.sakaiproject.turnitin.util.TurnitinAPIUtil.callTurnitinReturnMap(TurnitinAPIUtil.java:186)
        at org.sakaiproject.contentreview.impl.turnitin.TurnitinAccountConnection.callTurnitinReturnMap(TurnitinAccountConnection.java:353)
        at org.sakaiproject.contentreview.impl.turnitin.TurnitinReviewServiceImpl.checkForReportsBulk(TurnitinReviewServiceImpl.java:1817)
        at org.sakaiproject.contentreview.impl.turnitin.TurnitinReviewServiceImpl.checkForReports(TurnitinReviewServiceImpl.java:1708)
        at org.sakaiproject.component.app.scheduler.jobs.ContentReviewReports.execute(ContentReviewReports.java:22)
        at org.sakaiproject.component.app.scheduler.jobs.SpringStatefulJobBeanWrapper.execute(SpringStatefulJobBeanWrapper.java:20)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                smarquard Stephen Marquard
                Reporter:
                smarquard Stephen Marquard
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code