how to login error?. I use the default user in my docker
Can you provide logs from the frontend and/or gms containers? Otherwise it’s hard to help out
this log in docker
2024-10-03 11:39:01 2024-10-03 04:39:01,345 [application-akka.actor.default-dispatcher-12] INFO c.AuthenticationController - Login successful for user: datahub, urn: urn:li:corpuser:datahub
2024-10-03 11:39:01 2024-10-03 04:39:01,345 [application-akka.actor.default-dispatcher-12] INFO client.AuthServiceClient - Requesting session token for user: datahub
2024-10-03 11:39:03 2024-10-03 04:39:03,063 [application-akka.actor.default-dispatcher-18] INFO c.AuthenticationController - Login successful for user: datahub, urn: urn:li:corpuser:datahub
2024-10-03 11:39:03 2024-10-03 04:39:03,063 [application-akka.actor.default-dispatcher-18] INFO client.AuthServiceClient - Requesting session token for user: datahub
2024-10-03 11:39:05 2024-10-03 04:39:05,214 [application-akka.actor.default-dispatcher-18] ERROR client.AuthServiceClient - Failed to generate session token for user: datahub
2024-10-03 11:39:05 java.net.UnknownHostException: datahub-gms
2024-10-03 11:39:05 at java.base/java.net.InetAddress$CachedAddresses.get(InetAddress.java:801)
2024-10-03 11:39:05 at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:887)
2024-10-03 11:39:05 at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1533)
2024-10-03 11:39:05 at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1385)
2024-10-03 11:39:05 at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1306)
2024-10-03 11:39:05 at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
2024-10-03 11:39:05 at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112)
2024-10-03 11:39:05 at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
2024-10-03 11:39:05 at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
2024-10-03 11:39:05 at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
2024-10-03 11:39:05 at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
2024-10-03 11:39:05 at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
2024-10-03 11:39:05 at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
2024-10-03 11:39:05 at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
2024-10-03 11:39:05 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
2024-10-03 11:39:05 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
2024-10-03 11:39:05 at client.AuthServiceClient.generateSessionTokenForUser(AuthServiceClient.java:101)
2024-10-03 11:39:05 at controllers.AuthenticationController.logIn(AuthenticationController.java:191)
2024-10-03 11:39:05 at router.Routes$$anonfun$routes$1.$anonfun$applyOrElse$17(Routes.scala:705)
2024-10-03 11:39:05 at play.core.routing.HandlerInvokerFactory$$anon$8.resultCall(HandlerInvoker.scala:150)
2024-10-03 11:39:05 at play.core.routing.HandlerInvokerFactory$$anon$8.resultCall(HandlerInvoker.scala:149)
2024-10-03 11:39:05 at play.core.routing.HandlerInvokerFactory$JavaActionInvokerFactory$$anon$3$$anon$4$$anon$5.invocation(HandlerInvoker.scala:115)
2024-10-03 11:39:05 at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:119)
2024-10-03 11:39:05 at play.http.DefaultActionCreator$1.call(DefaultActionCreator.java:31)
2024-10-03 11:39:05 at play.core.j.JavaAction.$anonfun$apply$8(JavaAction.scala:175)
2024-10-03 11:39:05 at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:659)
2024-10-03 11:39:05 at scala.util.Success.$anonfun$map$1(Try.scala:255)
2024-10-03 11:39:05 at scala.util.Success.map(Try.scala:213)
2024-10-03 11:39:05 at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
2024-10-03 11:39:05 at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
2024-10-03 11:39:05 at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
2024-10-03 11:39:05 at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
2024-10-03 11:39:05 at play.core.j.HttpExecutionContext.$anonfun$execute$1(HttpExecutionContext.scala:64)
2024-10-03 11:39:05 at play.api.libs.streams.Execution$trampoline$.execute(Execution.scala:70)
2024-10-03 11:39:05 at play.core.j.HttpExecutionContext.execute(HttpExecutionContext.scala:59)
2024-10-03 11:39:05 at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:72)
2024-10-03 11:39:05 at scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete(Promise.scala:372)
2024-10-03 11:39:05 at scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete$(Promise.scala:371)
2024-10-03 11:39:05 at scala.concurrent.impl.Promise$KeptPromise$Successful.onComplete(Promise.scala:379)
2024-10-03 11:39:05 at scala.concurrent.impl.Promise.transform(Promise.scala:33)
2024-10-03 11:39:05 at scala.concurrent.impl.Promise.transform$(Promise.scala:31)
2024-10-03 11:39:05 at scala.concurrent.impl.Promise$KeptPromise$Successful.transform(Promise.scala:379)
2024-10-03 11:39:05 at scala.concurrent.Future.map(Future.scala:292)
2024-10-03 11:39:05 at scala.concurrent.Future.map$(Future.scala:292)
2024-10-03 11:39:05 at scala.concurrent.impl.Promise$KeptPromise$Successful.map(Promise.scala:379)
2024-10-03 11:39:05 at scala.concurrent.Future$.apply(Future.scala:659)
2024-10-03 11:39:05 at play.core.j.JavaAction.apply(JavaAction.scala:176)
2024-10-03 11:39:05 at play.api.mvc.Action.$anonfun$apply$4(Action.scala:82)
2024-10-03 11:39:05 at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)
2024-10-03 11:39:05 at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
2024-10-03 11:39:05 at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
2024-10-03 11:39:05 at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:63)
2024-10-03 11:39:05 at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:100)
2024-10-03 11:39:05 at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
2024-10-03 11:39:05 at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:85)
2024-10-03 11:39:05 at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:100)
2024-10-03 11:39:05 at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:49)
2024-10-03 11:39:05 at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:48)
2024-10-03 11:39:05 at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
2024-10-03 11:39:05 at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
2024-10-03 11:39:05 at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
2024-10-03 11:39:05 at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
2024-10-03 11:39:05 at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
2024-10-03 11:39:05 2024-10-03 04:39:05,214 [application-akka.actor.default-dispatcher-12] ERROR client.AuthServiceClient - Failed to generate session token for user: datahub
2024-10-03 11:39:05
That looks like the frontend cannot resolve the host “datahub-gms”. Which hints at either gms being down, or the frontend being executed from outside of the docker-compose project where the host is defined.
• so my host in gms in docker sql container not run , i can edit port 3306 to 3307 but lashing with my sql server, how to edit ![attachment]({‘ID’: ‘F07Q3PSTJ77’, ‘EDITABLE’: False, ‘IS_EXTERNAL’: False, ‘USER_ID’: ‘U07PRQN3EDB’, ‘CREATED’: ‘2024-10-03 08:00:19+00:00’, ‘PERMALINK’: ‘Slack’, ‘EXTERNAL_TYPE’: ‘’, ‘TIMESTAMPS’: ‘2024-10-03 08:00:19+00:00’, ‘MODE’: ‘hosted’, ‘DISPLAY_AS_BOT’: False, ‘PRETTY_TYPE’: ‘PNG’, ‘NAME’: ‘image.png’, ‘IS_PUBLIC’: True, ‘PREVIEW_HIGHLIGHT’: None, ‘MIMETYPE’: ‘image/png’, ‘PERMALINK_PUBLIC’: ‘https://slack-files.com/TUMKD5EGJ-F07Q3PSTJ77-0122d781a9’, ‘FILETYPE’: ‘png’, ‘EDIT_LINK’: None, ‘URL_PRIVATE’: ‘Slack’, ‘HAS_RICH_PREVIEW’: False, ‘TITLE’: ‘image.png’, ‘IS_STARRED’: False, ‘PREVIEW_IS_TRUNCATED’: None, ‘URL_PRIVATE_DOWNLOAD’: ‘Slack’, ‘PREVIEW’: None, ‘PUBLIC_URL_SHARED’: False, ‘MESSAGE_TS’: ‘1727942795.061609’, ‘PARENT_MESSAGE_TS’: ‘1727781746.545789’, ‘MESSAGE_CHANNEL_ID’: ‘CV2UXSE9L’, ‘_FIVETRAN_DELETED’: False, ‘LINES_MORE’: None, ‘LINES’: None, ‘SIZE’: 83048, ‘_FIVETRAN_SYNCED’: ‘2024-10-06 12:41:24.097000+00:00’})
how to edit thats right in docker compose yml?