# Price node relay error execution

**URL:** <https://bisq.community/t/price-node-relay-error-execution/7747>\
**Category:** Support\
**Created:** [May 26, 2019, 1:13pm UTC](https://bisq.community/t/price-node-relay-error-execution/7747 "2019-05-26T13:13:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlsuyt](https://bisq.community/letter_avatar/mlsuyt/32/5_5575768a8748004e209b776fc1b2916d.png) [@mlsuyt](https://bisq.community/u/mlsuyt)\
**Post date:** [May 26, 2019, 1:13pm UTC](https://bisq.community/t/price-node-relay-error-execution/7747/1 "2019-05-26T13:13:01Z")

</div>

Hello everybody,

I have built bisq with :  
openjdk version “11.0.2” 2019-01-15  
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)  
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

The build was successful.

I have one error. I would like to run a price node relay on a VPS and this is the error :

May-26 14:35:04.658 [main] ERROR o.s.b.SpringApplication: Application startup failed org.springframework.context.ApplicationContextException: Failed to start bean ‘bitcoinAverage.Local’; nested exception is org.springframework.web.client.HttpClientErrorException: 403 Forbidden  
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:178)  
at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:50)  
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:348)  
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:151)  
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:114)  
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:880)  
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:144)  
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)  
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)  
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)  
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)  
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)  
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)  
at bisq.price.Main.main(Main.java:36)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.base/java.lang.reflect.Method.invoke(Method.java:566)  
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)  
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)  
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)  
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)  
Caused by: org.springframework.web.client.HttpClientErrorException: 403 Forbidden  
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:85)  
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:708)  
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:661)  
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:636)  
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)  
at bisq.price.spot.providers.BitcoinAverage.getTickersKeyedByCurrencyPair(BitcoinAverage.java:109)  
at bisq.price.spot.providers.BitcoinAverage.getTickersKeyedByCurrency(BitcoinAverage.java:103)  
at bisq.price.spot.providers.BitcoinAverage.doGet(BitcoinAverage.java:82)  
at bisq.price.spot.providers.BitcoinAverage$Local.doGet(BitcoinAverage.java:153)  
at bisq.price.PriceProvider.refresh(PriceProvider.java:78)  
at bisq.price.PriceProvider.start(PriceProvider.java:58)  
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:175)  
… 21 common frames omitted

org.springframework.context.ApplicationContextException: Failed to start bean ‘bitcoinAverage.Local’; nested exception is org.springframework.web.client.HttpClientErrorException: 403 Forbidden  
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:178)  
at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:50)  
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:348)  
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:151)  
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:114)  
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:880)  
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:144)  
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)  
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)  
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)  
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)  
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)  
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)  
at bisq.price.Main.main(Main.java:36)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.base/java.lang.reflect.Method.invoke(Method.java:566)  
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)  
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)  
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)  
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)  
Caused by: org.springframework.web.client.HttpClientErrorException: 403 Forbidden  
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:85)  
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:708)  
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:661)  
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:636)  
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)  
at bisq.price.spot.providers.BitcoinAverage.getTickersKeyedByCurrencyPair(BitcoinAverage.java:109)  
at bisq.price.spot.providers.BitcoinAverage.getTickersKeyedByCurrency(BitcoinAverage.java:103)  
at bisq.price.spot.providers.BitcoinAverage.doGet(BitcoinAverage.java:82)  
at bisq.price.spot.providers.BitcoinAverage$Local.doGet(BitcoinAverage.java:153)  
at bisq.price.PriceProvider.refresh(PriceProvider.java:78)  
at bisq.price.PriceProvider.start(PriceProvider.java:58)  
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:175)  
… 21 common frames omitted

I have created an api key with basic plan on bitcoinaverage and add the pubkey and private key in ~/.config/bisq.properties.

I have launched the node as following :  
java -jar ~/bisq/pricenode/build/libs/pricenode-0.7.2-SNAPSHOT.jar 10 1 --debug

I don’t know exactly what are 10 and 1 but I don’t think this cause the error.

Somebody can help me ?

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![alexej996](https://bisq.community/user_avatar/bisq.community/alexej996/32/491_2.png) [@alexej996](https://bisq.community/u/alexej996)\
**Post date:** [May 26, 2019, 5:21pm UTC](https://bisq.community/t/price-node-relay-error-execution/7747/2 "2019-05-26T17:21:00Z")

</div>

> [@Pricenode error](https://bisq.community/t/pricenode-error/5320/9):
>
> I don’t understand much about price nodes myself, but you can try using “2 2” instead of “10 1”. Not sure what it does, but I think i saw it mentioned in Slack. You can check out the pricenode channel on Slack to probably get a better support for this.

---

<div class="post-metadata">

**Author:** ![sqrrm](https://bisq.community/letter_avatar/sqrrm/32/5_5575768a8748004e209b776fc1b2916d.png) [@sqrrm](https://bisq.community/u/sqrrm)\
**Post date:** [May 26, 2019, 9:44pm UTC](https://bisq.community/t/price-node-relay-error-execution/7747/3 "2019-05-26T21:44:58Z")

</div>

I haven’t run a pricenode for a while so I don’t know what the issue is. However, make sure you compile with Java 10 and that the API key is correct and properly configured.
