java.lang.SecurityException: Permission denied (missing INTERNET permission?)

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

Solutions on the web

via GitHub by aritraroy
, 11 months ago
Permission denied (missing INTERNET permission?)
via GitHub by artem-zinnatullin
, 1 year ago
Permission denied (missing INTERNET permission?)
via Stack Overflow by Federico Ponzi
, 1 year ago
Permission denied (missing INTERNET permission?)
via Stack Overflow by murkilator
, 1 year ago
Permission denied (missing INTERNET permission?)
via Stack Overflow by agnostos
, 2 years ago
Permission denied (missing INTERNET permission?)
java.lang.SecurityException: Permission denied (missing INTERNET permission?)
at java.net.InetAddress.lookupHostByName(InetAddress.java:479)
at java.net.InetAddress.getAllByNameImpl(InetAddress.java:280)
at java.net.InetAddress.getAllByName(InetAddress.java:243)
at okhttp3.Dns$1.lookup(SourceFile:39)
at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(SourceFile:170)
at okhttp3.internal.connection.RouteSelector.nextProxy(SourceFile:136)
at okhttp3.internal.connection.RouteSelector.next(SourceFile:81)
at okhttp3.internal.connection.StreamAllocation.findConnection(SourceFile:181)
at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(SourceFile:132)
at okhttp3.internal.connection.StreamAllocation.newStream(SourceFile:101)
at okhttp3.internal.connection.ConnectInterceptor.intercept(SourceFile:42)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:67)
at okhttp3.internal.cache.CacheInterceptor.intercept(SourceFile:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:67)
at okhttp3.internal.http.BridgeInterceptor.intercept(SourceFile:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(SourceFile:120)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:67)
at io.flowup.b.d.intercept(Unknown Source)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:67)
at io.flowup.b.e.intercept(Unknown Source)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:67)
at okhttp3.RealCall.getResponseWithInterceptorChain(SourceFile:179)
at okhttp3.RealCall.execute(SourceFile:63)
at io.flowup.config.a.a.a(Unknown Source)
at io.flowup.config.b.b(Unknown Source)
at io.flowup.config.android.ConfigSyncService.a(Unknown Source)
at io.flowup.config.android.ConfigSyncService.onRunTask(Unknown Source)
at com.google.android.gms.gcm.GcmTaskService$zza.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

You are the first who have seen this exception.

Write tip

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