Skip to main content
0 votes
2 answers
100 views

I am developing an Eclipse plugin (OSGi environment) and trying to use OkHttp 4.11.0 to send HTTP requests. However, I get the following runtime error: java.lang.ClassNotFoundException: okio.Buffer ...
kiruba T's user avatar
2 votes
0 answers
99 views

I have a Springboot server with two ssl self signed certificates configured for different hostnames. One certificate assigned to hostname localhost. Another assigned as fallback, so any hostname other ...
naveejr's user avatar
  • 755
0 votes
1 answer
63 views

Been spending hours trying to get OkHttpClient to work with a proxy. My proxy supports socks5, https. I cannot get it to work on either. I've now spent hours trying different work arounds from years ...
Jacob Krumholz's user avatar
3 votes
1 answer
418 views

I've created an Empty Views Activity project in Android Studio, but as soon as I add the dependency in build.gradle.kts and try to launch the app, it throws an exception (see output). No code is ...
Beavis's user avatar
  • 33
1 vote
1 answer
86 views

According to the docs of OkHttpClient, it is better to use a single shared instance. In my case I need a client for HTTP requests and a client for WebSocket connections; both have different ...
KunLun's user avatar
  • 3,286
0 votes
0 answers
65 views

I have a CacheCreation class that prepares config for an OkHttp interceptor. It’s created during DI on app launch, and we currently use runBlocking so the object graph is ready before the first ...
Ajay's user avatar
  • 926
-1 votes
1 answer
141 views

I would like to build a native image with the newly released (as of this writing) Spring Boot 4.0.0-M1 and GraalVM AOT With this code: @Configuration public class TracingConfiguration { @Bean ...
PatPanda's user avatar
  • 5,418
0 votes
1 answer
54 views

I have an URL for file downloading and it works perfectly on my Samsung Galaxy S10 (running Android 12), but the same app throws java.io.FileNotFoundException on my Google Pixel 9 with the latest ...
zkminusck's user avatar
  • 1,238
4 votes
1 answer
963 views

OkHttp recently received a v5 update, meaning there are breaking changes. I've noticed these breaking changes, as my project no longer recognizes OkHttp or any of its classes. Unfortunately is the ...
Andre_601's user avatar
  • 367
0 votes
1 answer
143 views

I implemented a basic websockets server, following the instructions on the Ktor site (server, client). Server (complete source): webSocket("/echo") { send("Please enter your name&...
ixx's user avatar
  • 32.3k
1 vote
2 answers
214 views

I am uploading files to WebDav servers using RequestBody requestBody = new MultipartBody.Builder() .addPart(RequestBody.create(data, MediaType.parse("application/...
Philipp's user avatar
  • 11.7k
1 vote
1 answer
113 views

OkHttpClient version 4-12.0 sends multipart-form request using default configuration ; Sever responds with 100-Continue . After receiving couple of 100-Continue OkHttpClient fails with ...
George's user avatar
  • 521
1 vote
1 answer
118 views

I'm building a flask app to process images uploaded from a mobile device, before sending results back to the mobile app. I've successfully deployed the flask app on Azure, and can confirm it works ...
Oli's user avatar
  • 43
1 vote
2 answers
913 views

We recently switched from HttpUrlConnection to OkHttp (v4.12.0) on Android and started seeing CertPathValidatorException: Trust anchor for certification path not found from a small percentage of our ...
AlexVPerl's user avatar
  • 8,056
1 vote
0 answers
117 views

My Spring Boot uses okhttp3 to send HTTP requests as a client. I have no control over the servers. (But I can ask server team to change the settings if needs be.) <dependency> <groupId>...
Paul Chuang's user avatar

15 30 50 per page
1
2 3 4 5
299