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

Errors pointing to a Connector with other parameters #303

Open
paulocabrita-ionos opened this issue Nov 3, 2022 · 2 comments
Open

Errors pointing to a Connector with other parameters #303

paulocabrita-ionos opened this issue Nov 3, 2022 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@paulocabrita-ionos
Copy link

Dear all,

I am having some problems in connecting to a connector using the UI.

The following errors appear in the site:
Get connector settings failed. (See logs for details)
Get file type statistics failed. (See logs for details)
Get configuration error failed. (See logs for details)

I did the following:

  • edited the package.json and change to this: vue-cli-service serve --open --port 8082 --host 192.168.1.9
  • edited the backend/index.js with let connectorUrl = "https://192.168.1.9:8081"
  • const port = 8084;
  • edited the utils/restUtils.js with let backendUrl = "http://192.168.1.9:8084"; >> the original points to http://localhost:8083 but I think it should use the "const port = 8084";

Notes:

  • I am running the UI with npm start;
  • 192.168.1.9 is the IP address of a VM;
  • the port 8083 is busy with another service that why I want to change it do 8084;
  • the connector is up and running at the URL https://192.168.1.9:8081. I can see the JSON when I use a browser;
  • I access with no problem at all the UI through a browser;

How can I see the logs? I tried to "console" some output but with no success.

Any help would be very much appreciate.

Regards,
PJC

@SebastianOpriel
Copy link
Member

Sorry, unfortunately I cannot support you in custom configurations. My advice: Do not change the ports. Run it with docker and use a reverse proxy like nginx to map endpoints on the VM.

@SebastianOpriel SebastianOpriel added the help wanted Extra attention is needed label Nov 4, 2022
@paulocabrita-ionos
Copy link
Author

paulocabrita-ionos commented Nov 4, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants