java.io.IOException: Server returned HTTP response code: 504 for URL: https://login.minecraft.net/

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

,
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
, 4 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
, 6 months ago
Server returned HTTP response code: 401 for URL: https://myserver.com/rest/endpoint
via mathworks.com by Unknown author, 1 year 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 magic.launcher.ak.a(Unknown Source)
at magic.launcher.z.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago
35 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.