Installation with external hub at Youtrack

Hello.

 

   I am trying to install Upsource (latest build) specifying external Hub. External Hub is coming from previous Youtrack installation (and it works -- I can login directly to Youtrack and Hub). I provide correct url and user/passwd (for a user that has all admin rights:

 

(I checked with incorrect username/pwd -- it fails right away). 

However, the button "Next" does not become enabled and I cannot proceed further.

I checked "Readonly" mode on Hub side, it is disabled.

In Hub logs I see the following:

04 Okt 2017 11:13:03,938 ERROR [KLogging ] [usted] Operation CREATE for Service with id "35ae110d-5922-41a9-98a7-7d7ff35e4268" named "JetBrains Upsource 2017.2 Bundle (@/10.33.3.15)" is not permitted
jetbrains.jetpass.dao.api.SecurityViolationException: Operation CREATE for Service with id "35ae110d-5922-41a9-98a7-7d7ff35e4268" named "JetBrains Upsource 2017.2 Bundle (@/10.33.3.15)" is not permitted
at jetbrains.jetpass.dao.dnq.api.JetPassMutableDAO.createSecurityException(JetPassMutableDAO.kt:53)
at jetbrains.jetpass.dao.dnq.api.JetPassMutableDAO.assertCreatable(JetPassMutableDAO.kt:42)
at jetbrains.jetpass.dao.dnq.api.JetPassMutableDAO$create$1.invoke(JetPassMutableDAO.kt:23)
at jetbrains.jetpass.dao.dnq.api.JetPassMutableDAO$create$1.invoke(JetPassMutableDAO.kt:13)
at kotlinx.dnq.TransactionKt.transactional(Transaction.kt:39)
at jetbrains.jetpass.dnq.TransactionKt.legacyTransactional(Transaction.kt:21)
at jetbrains.jetpass.dnq.TransactionKt.legacyTransactional$default(Transaction.kt:15)
at jetbrains.jetpass.dao.dnq.api.DataAccessExceptionUtilKt.daoTransaction(DataAccessExceptionUtil.kt:29)
at jetbrains.jetpass.dao.dnq.api.JetPassMutableDAO.create(JetPassMutableDAO.kt:22)
at jetbrains.jetpass.dao.dnq.api.JetPassMutableDAO.create(JetPassMutableDAO.kt:17)
at jetbrains.jetpass.rest.api.resource.MutableDAOResource$create$item$1.invoke(MutableDAOResource.kt:26)
at jetbrains.jetpass.rest.api.resource.MutableDAOResource$create$item$1.invoke(MutableDAOResource.kt:19)
at jetbrains.jetpass.rest.api.resource.ResourceUtilKt.daoAction(ResourceUtil.kt:13)
at jetbrains.jetpass.rest.api.resource.MutableDAOResource.create(MutableDAOResource.kt:26)
at sun.reflect.GeneratedMethodAccessor508.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:309)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:292)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1139)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:454)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:334)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772)
at jetbrains.hub.server.filter.LocalScopeFilter.doFilter(LocalScopeFilter.kt:19)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
at jetbrains.hub.server.filter.SourceMapsFilter.doFilter(SourceMapsFilter.kt:45)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
at jetbrains.hub.server.filter.LoggingFilter.doFilter(LoggingFilter.kt:20)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
at org.eclipse.jetty.continuation.ContinuationFilter.doFilter(ContinuationFilter.java:127)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
at jetbrains.hub.server.maintenance.performance.PerformanceFilter$doFilter$1.invoke(PerformanceFilter.kt:14)
at jetbrains.hub.server.maintenance.performance.PerformanceFilter$doFilter$1.invoke(PerformanceFilter.kt:6)
at jetbrains.hub.server.maintenance.performance.PerformanceMonitor$Companion.request(PerformanceMonitor.kt:87)
at jetbrains.hub.server.maintenance.performance.PerformanceFilter.doFilter(PerformanceFilter.kt:13)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1751)
at com.jetbrains.bundle.proxy.jetty.AllowOriginOneTimeFilter.doFilter(AllowOriginOneTimeFilter.java:37)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308)
at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:262)
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.server.handler.gzip.GzipHandler.handle(GzipHandler.java:493)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
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 org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
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 org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:748)
04 Okt 2017 11:13:17,298 WARN [JetPassServiceDAO ] [usted] Service Id is deprecated and will be removed shortly, please update to key usages

 

I checked that computer name resolves into ip by short name, fqdn, alias, etc.

 

 

Can you please advise on this issue?

Thanks.

3 comments

Hello!

I have managed to reproduce similar issue but only in case guest account was banned in external Hub AFTER Upsource configuration wizard was started and Hub integration page WAS opened (work around for that case is simply reloading the page with F5).

If this is not your case, could you please share the following details:
- is the issue reproducible in chrome browser?
- does external Hub is installed as a standalone Hub service (but not built-in into YouTrack)?
- version of products (hub, upsource, youtrack)
- conf and logs folder of external hub
- conf and logs folder of upsource
- also it would be great to get HAR file collected during failed installation attempt.
- is there errors in browser console at the moment credentials were typed and button OK pressed?

(Feel free to add all the details above to the dedicated issue: https://youtrack.jetbrains.com/v2/issue/BND-1543. You might  restrict access to attached data to jetbrains-team group only)

Sincerely,
Alexey Barsov 
JetBrains Developer

1

Hello, Alexey.

 

   Done directly in issue tracker.

0

Hi!
  I somehow cannot comment directly at https://youtrack.jetbrains.com/v2/issue/BND-1543

I do understand that I have to install stand-alone Hub -- that's fine. I'll do and I'll migrate users -- that's no issue. (How did I miss this step anyway?)

I am happy to continue experimenting to provide you more details on why that err message does not appear.

0

Please sign in to leave a comment.