Jdiameter S13: Could not process request. Result Code = [3007], Error Message: [null] - restcomm

i am trying to make a diameter S13 Server,
and i have used mobicents dependencies as below :
<dependency>
<groupId>org.mobicents.diameter</groupId>
<artifactId>restcomm-diameter-mux-jar</artifactId>
<version>1.7.0.180</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.mobicents.diameter</groupId>
<artifactId>jdiameter-api</artifactId>
<version>1.7.0.180</version>
</dependency>
<dependency>
<groupId>org.mobicents.diameter</groupId>
<artifactId>jdiameter-impl</artifactId>
<version>1.7.0.180</version>
</dependency>
also i have created the client side to send CheckIMEImessage and receive it on the server side and return a response to the client,
but my problem is when i send the message to the server the stack returns this error and the message is not being received on my server application:
ResultCode.APPLICATION_UNSUPPORTED
and a diameter response with this code is returned to the client (diameter response = 3007)
this is the log:
DEBUG 2017-11-29 12:06:55 org.jdiameter.server.impl.PeerImpl$LocalActionConext.receiveMessage:343 - Receiving message in server.
DEBUG 2017-11-29 12:06:55 org.jdiameter.client.impl.parser.MessageImpl.getSingleApplicationId:379 - In getSingleApplicationId for application id [16777252]
DEBUG 2017-11-29 12:06:55 org.jdiameter.client.impl.parser.MessageImpl.getSingleApplicationId:381 - Application Ids in this message are:
DEBUG 2017-11-29 12:06:55 org.jdiameter.client.impl.parser.MessageImpl.getSingleApplicationId:386 - [AppId [Vendor-Id:10415; Auth-Application-Id:16777252; Acct-Application-Id:0]]
DEBUG 2017-11-29 12:06:55 org.jdiameter.client.impl.parser.MessageImpl.getSingleApplicationId:403 - Returning [AppId [Vendor-Id:10415; Auth-Application-Id:16777252; Acct-Application-Id:0]] as the first application id because its the first vendor specific one found
DEBUG 2017-11-29 12:06:55 org.jdiameter.client.impl.parser.MessageImpl.getSingleApplicationId:379 - In getSingleApplicationId for application id [16777252]
DEBUG 2017-11-29 12:06:55 org.jdiameter.client.impl.parser.MessageImpl.getSingleApplicationId:381 - Application Ids in this message are:
DEBUG 2017-11-29 12:06:55 org.jdiameter.client.impl.parser.MessageImpl.getSingleApplicationId:386 - [AppId [Vendor-Id:10415; Auth-Application-Id:16777252; Acct-Application-Id:0]]
DEBUG 2017-11-29 12:06:55 org.jdiameter.client.impl.parser.MessageImpl.getSingleApplicationId:403 - Returning [AppId [Vendor-Id:10415; Auth-Application-Id:16777252; Acct-Application-Id:0]] as the first application id because its the first vendor specific one found
DEBUG 2017-11-29 12:06:55 org.jdiameter.client.impl.controller.PeerImpl.sendErrorAnswer:677 - Could not process request. Result Code = [3007], Error Message: [null]
DEBUG 2017-11-29 12:06:55 org.jdiameter.client.impl.controller.PeerImpl.sendErrorAnswer:701 - Sending response indicating we could not process request
also i have tried the same implementation using jain-slee and everything works fine, and able to send checkIMEIResponse to the client side ...
please any idea?

I have figured it out, my problem was i am creating the ApplicationId without vendor id, like:
ApplicationId applicationId =ApplicationId.createByAuthAppId(16777252L);
solved Like
ApplicationId applicationId =ApplicationId.createByAuthAppId(10415L, 16777252L);
and this issue doesn't occur on jain-slee since it uses Multiplixer, and the multiplixer initiate the connection and handles all the messages...
if anyone needs the jdiameter-config.xml files i can share them here ...

Related

"Target host not specified" when using json data for Dynamic Scenario Outline

I have upgraded to version 1.0.0 and I am encountering an error that was working fine when using 0.9.6.
Below is a provided Karate sample code which I modified a bit to show how I get the error.
Background:
* url 'https://jsonplaceholder.typicode.com'
* def id = read("id-list.json")
Scenario Outline: [id: <id>] get all users and then get the first user by id
Given path 'users', <id>
When method get
Then status 200
* print id
Examples:
| id |
id-list.json
[{"id":1},{"id":2}]
Error:
Testing started at 11:12 ...
command: --plugin org.jetbrains.plugins.cucumber.java.run.CucumberJvmSMFormatter --monochrome --name ^\[id\: .*\] get all users and then get the first user by id$ --glue com.intuit.karate C:/Users/danna/IdeaProjects/YXC/src/test/java/examples/users/users.feature
11:12:19.580 [main] DEBUG com.intuit.karate.Suite - [config] classpath:karate-config.js
11:12:19.585 [main] INFO com.intuit.karate.Suite - backed up existing 'target\karate-reports' dir to: target\karate-reports_1616551939583
11:12:19.606 [main] INFO c.intuit.karate.core.FeatureRuntime - found scenario at line: 18 - ^\[id\: .*\] get all users and then get the first user by id$
11:12:20.265 [main] INFO com.intuit.karate - karate.env system property was: null
11:12:20.333 [main] INFO c.intuit.karate.core.FeatureRuntime - found scenario at line: 18 - ^\[id\: .*\] get all users and then get the first user by id$
11:12:20.338 [main] INFO com.intuit.karate - karate.env system property was: null
11:12:20.595 [main] ERROR com.intuit.karate - karate.org.apache.http.ProtocolException: Target host is not specified, http call failed after 250 milliseconds for url: /users/1
11:12:20.596 [main] ERROR com.intuit.karate - src/test/java/examples/users/users.feature:12
When method get
http call failed after 250 milliseconds for url: /users/1
src/test/java/examples/users/users.feature:12
http call failed after 250 milliseconds for url: /users/1
src/test/java/examples/users/users.feature:12
11:12:20.596 [main] INFO c.intuit.karate.core.FeatureRuntime - found scenario at line: 18 - ^\[id\: .*\] get all users and then get the first user by id$
11:12:20.600 [main] INFO com.intuit.karate - karate.env system property was: null
11:12:20.601 [main] ERROR com.intuit.karate - karate.org.apache.http.ProtocolException: Target host is not specified, http call failed after 0 milliseconds for url: /users/2
11:12:20.601 [main] ERROR com.intuit.karate - src/test/java/examples/users/users.feature:12
When method get
http call failed after 0 milliseconds for url: /users/2
src/test/java/examples/users/users.feature:12
http call failed after 0 milliseconds for url: /users/2
src/test/java/examples/users/users.feature:12
I think the error was related to this issue but I'm not quite sure .
Any help would be appreciated.
Thanks for reporting this. This sounds like it is related to the same bug, so we have noted it: https://github.com/intuit/karate/issues/1517#issuecomment-805439326
For now you can work around by moving the url line into the first line of the Scenario.

Intellij Pull Requests Tool Windows has errors

Intellij version: 2018.3 (183.4284.148)
I am trying to use the feature https://blog.jetbrains.com/idea/2018/10/intellij-idea-2018-3-eap-github-pull-requests-and-more/ in my Enterprise Github.
When I open the Pull requests tool window it loads pull requests however when I click on any one of them I see an error such as below
There is not much in the idea logs except may be for this one (not sure if this is actually relevant)
2018-12-14 15:56:18,582 [1655214] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: #org.jetbrains.plugins.github.api.GithubApiRequestExecutor
2018-12-14 15:56:28,710 [1665342] DEBUG - b.api.GithubApiRequestExecutor - Request: https://MY_COMPANY_URL/api/v3/repos/MY_ORG/MY_REPO get information for repository MY_ORG/MY_REPO : Connecting
2018-12-14 15:56:29,507 [1666139] DEBUG - b.api.GithubApiRequestExecutor - Request: https://MY_COMPANY_URL/api/v3/repos/MY_ORG/MY_REPO GET : Connected
2018-12-14 15:56:29,509 [1666141] DEBUG - b.api.GithubApiRequestExecutor - Request: https://MY_COMPANY_URL/api/v3/repos/MY_ORG/MY_REPO GET : Result extracted
2018-12-14 15:56:29,519 [1666151] DEBUG - b.api.GithubApiRequestExecutor - Request: https://MY_COMPANY_URL/api/v3/search/issues?q=type%3Apr%20repo%3AMY_ORG%2FMY_REPO%20state%3Aopen search issues in repository : Connecting
2018-12-14 15:56:30,218 [1666850] DEBUG - b.api.GithubApiRequestExecutor - Request: https://MY_COMPANY_URL/api/v3/search/issues?q=type%3Apr%20repo%3AMY_ORG%2FMY_REPO%20state%3Aopen GET : Connected
2018-12-14 15:56:30,458 [1667090] DEBUG - b.api.GithubApiRequestExecutor - Request: https://MY_COMPANY_URL/api/v3/search/issues?q=type%3Apr%20repo%3AMY_ORG%2FMY_REPO%20state%3Aopen GET : Result extracted
2018-12-14 15:56:30,460 [1667092] DEBUG - b.api.GithubApiRequestExecutor - Request: https://MY_COMPANY_URL/avatars/u/9264? get profile avatar : Connecting
2018-12-14 15:56:30,461 [1667093] DEBUG - b.api.GithubApiRequestExecutor - Request: https://MY_COMPANY_URL/avatars/u/7541? get profile avatar : Connecting
2018-12-14 15:56:31,659 [1668291] DEBUG - b.api.GithubApiRequestExecutor - Request: https://MY_COMPANY_URL/login?return_to=https%3A%2F%2FMY_COMPANY_URL%2Favatars%2Fu%2F7541%3F GET : Connected
2018-12-14 15:56:31,660 [1668292] INFO - .CachingGithubUserAvatarLoader - Error loading image from https://MY_COMPANY_URL/avatars/u/7541?
java.lang.IllegalStateException: ImageIO.read(stream) must not be null
at org.jetbrains.plugins.github.api.GithubApiContentHelper.loadImage(GithubApiContentHelper.kt:64)
at org.jetbrains.plugins.github.api.GithubApiRequests$CurrentUser$getAvatar$1$extractResult$1.convert(GithubApiRequests.kt:29)
at org.jetbrains.plugins.github.api.GithubApiRequests$CurrentUser$getAvatar$1$extractResult$1.convert(GithubApiRequests.kt:26)
at org.jetbrains.plugins.github.api.GithubApiRequestExecutor$Base$createResponse$1.handleBody(GithubApiRequestExecutor.kt:214)
at org.jetbrains.plugins.github.api.GithubApiRequests$CurrentUser$getAvatar$1.extractResult(GithubApiRequests.kt:28)
at org.jetbrains.plugins.github.api.GithubApiRequests$CurrentUser$getAvatar$1.extractResult(GithubApiRequests.kt:26)
at org.jetbrains.plugins.github.api.GithubApiRequestExecutor$Base$execute$1.process(GithubApiRequestExecutor.kt:122)
at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:523)
at com.intellij.util.io.HttpRequests.process(HttpRequests.java:499)
at com.intellij.util.io.HttpRequests.access$100(HttpRequests.java:59)
at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:352)
at org.jetbrains.plugins.github.api.GithubApiRequestExecutor$Base.execute(GithubApiRequestExecutor.kt:111)
at org.jetbrains.plugins.github.api.GithubApiRequestExecutor$WithTokenAuth.execute(GithubApiRequestExecutor.kt:72)
at org.jetbrains.plugins.github.util.CachingGithubUserAvatarLoader.loadAndDownscale(CachingGithubUserAvatarLoader.kt:58)
at org.jetbrains.plugins.github.util.CachingGithubUserAvatarLoader.access$loadAndDownscale(CachingGithubUserAvatarLoader.kt:22)
at org.jetbrains.plugins.github.util.CachingGithubUserAvatarLoader$requestAvatar$1$1$1.compute(CachingGithubUserAvatarLoader.kt:46)
at org.jetbrains.plugins.github.util.CachingGithubUserAvatarLoader$requestAvatar$1$1$1.compute(CachingGithubUserAvatarLoader.kt:22)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$3(CoreProgressManager.java:180)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:180)
at org.jetbrains.plugins.github.util.CachingGithubUserAvatarLoader$requestAvatar$1$1.get(CachingGithubUserAvatarLoader.kt:46)
at org.jetbrains.plugins.github.util.CachingGithubUserAvatarLoader$requestAvatar$1$1.get(CachingGithubUserAvatarLoader.kt:22)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
2018-12-14 15:56:31,676 [1668308] DEBUG - b.api.GithubApiRequestExecutor - Request: https://MY_COMPANY_URL/login?return_to=https%3A%2F%2FMY_COMPANY_URL%2Favatars%2Fu%2F9264%3F GET : Connected
2018-12-14 15:56:31,677 [1668309] INFO - .CachingGithubUserAvatarLoader - Error loading image from https://MY_COMPANY_URL/avatars/u/9264?
java.lang.IllegalStateException: ImageIO.read(stream) must not be null
at org.jetbrains.plugins.github.api.GithubApiContentHelper.loadImage(GithubApiContentHelper.kt:64)
at org.jetbrains.plugins.github.api.GithubApiRequests$CurrentUser$getAvatar$1$extractResult$1.convert(GithubApiRequests.kt:29)
at org.jetbrains.plugins.github.api.GithubApiRequests$CurrentUser$getAvatar$1$extractResult$1.convert(GithubApiRequests.kt:26)
at org.jetbrains.plugins.github.api.GithubApiRequestExecutor$Base$createResponse$1.handleBody(GithubApiRequestExecutor.kt:214)
at org.jetbrains.plugins.github.api.GithubApiRequests$CurrentUser$getAvatar$1.extractResult(GithubApiRequests.kt:28)
at org.jetbrains.plugins.github.api.GithubApiRequests$CurrentUser$getAvatar$1.extractResult(GithubApiRequests.kt:26)
at org.jetbrains.plugins.github.api.GithubApiRequestExecutor$Base$execute$1.process(GithubApiRequestExecutor.kt:122)
at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:523)
at com.intellij.util.io.HttpRequests.process(HttpRequests.java:499)
at com.intellij.util.io.HttpRequests.access$100(HttpRequests.java:59)
at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:352)
at org.jetbrains.plugins.github.api.GithubApiRequestExecutor$Base.execute(GithubApiRequestExecutor.kt:111)
at org.jetbrains.plugins.github.api.GithubApiRequestExecutor$WithTokenAuth.execute(GithubApiRequestExecutor.kt:72)
at org.jetbrains.plugins.github.util.CachingGithubUserAvatarLoader.loadAndDownscale(CachingGithubUserAvatarLoader.kt:58)
at org.jetbrains.plugins.github.util.CachingGithubUserAvatarLoader.access$loadAndDownscale(CachingGithubUserAvatarLoader.kt:22)
at org.jetbrains.plugins.github.util.CachingGithubUserAvatarLoader$requestAvatar$1$1$1.compute(CachingGithubUserAvatarLoader.kt:46)
at org.jetbrains.plugins.github.util.CachingGithubUserAvatarLoader$requestAvatar$1$1$1.compute(CachingGithubUserAvatarLoader.kt:22)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$3(CoreProgressManager.java:180)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:180)
at org.jetbrains.plugins.github.util.CachingGithubUserAvatarLoader$requestAvatar$1$1.get(CachingGithubUserAvatarLoader.kt:46)
at org.jetbrains.plugins.github.util.CachingGithubUserAvatarLoader$requestAvatar$1$1.get(CachingGithubUserAvatarLoader.kt:22)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
2018-12-14 15:56:32,848 [1669480] DEBUG - b.api.GithubApiRequestExecutor - Request: https://MY_COMPANY_URL/api/v3/repos/MY_ORG/MY_REPO/pulls/3863 get pull request : Connecting
2018-12-14 15:56:33,488 [1670120] DEBUG - b.api.GithubApiRequestExecutor - Request: https://MY_COMPANY_URL/api/v3/repos/MY_ORG/MY_REPO/pulls/3863 GET : Connected
2018-12-14 15:56:33,571 [1670203] DEBUG - b.api.GithubApiRequestExecutor - Can't get pull request
org.jetbrains.plugins.github.exceptions.GithubJsonException: Can't get pull request
Couldn't parse GitHub response
at org.jetbrains.plugins.github.api.GithubApiContentHelper.readJson(GithubApiContentHelper.kt:46)
at org.jetbrains.plugins.github.api.GithubApiRequest$Companion$parseJsonResponse$1.convert(GithubApiRequest.kt:165)
at org.jetbrains.plugins.github.api.GithubApiRequest$Companion$parseJsonResponse$1.convert(GithubApiRequest.kt:163)
at org.jetbrains.plugins.github.api.GithubApiRequestExecutor$Base$createResponse$1.readBody(GithubApiRequestExecutor.kt:210)
at org.jetbrains.plugins.github.api.GithubApiRequest$Companion.parseJsonResponse(GithubApiRequest.kt:165)
at org.jetbrains.plugins.github.api.GithubApiRequest$Companion.access$parseJsonResponse(GithubApiRequest.kt:163)
at org.jetbrains.plugins.github.api.GithubApiRequest$Get$Json.extractResult(GithubApiRequest.kt:61)
at org.jetbrains.plugins.github.api.GithubApiRequestExecutor$Base$execute$1.process(GithubApiRequestExecutor.kt:122)
at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:523)
at com.intellij.util.io.HttpRequests.process(HttpRequests.java:499)
at com.intellij.util.io.HttpRequests.access$100(HttpRequests.java:59)
at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:352)
at org.jetbrains.plugins.github.api.GithubApiRequestExecutor$Base.execute(GithubApiRequestExecutor.kt:111)
at org.jetbrains.plugins.github.api.GithubApiRequestExecutor$WithTokenAuth.execute(GithubApiRequestExecutor.kt:72)
at org.jetbrains.plugins.github.pullrequest.data.GithubPullRequestsDataLoader$DataTask.run(GithubPullRequestsDataLoader.kt:90)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:727)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:403)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:314)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.jetbrains.io.mandatory.JsonMandatoryException: Field 'labels' is mandatory, but missing in response
at org.jetbrains.io.mandatory.NullCheckingFactory$1.read(NullCheckingFactory.java:57)
at com.google.gson.Gson.fromJson(Gson.java:927)
at com.google.gson.Gson.fromJson(Gson.java:892)
at org.jetbrains.plugins.github.api.GithubApiContentHelper.readJson(GithubApiContentHelper.kt:43)
... 27 more
Can someone please help?
I can't comment on yole's answer (not enough karma) and I couldn't pinpoint your profile on youtrack but I need some more logs to determine the root-cause of the issue.
Please enable debug logs (Help - Debug Log Settings...) for the following categories:
#org.jetbrains.plugins.github.api.GithubApiRequestExecutor
Then please reproduce the issue and share the entire logs folder zipped in the youtrack issue.
See https://intellij-support.jetbrains.com/hc/en-us/articles/207241085 to locate the logs.
This is a bug in IntelliJ IDEA. I've reported it to our issue tracker.
The actual issue appears to be Field 'labels' is mandatory, but missing in response. The field was implemented in GitHub Enterprise 2.13 only, and earlier versions do not return it in response.
The issue has been fixed in dev version and the will be backported to 2018.3 soon - https://youtrack.jetbrains.com/issue/IDEA-200881
As a side note, GitHub Enterprise 2.12 has been discontinued https://enterprise.github.com/releases/series/2.12 and most likely it will be updated soon in your organization, and PR will work even with the current IDE version

Spinnaker: URLRedirection cannot recognize subpath

I know its experimental, I am trying to setup use docker-compose to build Spinnaker. I am seeing an error when trying to browse localhost:9000. Its trying to redirect to this page.
http://localhost:8084/auth/redirectto=http%3A%2F%2Flocalhost%3A9000%2F%23%2Finfrastructure
Looks like either its a fiat or gate issue. Tried adding proxy to apache2.
Errors in Fiat:
RetrofitError: unexpected url: front50/serviceAccounts
2017-09-15 19:24:31.642 WARN 1 --- [ont50Service-10]
c.n.s.f.p.internal.Front50Service : [] Falling back to service
account cache. Cause: unexpected url: front50/serviceAccounts
2017-09-15 19:24:31.645 WARN 1 --- [ecutionAction-1]
c.n.s.fiat.roles.UserRolesSyncer : [] User permission sync
failed. Server status is DOWN. Trying again in 10000 ms. Cause:
(Provider: DefaultServiceAccountProvider) retrofit.RetrofitError:
unexpected url: front50/serviceAccounts
Errors in gate:
2017-09-15 19:18:19.386 ERROR 1 --- [ost-startStop-1]
o.s.b.b.PropertiesConfigurationFactory : Properties configuration
failed validation
2017-09-15 19:18:19.394 ERROR 1 --- [ost-startStop-1]
o.s.b.b.PropertiesConfigurationFactory : Field error in object
'target' on field 'services[ORCA_HOST]': rejected value [orca]; codes
For errors in fiat, you can configure the environment variable in docker compose to
environment:
- "SERVICES_CLOUDDRIVER_BASEURL=http://clouddriver:7002"
- "SERVICES_FRONT50_BASEURL=http://front50:8080"
Update: This workaround work for Gate
environment:
- "services.clouddriver.host=clouddriver"
- "services.echo.host=echo"
- "services.front50.host=front50"
- "services.igor.host=igor"
- "services.orca.host=orca"
- "services.rosco.host=rosco"

Zookeeper can not run becuase of Invalid config

The problem is when I run "./zkServer.sh start" , zookeeper STRATED. But when I check the status, it shows:
Error contacting service. It is probably not running.
I create three nodes on vmware, and my config is
tickTime=2000
dataDir=/usr/src/zookeeper
clientPort=2181
initLimit=10
syncLimit=5
server.1=192.168.237.129:2888:3888
server.2=192.168.237.130:2888:3888
server.3=192.168.237.132:2888:3888
I've already created myid:
myid and zookeeper creates zookeeper_server.pid each time when I start zookeeper
Zookeper does not use myid, but creates a new random zookeeper_server.pid each time.
Below is the zookeeper.out:
2016-06-09 19:06:28,768 [myid:] - INFO [main:QuorumPeerConfig#103] - Reading configuration from: /usr/src/zookeeper-3.4.6/bin/../conf/zoo.cfg
2016-06-09 19:06:28,778 [myid:] - INFO [main:QuorumPeerConfig#340] - Defaulting to majority quorums
2016-06-09 19:06:28,779 [myid:] - ERROR [main:QuorumPeerMain#85] - Invalid config, exiting abnormally
org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing /usr/src/zookeeper-3.4.6/bin/../conf/zoo.cfg
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:123)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:101)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
Caused by: java.lang.IllegalArgumentException: /usr/src/zookeeper/myid file is missing
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:350)
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:119)
... 2 more
Invalid config, exiting abnormally

How can I trace the failure ot TSaslTransport (hive related)

I've been debugging a JDBC Connection error in hive, similar to what was asked here:
Hive JDBC getConnection does not return.
By turning on log4j properly, i finally got down to seeing this , before the getConnection() hangs. What is thrift waiting for ? If this is related to using the wrong thrift APIs, how can I determine versioning differences between client/server?
I have tried copying all libraries from my hive server onto my client app to test if it is some kind of minor thrift class versioning error, but that didnt solve the problem, my JDBC connection still hangs.
0 [main] DEBUG org.apache.thrift.transport.TSaslTransport - opening transport org.apache.thrift.transport.TSaslClientTransport#219ba640
0 [main] DEBUG org.apache.thrift.transport.TSaslTransport - opening transport org.apache.thrift.transport.TSaslClientTransport#219ba640
3 [main] DEBUG org.apache.thrift.transport.TSaslClientTransport - Sending mechanism name PLAIN and initial response of length 14
3 [main] DEBUG org.apache.thrift.transport.TSaslClientTransport - Sending mechanism name PLAIN and initial response of length 14
5 [main] DEBUG org.apache.thrift.transport.TSaslTransport - CLIENT: Writing message with status START and payload length 5
5 [main] DEBUG org.apache.thrift.transport.TSaslTransport - CLIENT: Writing message with status START and payload length 5
5 [main] DEBUG org.apache.thrift.transport.TSaslTransport - CLIENT: Writing message with status COMPLETE and payload length 14
5 [main] DEBUG org.apache.thrift.transport.TSaslTransport - CLIENT: Writing message with status COMPLETE and payload length 14
5 [main] DEBUG org.apache.thrift.transport.TSaslTransport - CLIENT: Start message handled
5 [main] DEBUG org.apache.thrift.transport.TSaslTransport - CLIENT: Start message handled
5 [main] DEBUG org.apache.thrift.transport.TSaslTransport - CLIENT: Main negotiation loop complete
5 [main] DEBUG org.apache.thrift.transport.TSaslTransport - CLIENT: Main negotiation loop complete
6 [main] DEBUG org.apache.thrift.transport.TSaslTransport - CLIENT: SASL Client receiving last message
6 [main] DEBUG org.apache.thrift.transport.TSaslTransport - CLIENT: SASL Client receiving last message