Comments (8)
FYI: second-state/dapr-wasm#17
Dapr will try to check API when starting up:
from wasmedge-quickjs.
Could the Dapr check sends a "proper" http request with a header? The telnet request is technically not http.
from wasmedge-quickjs.
Could the Dapr check sends a "proper" http request with a header? The telnet request is technically not http.
I know the reason now.
We must run the command nohup
,otherwise we can not connect to server successfully.
cat@MININT-ODP168:~/code/wasmedge-quickjs/example_js$ nohup wasmedge --dir .:. ../target/wasm32-wasi/release/wasmedge_quickjs.wasm http_server_demo.js &
[1] 28385
from wasmedge-quickjs.
I don't know the root cause, why do we have this limitation?
wasmedge --dir .:. ../target/wasm32-wasi/release/wasmedge_quickjs.wasm http_server_demo.js
can not start the server properly.
from wasmedge-quickjs.
Just to make sure -- if you do not use nohup
, you will need to start the server in one terminal and run the HTTP client in another terminal window.
from wasmedge-quickjs.
Just to make sure -- if you do not use
nohup
, you will need to start the server in one terminal and run the HTTP client in another terminal window.
I used multiple terminals to test, I guess there is a potential issue we haven't understood :)
from wasmedge-quickjs.
@chenyukang Do both curl
and telnet
fail on your machine if you do not have nohup
?
from wasmedge-quickjs.
@chenyukang Do both
curl
andtelnet
fail on your machine if you do not havenohup
?
Yes
from wasmedge-quickjs.
Related Issues (20)
- Define Nodejs Version
- How to run code out of the modules folder
- Support `global` Node API in wasmedge-quickjs
- Support `http2` Node API in wasmedge-quickjs
- Support `net` Node API in wasmedge-quickj
- Support `readline` Node API in wasmedge-quickjs
- Support `tls` Node API in wasmedge-quickjs
- Need ARM support HOT 1
- http server cannot read the body of the request with `"transfer-encoding":"chunked"` request header HOT 2
- Unable to start server - OS error 28 on Ubuntu 20.04 HOT 2
- implement Serialize/Deserialize for JsValue HOT 2
- Call non-runtime Host function HOT 1
- Demo Hello World setTimeout() does not seem to be working HOT 5
- The Demo React SSR with renderToPipeableStream may not work as expected. HOT 4
- Provide pre-built files in the release assets HOT 1
- [Feature Request] Standalone QuickJS server
- Using the WASM file from Rust code instead of the WasmEdge CLI Tool HOT 6
- Asynchronous operations are not available in the http server
- How to support asynchronous processing in JsFn::call ?
- Update support for the image module
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 wasmedge-quickjs.