Quantcast
Channel: YouTrackYouTrack (JT) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 74845

JT-10689: "Server returned HTTP response code: 503" when uploading image to YouTrack with squid web proxy

$
0
0
Reporter Greg Brackley (gbrackley) Greg Brackley (gbrackley)
Created Jul 19, 2011 6:02:59 AM
Updated May 7, 2013 7:01:34 PM
Resolved May 7, 2013 7:01:34 PM

What steps will reproduce the problem?

1. Configure web browser to use squid web proxy
2. Capture screen shot image in clip board
3. Upload image with ctrl-shift-alt-V

What is the expected result?


The image is uploaded into the current issue

What happens instead?


The following error message is displayed:


An exception occurs in the local java console.

Workaround


Add the youtrack server to the no proxy list to bypass squid web proxy.

Please provide any additional information below.



The following information is from the java console:

INFO [30289364] [Thread[thread applet-jetbrains.charisma.jetshot.light.JetShotApplet.class-1,4,https://youtrack.lucidsolutions.co.nz/issue/-threadGroup]] Stop jetshot
INFO [30289364] [Thread[thread applet-jetbrains.charisma.jetshot.light.JetShotApplet.class-1,4,https://youtrack.lucidsolutions.co.nz/issue/-threadGroup]] Destroy jetshot
INFO [19697576] [Thread[AWT-EventQueue-3,4,https://youtrack.lucidsolutions.co.nz/issue/-threadGroup]] New jetshot
INFO [19697576] [Thread[thread applet-jetbrains.charisma.jetshot.light.JetShotApplet.class-2,4,https://youtrack.lucidsolutions.co.nz/issue/-threadGroup]] Init jetshot
INFO [19697576] [Thread[thread applet-jetbrains.charisma.jetshot.light.JetShotApplet.class-2,4,https://youtrack.lucidsolutions.co.nz/issue/-threadGroup]] Start jetshot
INFO [19697576] [Thread[thread applet-jetbrains.charisma.jetshot.light.JetShotApplet.class-2,4,https://youtrack.lucidsolutions.co.nz/issue/-threadGroup]] Show jetshot [54-28] [pasteFromClipboardNoPreview]
INFO [19697576] [Thread[AWT-EventQueue-3,4,https://youtrack.lucidsolutions.co.nz/issue/-threadGroup]] Making dialog translucent.
INFO [19697576] [Thread[Thread-18,4,https://youtrack.lucidsolutions.co.nz/issue/-threadGroup]] Proxy detected: HTTP @ proxy.lucidsolutions.co.nz/10.20.5.3:3128
java.io.IOException: Server returned HTTP response code: 503 for URL: https://youtrack.lucidsolutions.co.nz/rest/issue/attachment/54-28?name=screenshot
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at jetbrains.charisma.jetshot.light.b.A(Unknown Source)
	at jetbrains.charisma.jetshot.light.b.A(Unknown Source)
	at jetbrains.charisma.jetshot.light.b.A(Unknown Source)
	at jetbrains.charisma.jetshot.light.b.A(Unknown Source)
	at jetbrains.charisma.jetshot.light.b.B(Unknown Source)
	at jetbrains.charisma.jetshot.light.JetShotApplet$5.run(Unknown Source)
Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: https://youtrack.lucidsolutions.co.nz/rest/issue/attachment/54-28?name=screenshot
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.net.HttpURLConnection.getResponseCode(Unknown Source)
	... 6 more
INFO [19697576] [Thread[AWT-EventQueue-3,4,https://youtrack.lucidsolutions.co.nz/issue/-threadGroup]] click to [cantAttachButtonId] with js [javascript:document.getElementById('id_l.I.as.cantAttach').click();]



Client machine environment


  • Windows x64
  • Firefox 5 browser & Chrome 12 browser tested
  • Java 1.6.0_26-b03

Server machine environment

  • Nginx reverse proxy with SSL offload
  • Nginx uses TLS SNI
  • Youtrack 3.0 server running with (jetty listener?) on port 8080

Viewing all articles
Browse latest Browse all 74845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>