retrofit

javax.net.le protocole ssl.SSLHandshakeException: java.sécurité.cert.CertPathValidatorException: Ancre de confiance pour le chemin de certification introuvable

J'utilise Retrofit pour accéder à mon API REST. Cependant, lorsque je mets mon API derrière ssl et y accède par http://myhost ... l.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)             at java.lang.Thread.run(Thread.java:841)

rénovation com.Google.gson.JsonSyntaxException: java.lang.IllegalStateException: Objet BEGIN attendu mais TABLEAU BEGIN à la ligne 1 colonne 2 chemin $

Ils sont nouveaux pour la rénovation et j'essaie d'obtenir des données à partir d'un JSON en utilisant l'ID, avec la méthode ... ulo; public String getTitulo() { return titulo; } public void setTitulo(String titulo) { this.titulo = titulo; } }

javax. net. ssl. SSLHandshakeException: java.sicurezza.cert.CertPathValidatorException: ancoraggio attendibile per il percorso di certificazione non trovato

Sto usando Retrofit per accedere alla mia API REST. Tuttavia, quando metto la mia API dietro ssl e l'accesso da http://myhost ... l.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)             at java.lang.Thread.run(Thread.java:841)

retrofit com.Google.gson.JsonSyntaxException: java.lang.IllegalStateException: Previsto BEGIN OBJECT ma era BEGIN ARRAY alla riga 1 colonna 2 percorso $

Sono nuovi da Retrofit e sto cercando di ottenere dati da un JSON usando l'ID, con il metodo post, ma lancio questo arror. I ... ulo; public String getTitulo() { return titulo; } public void setTitulo(String titulo) { this.titulo = titulo; } }

Invalid data in response to the request (JSON, Retrofit, Java)

I have JSON: {"response":{"count":30,"items":[{"id":31,"from_id":-116125443,"owner_id":-116125443,"date":1503404720,"marked_ ... ts() { return reposts; } public void setReposts(Reposts reposts) { this.reposts = reposts; } }

I get java. io. IOException: unexpected end of stream on http:/ when I try to download a file from the server

Hi I get an error (java. io. IOException: unexpected end of stream on http:) when trying to download a file (. txt) from the ... bos.flush(); bos.close(); } catch (IOException e) { e.printStackTrace(); } }