バグ #290
java.util.concurrent.ExecutionException: com.linecorp.bot.client.exception.GeneralLineMessagingException: connect timed out, null
説明
2018-01-21 14:28:23.853 JST com.mizo0203.lilywhite.repo.LineRepository replyMessage: replyMessage (LineRepository.java:68) java.util.concurrent.ExecutionException: com.linecorp.bot.client.exception.GeneralLineMessagingException: connect timed out, null at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895) at com.mizo0203.lilywhite.repo.LineRepository.replyMessage(LineRepository.java:65) at com.mizo0203.lilywhite.repo.Repository.replyMessage(Repository.java:111) at com.mizo0203.lilywhite.domain.UseCase.replyReminderConfirmMessage(UseCase.java:113) at com.mizo0203.lilywhite.LilyWhiteLineBotServlet.onLinePostBack(LilyWhiteLineBotServlet.java:107) at com.mizo0203.lilywhite.LilyWhiteLineBotServlet.onLineWebhook(LilyWhiteLineBotServlet.java:50) at com.mizo0203.lilywhite.LilyWhiteLineBotServlet.doPost(LilyWhiteLineBotServlet.java:21) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772) at com.googlecode.objectify.ObjectifyFilter.doFilter(ObjectifyFilter.java:48) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) at com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:125) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) at com.google.apphosting.runtime.jetty9.SaveSessionFilter.doFilter(SaveSessionFilter.java:37) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) at com.google.apphosting.utils.servlet.JdbcMySqlConnectionCleanupFilter.doFilter(JdbcMySqlConnectionCleanupFilter.java:60) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:48) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at com.google.apphosting.runtime.jetty9.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:297) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) at org.eclipse.jetty.server.Server.handle(Server.java:534) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) at com.google.apphosting.runtime.jetty9.RpcConnection.handle(RpcConnection.java:202) at com.google.apphosting.runtime.jetty9.RpcConnector.serviceRequest(RpcConnector.java:81) at com.google.apphosting.runtime.jetty9.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:108) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.dispatchServletRequest(JavaRuntime.java:680) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.dispatchRequest(JavaRuntime.java:642) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:612) at com.google.apphosting.runtime.JavaRuntime$NullSandboxRequestRunnable.run(JavaRuntime.java:806) at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:274) at java.lang.Thread.run(Thread.java:745) Caused by: com.linecorp.bot.client.exception.GeneralLineMessagingException: connect timed out, null at com.linecorp.bot.client.LineMessagingClientImpl$CallbackAdaptor.onFailure(LineMessagingClientImpl.java:200) at retrofit2.OkHttpCall$1.onFailure(OkHttpCall.java:122) at okhttp3.RealCall$AsyncCall.execute(RealCall.java:148) at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ... 1 more Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at okhttp3.internal.platform.Platform.connectSocket(Platform.java:124) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:223) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:149) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:195) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:121) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:100) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:211) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at com.linecorp.bot.client.HeaderInterceptor.intercept(HeaderInterceptor.java:39) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185) at okhttp3.RealCall$AsyncCall.execute(RealCall.java:135) ... 4 more
関連するチケット
みぞ @mizo0203 さんがほぼ7年前に更新
- 期日 を 2018/01/23 にセット
- 開始日 を 2018/01/21 から 2018/01/23 に変更
- 次のチケットに後続 機能 #289: [Messaging API] 「応答メッセージを送る」を「Java SDK for Messaging API BOT」に置き換え を追加
みぞ @mizo0203 さんがほぼ7年前に更新
- 期日 を削除 (
2018/01/23) - ステータス を 新規 から 進行中 に変更
- 進捗率 を 0 から 40 に変更
JRE クラスのホワイトリスト に java.util.concurrent.CompletableFuture
は含まれない
みぞ @mizo0203 さんがほぼ7年前に更新
- 次のチケットに後続 を削除 (機能 #289: [Messaging API] 「応答メッセージを送る」を「Java SDK for Messaging API BOT」に置き換え)
みぞ @mizo0203 さんがほぼ7年前に更新
- ブロック先 機能 #289: [Messaging API] 「応答メッセージを送る」を「Java SDK for Messaging API BOT」に置き換え を追加
みぞ @mizo0203 さんがほぼ7年前に更新
RequestBody を String 型に変換する方法
https://stackoverflow.com/questions/28696964/okhttp-how-to-log-request-body
古明地こいし @redmizo_info さんがほぼ7年前に更新
Commit: 8786065b12ef8dd51e3f62f62bb9eb92b3903fa5
https://github.com/mizo0203/lily-white-line-bot/commit/8786065b12ef8dd51e3f62f62bb9eb92b3903fa5
Author: みぞ@CrazyBeatCoder mizo0203@mizo0203.com
Date: 2018-01-21 (Sun, 21 Jan 2018)
Log Message:
Fix Bug Can't replyMessage. fixes #290 @2h
みぞ @mizo0203 さんがほぼ7年前に更新
- ステータス を 進行中 から 完了 に変更
- 進捗率 を 40 から 100 に変更
更新履歴 github|8786065b12ef8dd51e3f62f62bb9eb92b3903fa5 で適用されました。