-
Notifications
You must be signed in to change notification settings - Fork 49
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
Unable to fetch connectors #5
Comments
This means most probably that the request timed out. Are you sure that the simulator is still running? Try visiting |
@aviarybuilds The relevant spot in the sources is the nodejs environment manifest (e.g. .env.development). A short documentation of the API root definition is in the API configuration section. As a general background, the Simulator comes with a compiled version of the dashboard. If you want to change the dashboard (e.g. the API root), then you need to edit the dashboard sources and rebuild it, so that the Simulator can use the new compiled version. A brief overview of the build process is given in this section of the README. Furthermore, the whole README of the dashboard repo is very relevant. If you encounter any problems, please update this issue with your findings. I only tested the Simulator on the local host so far, but would be very interested in arbitrary base URLs support. |
I had the same issue with a headless VM. Then I did this and it works for me.
|
Hi @matth-x @eiwin , |
Hello @matth-x , I edited .env.development file with my ip but I cant find .env.production . |
There is no .env.production file in the repository. You have to manually create it and then copy the contents of the .env.development file into it. After that you can alter the variables to your liking and build the bundle. There is a short walk-through of the process in the readme. |
Could you please add some more information about the error? Have you opened the browser network tool and checked that the correct address is used? Did you rebuild the webapp manually or did you use the script? |
I have faced the same problem. up to date, audited 646 packages in 2s 86 packages are looking for funding 17 vulnerabilities (3 low, 5 moderate, 8 high, 1 critical) To address all issues, run: Run
[webpack-cli] Failed to load '/home/azadmin/MicroOcppSimulator/webapp-src/webpack_config/webpack.prod.js' config SyntaxError: Unexpected token '?' :~/MicroOcppSimulator$` |
Hello, an error comes out "Unable to fetch connectors". Are there any instructions on the simulator?
The text was updated successfully, but these errors were encountered: