sendsketch.sh has been giving the following error message. I have been able to reproduce this on multiple machines/networks and with multiple query sequences.
command:
sendsketch.sh fusarium_virguliforme/scaffolds.fasta
output:
Adding /usr/local/bin/bbmap/resources/blacklist_refseq_merged.sketch to blacklist.
0.005 seconds.
Loaded 1 sketch in 5.477 seconds.
java.io.IOException: Error writing to server
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1963)
at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1958)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1957)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1525)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)
at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:329)
at server.ServerTools.sendAndReceive(ServerTools.java:138)
at sketch.SendSketch.processRemote(SendSketch.java:391)
at sketch.SendSketch.process(SendSketch.java:307)
at sketch.SendSketch.main(SendSketch.java:55)
Caused by: java.io.IOException: Error writing to server
at java.base/sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:717)
at java.base/sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:729)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1602)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:245)
at server.ServerTools.sendAndReceive(ServerTools.java:131)
... 3 more
java.io.IOException: Error writing to server
at java.base/sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:717)
at java.base/sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:729)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1602)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:245)
at server.ServerTools.sendAndReceive(ServerTools.java:131)
at sketch.SendSketch.processRemote(SendSketch.java:391)
at sketch.SendSketch.process(SendSketch.java:307)
at sketch.SendSketch.main(SendSketch.java:55)
ERROR: Server returned code 1 and this message:
null
java.lang.Exception: Aborting.
at shared.KillSwitch.kill(KillSwitch.java:108)
at sketch.SendSketch.processRemote(SendSketch.java:394)
at sketch.SendSketch.process(SendSketch.java:307)
at sketch.SendSketch.main(SendSketch.java:55)
Have you retried this recently? There was a problem with the configuration of the servers for a few weeks which should have been resolved on ~Jan 6th, but I'm not 100% sure it's fixed for everyone. Also, can you tell me which version of Java and BBTools you are using?