Comments (7)
thanks for your encouragements :) I will try it on Windows later (we have no Windows OS at work).
from vscode-warpscriptlanguage.
Hi, just tried again this mornning. FYI I'm now using the extension from a windows 10 machine and docker.
Changing enpoint to local docker machine ip does not work, I get the same error message ECONNREFUSED 127.0.0.1:808
. Thanks for your help!
from vscode-warpscriptlanguage.
Ok changing configuration in vscode parameters does the trick. Maybe that's the way to do it?
from vscode-warpscriptlanguage.
You can do both ways.
I usually use preferences, but my colleagues use the annotation. I just tried it, it works fine (against our distributed cluster and a local docker image).
Are you sure about your local url (127.0.0.1:808) ? Isn't it listening on the 8080 port?
To my opinion, the request is sent to the right server, nevertheless, a standard Warp 10 instance do not return 'content-type' header on a exec response, while your Warp 10 instance (warp10.gra1.metrics.ovh.net) add content-type: "application/json"
. We have a dummy test here : https://github.com/Giwi/VSCode-WarpScriptLangage/blob/master/src/features/execCommand.ts#L165 so, the response from your instance is never displayed. According to issue #24, it seems, you have a customized Warp 10 which do not behave like a standard one.
It will be fixed in a future release.
from vscode-warpscriptlanguage.
Hi!
FYI, I'm using latest warp docker image on my local windows machine using
docker run --volume=/var/warp10:/data -p 8080:8080 -p 8081:8081 -d -i warp10io/warp10:latest
Are you sure about your local url (127.0.0.1:808) ? Isn't it listening on the 8080 port?
Sorry it was a typo. It was listening on 8080. But the local ip is 192.168.99.100 since according to the doc,
using Docker on Mac OS or Windows, there is no binding between Warp 10 API address and the host (docker is runned throw a Virtual Machine). To reach Warp 10 you need to replace 127.0.0.1 by the real Ip address of the container.
I don't know if that gives you interesting information though...
from vscode-warpscriptlanguage.
Anyway since I have found one way to change the endpoint, please feel free to close the issue.
Thanks for your answer and for the extension, It's been very useful so far! 👏
from vscode-warpscriptlanguage.
Hi, it seems to be fixed on windows, could you give a try with the 1.0.0 version?
from vscode-warpscriptlanguage.
Related Issues (8)
- [bug] Cannot execute WarpScripts HOT 10
- GTS with same id are considered the same HOT 1
- Switch for ms/us/ns HOT 1
- Integrate a preference toggle to desactivate the automatic GTS preview HOT 3
- File parsing error
- Unable to write when the extension is enable HOT 5
- String that contain single '\' at end destroys syntax higlightning
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 vscode-warpscriptlanguage.