Giter VIP home page Giter VIP logo

Comments (11)

igwtech avatar igwtech commented on July 26, 2024 1

from openas2app.

igwtech avatar igwtech commented on July 26, 2024

from openas2app.

csyversen avatar csyversen commented on July 26, 2024

@igwtech it's long, so i created a gist: https://gist.github.com/csyversen/02578a11677ebf0d461908ce28ec24ef

the only section i changed was the RestCommandProcessor section, mostly following the steps that somebody else laid out here: #320 (comment)

from openas2app.

igwtech avatar igwtech commented on July 26, 2024

from openas2app.

csyversen avatar csyversen commented on July 26, 2024

@igwtech awesome, I'll try that in a little bit!

I had modified this line: https://gist.github.com/csyversen/02578a11677ebf0d461908ce28ec24ef#file-config-xml-L131 to be http://0.0.0.0:8443 and thought that might be an override, but I might've misunderstood the config's intent!

from openas2app.

csyversen avatar csyversen commented on July 26, 2024

@igwtech ah, no luck even after making that change. I'm still seeing the same results.

It looks like the Server app is up and accepting REST requests from the Vue app (since i'm seeing activity in the server logs when I submit the login form), but the user doesn't exist or something?

from openas2app.

badsmoke avatar badsmoke commented on July 26, 2024

i get a connection refused, the service does not seem to be running/listening

from openas2app.

Hansz avatar Hansz commented on July 26, 2024

What got it to work for me/us is changing the following 2 files:

docker-compose.yml

services:
  openas2:
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - 4080:10080
      - 4081:10081
      - ${HOST_RESTAPI_PORT:-8443}:8080
    environment:
      - OPENAS2PROP_RESTAPI__COMMAND__PROCESOR__BASEURI="http://0.0.0.0:8080"
      - OPENAS2PROP_RESTAPI__COMMAND__PROCESOR__USERID="userID"
      - OPENAS2PROP_RESTAPI__COMMAND__PROCESOR__PASSWORD="pWd"
    tty: true
    stdin_open: true
    networks:
      - as2-network
    volumes:
      - ./config:/opt/openas2/config:rw
      - ./data:/opt/openas2/data:rw

  openas2_webui:
    build:
      context: .
      dockerfile: Dockerfile_WebUI
      args:
        - VUE_APP_RESTAPI_URL=http://openas2:${HOST_RESTAPI_PORT:-8443}/api
    ports:
      - ${HOST_WEBUI_PORT:-8080}:80
    tty: true
    stdin_open: true
    networks:
      - as2-network

networks:
  as2-network:
    name: as2-network

config.xml

restapi.command.processor.baseuri="http://0.0.0.0:8080"

from openas2app.

uhurusurfa avatar uhurusurfa commented on July 26, 2024

Closing as solution appears to have been found.

from openas2app.

csyversen avatar csyversen commented on July 26, 2024

@uhurusurfa fwiw i never got this working, but decided to just use openas2 headless instead

from openas2app.

igwtech avatar igwtech commented on July 26, 2024

from openas2app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.