Skip to content

download IPDatabase failed #1

@laowu20

Description

@laowu20

I try to run this software by:
java -jar target/app.jar.
It failed to download the Database.
there are the error info:

3月 15, 2024 3:43:24 下午 de.ep_u_nw.ip_location_server.database.IPDatabase download
信息: Start fetching https://github.com/sapics/ip-location-db/raw/3941562d03c18763c1ee76c48a05efa5ac6aeaec/geolite2-city/geolite2-city-ipv4-num.csv.gz
3月 15, 2024 3:43:25 下午 de.ep_u_nw.ip_location_server.database.IPDatabase download
警告: Failed to fetch target due to 请求的名称有效,但是找不到请求的类型的数据。 (raw.githubusercontent.com)
java.net.UnknownHostException: 请求的名称有效,但是找不到请求的类型的数据。 (raw.githubusercontent.com)
at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:929)
at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1538)
at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:848)
at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1527)
at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1380)
at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1302)
at okhttp3.Dns$Companion$DnsSystem.lookup(Dns.kt:49)
at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:164)
at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.kt:129)
at okhttp3.internal.connection.RouteSelector.next(RouteSelector.kt:71)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:205)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
at de.ep_u_nw.ip_location_server.database.IPDatabase.download(IPDatabase.java:67)
at de.ep_u_nw.ip_location_server.database.IPDatabase.updateDatabase(IPDatabase.java:34)
at de.ep_u_nw.ip_location_server.Main.main(Main.java:33)
3月 15, 2024 3:43:25 下午 de.ep_u_nw.ip_location_server.database.IPDatabase updateDatabase
警告: Unable to fetch database file in 427ms. Will continue using old dataset!
Exception in thread "main" java.lang.RuntimeException: Unable to initially download or build location database from https://github.com/sapics/ip-location-db/raw/3941562d03c18763c1ee76c48a05efa5ac6aeaec/geolite2-city/geolite2-city-ipv4-num.csv.gz!
at de.ep_u_nw.ip_location_server.Main.main(Main.java:36)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions