Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

Solutions on the web

via Arqade by user39828
, 1 year ago
Server returned HTTP response code: 504 for URL: https://login.minecraft.net/
via Stack Overflow by Elnino
, 9 months ago
Server returned HTTP response code: 504 for URL: someurl
via Oracle Community by 843802, 1 year ago
Server returned HTTP response code: 500 for URL: https://
via Stack Overflow by The Architect
, 11 months ago
Server returned HTTP response code: 401 for URL: https://myserver.com/rest/endpoint
via mathworks.com by Unknown author, 2 years ago
Server returned HTTP response code: 401 for URL: https://api.twitter.com/1.1/statuses/update.json
via Oracle Community by 843790, 1 year ago
Server returned HTTP response code: 401 for URL: https://10.96.13.80/circ/incident.nsf/timer-config.xml?readform
java.io.IOException: Server returned HTTP response code: 504 for URL: https://login.minecraft.net/	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)	at magic.launcher.ak.a(Unknown Source)	at magic.launcher.z.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)