Comments (13)
Oh okay. I'll try doing that. @YourTechBud
Yes it would really be helpful for debugging. @Jayesh333
Also if would be really great if the guide was clearly defined.
from space-cloud.
Can we have some more context to this? Like on what OS does this problem arises and what errors are reported? @KhushalPShah
from space-cloud.
I think this links back to #28.
from space-cloud.
Can we have some more context to this? Like on what OS does this problem arises and what errors are reported? @KhushalPShah
I tried copying the contents of the config file, as well as downloading the config file.
Neither of it worked.
I tried it on Ubuntu.
from space-cloud.
Whats the space-cloud
version you are using?
from space-cloud.
Unable to download config file.
Unsuccessful attempt to copy and run the config contents(raw) to config.yaml
How does the space-up api pick up the index.html file? Because I tried saving the file at the same location as of config, but resulted in 404 not found error.
from space-cloud.
When exactly did you get the 404 error? Immediately on running the space cloud or on making some request to space cloud via client api (if yes then which request)? Also what do you mean by space-up API pick up the index.html file? And what's the version of the space cloud you are running? @high-functioning-sociopath
from space-cloud.
Following the tutorial, I copied the config file and downloaded the index.html file from the todo example.
I started the space-cloud through terminal which said the server is running on port 8080.
So when I went to localhost:8080, it displayed the 404 HTTP error , which means it is not able to find the file.
So how does the space-cloud know which file (front-end, viz. todo app) to run? Because nowhere in the config file have I mentioned which file I want to run.
@Jayesh333
from space-cloud.
@high-functioning-sociopath space-cloud
doesn't host static files yet. Its a good idea to add that feature though. space-cloud
only exposes the REST endpoints for the crud operations. Also, space cloud would throw an error if it couldn't load the config. @Jayesh333 we should add a log message saying "config loaded or something similar to make it more explicit.
You'll have to open the html file directly in the browser by double clicking it. I should have been more specific in the docs. The issue #28 does talk about this and what space-cloud really is.
Try opening the html file directly and then try?
from space-cloud.
Yess agreed we should add a message saying config file loaded. Maybe we can also add a message saying that your backend server is up and running on port 8080 to make it more precise. Would that help? @YourTechBud @high-functioning-sociopath
from space-cloud.
@KhushalPShah I think your problem was different? Can you tell us what was it you faced? Like with the steps?
from space-cloud.
@KhushalPShah is this problem still there?
from space-cloud.
Resolved
from space-cloud.
Related Issues (20)
- [Feature] Add support for loading secrets from env and k8s secret
- [Feature] Generate AsyncAPI Document
- [Feature] PubSub Schema Verification
- [Feature] add support to create remote Source and Provider implementations
- [Feature] Reading "sc config" from Config File Instead of Environment Variables
- [Bug] Configman creating config routes only for those sources that exists
- [Feature] Replace maps in asyncapi document with jsonschema
- [Feature] Add support to auto generate client whenever SpaceCloud's RPC provider gets updated
- [Feature] Improvement in OPA polcies (request and response handling)
- [Feature] Add support for Authentication via Kratos
- [Feature] Add support for admin login in SC
- [Feature] Add support for registering plugins against producer and consumer channels.
- [Feature] Add endpoint to return a list of available plugins.
- [Feature] Add support for adding plugin details in client generator
- [Feature] spacectl client generate should load openapi directly from sc
- [Feature] Create handlers for checking if session is valid
- [Feature] Create basic taskqueue provider HOT 1
- [Bug] [space-cli setup] installed a gateway with missing image spaceuptech/gateway:0.21.5
- [Bug] Does not work with 1.27.7 Kubernetes HOT 2
- Deprecated API for HPA in higher versions of Kubernetes (1.26+)
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 space-cloud.