la riga
System.out.println("DEBUG => URL: " + url);

cosa ti mostra a schermo?