OpenBankProject / OBP-API

An open source RESTful API platform for banks that supports Open Banking, XS2A and PSD2 through access to accounts, transactions, counterparties, payments, entitlements and metadata - plus a host of internal banking and management APIs.
https://www.openbankproject.com/
1.52k stars 421 forks source link

Error runing OBP-API using IntelliJ IDEA #2365

Open madeline000 opened 4 months ago

madeline000 commented 4 months ago

I have been facing issues while running the OBP-API using the steps mentioned in this link: Run via IntelliJ IDEA.

image

Note: It is important to note that the build was successful. There were only 80+ warnings present.

Following are the exception logs:

13:27:00.688 [qtp180353207-16] DEBUG org.eclipse.jetty.server.HttpChannel - handle //localhost:8080/ HttpChannelOverHttp@34c58f5f{s=HttpChannelState@2d951605{s=IDLE rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=1,c=false/false,a=IDLE,uri=//localhost:8080/,age=0} 
13:27:00.688 [qtp180353207-16] DEBUG org.eclipse.jetty.server.HttpChannelState - handling HttpChannelState@2d951605{s=IDLE rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0}
13:27:00.688 [qtp180353207-16] DEBUG org.eclipse.jetty.server.HttpChannel - action DISPATCH HttpChannelOverHttp@34c58f5f{s=HttpChannelState@2d951605{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=1,c=false/false,a=HANDLING,uri=//localhost:8080/,age=0}
13:27:00.688 [qtp180353207-16] DEBUG org.eclipse.jetty.server.Server - REQUEST GET / on HttpChannelOverHttp@34c58f5f{s=HttpChannelState@2d951605{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=1,c=false/false,a=HANDLING,uri=//localhost:8080/,age=0}
13:27:00.688 [qtp180353207-16] DEBUG org.eclipse.jetty.server.handler.ContextHandler - scope null||/ @ o.e.j.w.WebAppContext@2e807c54{/,file:///C:/Users/My-COMPUTER/Desktop/OpenBank/OBP-API/obp-api/src/main/webapp/,UNAVAILABLE}{file:/C:/Users/My-COMPUTER/Desktop/OpenBank/OBP-API/obp-api/src/main/webapp}
13:27:00.688 [qtp180353207-16] DEBUG org.eclipse.jetty.server.HttpChannelState - sendError HttpChannelState@2d951605{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0}
13:27:00.688 [qtp180353207-16] DEBUG org.eclipse.jetty.server.Server - handled=true async=false committed=true on HttpChannelOverHttp@34c58f5f{s=HttpChannelState@2d951605{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=true i=true al=0},r=1,c=false/false,a=HANDLING,uri=//localhost:8080/,age=0}
13:27:00.688 [qtp180353207-16] DEBUG org.eclipse.jetty.server.HttpChannelState - unhandle HttpChannelState@2d951605{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=true i=true al=0}
13:27:00.688 [qtp180353207-16] DEBUG org.eclipse.jetty.server.HttpChannelState - nextAction(false) SEND_ERROR HttpChannelState@2d951605{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=false al=0}
13:27:00.688 [qtp180353207-16] DEBUG org.eclipse.jetty.server.HttpChannel - action SEND_ERROR HttpChannelOverHttp@34c58f5f{s=HttpChannelState@2d951605{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=false al=0},r=1,c=false/false,a=HANDLING,uri=//localhost:8080/,age=0}
13:27:00.689 [qtp180353207-16] DEBUG org.eclipse.jetty.io.ChannelEndPoint - filled 0 HeapByteBuffer@2e3be707[p=0,l=0,c=8192,r=0]={<<<>>>GET / HTT...\x00\x00\x00\x00\x00\x00\x00}

I have been using the following:

, and configuration of the props file,

image

image

ardatov commented 4 months ago

Hello, I had the same error. It’s so strange that the developers did not foresee this, but the error disappeared when I launched the redis in docker:

version: '3.8'
services:
  cache:
    image: redis
    restart: always
    ports:
      - '6379:6379'
    command: redis-server --save 20 1 --loglevel warning
    volumes:
      - cache:/data
volumes:
  cache:
    driver: local
madeline000 commented 4 months ago

Hi @ardatov,

So you mean to say, the steps I have mentioned above are good to go, and I just need to run Redis in a Docker?

Thank you

ardatov commented 4 months ago

Hi @ardatov,

So you mean to say, the steps I have mentioned above are good to go, and I just need to run Redis in a Docker?

Thank you

Hi @madeline000

Yes that should help

madeline000 commented 2 weeks ago

No that did not work.