Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openadr_vtn20b_1 exited with code 1 #20

Open
108618034 opened this issue Sep 5, 2021 · 13 comments
Open

openadr_vtn20b_1 exited with code 1 #20

108618034 opened this issue Sep 5, 2021 · 13 comments

Comments

@108618034
Copy link

i am using docker-compose up --build, it stop at "openadr_vtn20b_1 exited with code 1".
how can i fix it?

vtn20b_1 | at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source) ~[?:?]

vtn20b_1 | at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:?]
vtn20b_1 | at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) ~[?:?]
vtn20b_1 | at org.jivesoftware.smack.tcp.XMPPTCPConnection.proceedTLSReceived(XMPPTCPConnection.java:856) ~[smack-tcp-4.3.4.jar!/:4.3.4]
vtn20b_1 | at org.jivesoftware.smack.tcp.XMPPTCPConnection.access$2000(XMPPTCPConnection.java:155) ~[smack-tcp-4.3.4.jar!/:4.3.4]
vtn20b_1 | at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1171) ~[smack-tcp-4.3.4.jar!/:4.3.4]
vtn20b_1 | at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$1000(XMPPTCPConnection.java:1092) ~[smack-tcp-4.3.4.jar!/:4.3.4]
vtn20b_1 | at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1112) ~[smack-tcp-4.3.4.jar!/:4.3.4]
vtn20b_1 | at java.lang.Thread.run(Unknown Source) ~[?:?]
vtn20b_1 | [main] INFO c.a.o.s.c.v.WebDestructor - Executer Oadr20DREventPushServiceExecutor- with active 0 work has killed
rabbitmq_1 | 2021-09-05 13:19:47.776 [info] <0.1477.0> closing AMQP connection <0.1477.0> (172.18.0.7:58140 -> 172.18.0.4:5672, vhost: '/', user: 'admin')
rabbitmq_1 | 2021-09-05 13:19:47.794 [info] <0.1484.0> closing AMQP connection <0.1484.0> (172.18.0.7:58142 -> 172.18.0.4:5672, vhost: '/', user: 'admin')
openadr_vtn20b_1 exited with code 1

@zanni
Copy link
Contributor

zanni commented Sep 5, 2021 via email

@108618034
Copy link
Author

Thanks for your response,

so i have to open openfire fisrt?( http://localhost:9090)
Is there any setting to set?

@108618034
Copy link
Author

感謝您的答复,

所以我必須打開openfire fisrt?(http://localhost:9090)
有什麼設置要設置嗎?

it seems to have successfully installed.

openfire_1 | http://xmpp.vtn.oadr.com:9090
openfire_1 | https://xmpp.vtn.oadr.com:9091
openfire_1 | Successfully loaded plugin 'admin'.
openfire_1 | Successfully loaded plugin 'openfireoadrplugin-openfire-plugin-assembly'.
openfire_1 | Successfully loaded plugin 'search'.
openfire_1 | Finished processing all plugins.

@zanni
Copy link
Contributor

zanni commented Sep 5, 2021 via email

@zanni
Copy link
Contributor

zanni commented Sep 5, 2021 via email

@108618034
Copy link
Author

no i didn't succeed.
i am work on at ubuntu 18.04 docker-compose version 1.25.5.
so i have to chang to 1.28.5?

@bbartling
Copy link

bbartling commented Sep 5, 2021

Im on Ubuntu 20.04 and got the docker build to work. I also posted some links on my issue for getting the correct docker compose version if it helps at all. How do you launch the VTN when build success?

@108618034
Copy link
Author

i work on ubuntu 18.04 docker-compose 1.28.5, and it seem it was work,
but i can't open https://vtn.oadr.com:8181/testvtn/,however i can open RabbitMQ and Openfire .

@zanni
Copy link
Contributor

zanni commented Sep 6, 2021

Hi,

I committed a file containing the logs of a successful demo start on master branch:
https://github.com/avob/OpenADR/blob/master/successfull_build.txt

Multiple things happenning:

  • build image run, compile app if it's not yet done. This image will be stopped when everything has been provided to further images
  • middleware image starts: postgres_1, openfire_1, rabbitmq_1
  • vtn image starts: vtn20b_1
  • drprogram starts: dummy-drprogram_1
  • ven starts: ven20b_1
  • then VTN / DRP / VEN starts interacting as described in README file.

This demo has been launched on macOS, with Docker version 20.10.5, build 55c4c88 and docker-compose version 1.28.5, build c4eb3a1f

This process described in README has been followed i.e certificates are generated correctly, vtn.oadr.com has been added to DNS provider, admin certificates has been added to browser certificates provider (required to access VTN UI).

Hope it will help

@108618034
Copy link
Author

Thanks for your response,
i have a question about the certificates,
how can i add admin certificates to browser certificates provider(use ./generate_test_cert.sh ?)

@zanni
Copy link
Contributor

zanni commented Sep 6, 2021 via email

@zanni
Copy link
Contributor

zanni commented Sep 6, 2021 via email

@parashar18
Copy link

I am facing the same issue. Did you able to run https://vtn.oadr.com:8181/testvtn/ and https://vtn.oadr.com:8181/testvtn/swagger-ui.html?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants