vmware-archive / xray Goto Github PK
View Code? Open in Web Editor NEWPeer into the Lattice
License: Apache License 2.0
Peer into the Lattice
License: Apache License 2.0
Try using a password with *'s or any other special character, and it gets escaped incorrectly and receptor doesn't validate the credential. Then add the same receptor with credentials in the URI and it quasi works after that.
Hi xray,
I'm running with XRAY_USER and XRAY_PASSWORD set. Sometimes when visiting the app though, it keeps asking for basic auth repeatedly ( I think it's once per .css/.js/xhr/etc request). Especially in chrome incognito mode. What's up with that?
I also set RECEPTOR_URL without user:pass@
in it. NODE_ENV is production
. Deploying xray to lattice.
My Dockerfile is as follows:
FROM ubuntu:14.04
RUN apt-get update && apt-get -y install build-essential git wget python2.7
RUN ln -s /usr/bin/python2.7 /usr/bin/python
RUN wget http://nodejs.org/dist/v0.12.7/node-v0.12.7.tar.gz
RUN tar xfz node-v0.12.7.tar.gz
RUN cd node-v0.12.7 && ./configure && make && make install
RUN mkdir xray
ADD . /var/xray
WORKDIR /var/xray
RUN npm cache clear && rm -rf node_modules && npm install
RUN npm rebuild node-sass
CMD ["node", "index.js"]
Doing an npm install
yields: npm WARN package.json Dependency 'gulp-dr-frankenstyle' exists in both dependencies and devDependencies, using '[email protected]' from dependencies
.
That version of the package seems to have a bad dependency specification on the underlying dr-frankenstyle package and crashes when you run gulp assets-all
with
Error: Cannot find module 'dr-frankenstyle/lib/strategies'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/Users/pivotal/workspace/xray/node_modules/gulp-dr-frankenstyle/index.js:4:23)
at Module._compile (module.js:456:26)
at Module._extensions..js (module.js:474:10)
at Object.require.extensions.(anonymous function) [as .js] (/Users/pivotal/workspace/xray/node_modules/babel/node_modules/babel-core/lib/babel/api/register/node.js:136:7)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
Perhaps throw in a screenshow into the readme
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.