Comments (3)
* curl http://localhost:3030/sessions
{"error":"NotFound","message":"Not Found"}%
from geoengine.
hi Claas,
sorry to hear that you can't connect the ui and the backend. I just checked geoengine:master and geoengiune-ui:main and it works fine for me.
For geoengine you only need to do "cargo run" it will run on port 3030.
For geoengiine-ui use
"ng build --configuration development wave-core-new --watch"
and
"ng serve --configuration development geoengine-app --proxy-config proxy-local.conf.json"
then the UI should work on port 4200.
The not found on localhost:3030 is ok.
from geoengine.
Finally I found the problem (kudos to @koerberm). When you have an ipv6 entry in /etc/hosts
for localhost next to an ipv4 entry for localhost the frontend cannot connect to the backend. The backend prefers to listen in here on my my end:
* netstat -an | grep "3030"
tcp 0 0 127.0.0.1:3030 0.0.0.0:* LISTEN
while the frontend listens in here:
* netstat -an | grep "4200"
tcp6 0 0 ::1:4200 ::1:46822 TIME_WAIT
Then the communication fails (when you start the web ui then you land on the login page). When I remove that ipv6 entry everything works fine (you land in the geoengine right away)!
* netstat -an | grep "4200"
tcp 0 0 127.0.0.1:4200 0.0.0.0:* LISTEN
from geoengine.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geoengine.