Pricenode error

Has anyone had a pricenode error like this and know what it means?

Apr-23 10:43:22.323 [main] WARN o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean ‘bitcoinAverage.Local’; nested exception is org.springframework.web.client.HttpClientErrorException: 403 Forbidden
Apr-23 10:43:22.846 [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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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:107)
at bisq.price.spot.providers.BitcoinAverage.getTickersKeyedByCurrency(BitcoinAverage.java:101)
at bisq.price.spot.providers.BitcoinAverage.doGet(BitcoinAverage.java:80)
at bisq.price.spot.providers.BitcoinAverage$Local.doGet(BitcoinAverage.java:151)
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

@cbeams Do you have an idea?

Looks like bad BitcoinAverage key data. Did you follow the instructions at https://github.com/bisq-network/bisq-pricenode/#readme closely?

I only just noticed this now because we’ve had email delivery issues with the Forum over the last week. But in any case, development-related stuff is better discussed in Slack (the #pricenode) channel or as a GitHub issue in the https://github.com/bisq-network/bisq-pricenode repository.

Hi,
Is it possible to participate to the Slack ?
I’m a complete noob, but I’m willing to try to deepen a bit in bisq if possible.
Thanks

Of course. You can find Slack invite link on Bisq’s official website under community section.
Here, I copied it for you https://bisq.network/slack-invite :slight_smile:

1 Like

The link says :
Slack
This invite link is no longer active.
Please check with the person who shared it with you to see if there’s a new link available.

You are right. It seems like it expired. I guess we need to get a new link and update the website.
I will mention it in Slack now.

EDIT: Chris just renewed the link now. It is active again :slight_smile:

1 Like

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 the same 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 :slight_smile:

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.

1 Like

ok thanks, I have post my message in the channel pricenode on Slack :slight_smile: