Comments (6)
I've updated the editor to change how the callback hostname setup works. It will now automatically detect whatever IP you use. You can either re-install (uninstall first), or try updating.
I had an overly complex method of setting the hostname for some reason...it should be far simpler now.
from adafruit-webide.
This was fixed in 0.1.8. If you aren't able to get to the editor, you may need to uninstall, and then re-install the editor (it will remember your bitbucket settings, so it's just a matter of waiting):
curl https://raw.github.com/adafruit/Adafruit-WebIDE/release/scripts/uninstall.sh | sh
curl https://raw.github.com/adafruit/Adafruit-WebIDE/release/scripts/install.sh | sh
from adafruit-webide.
Hello Justin.
Yes, now it's working. Just one question, I've forwarded a port from my router to the PI (running on fixed IP), but I am unable to login from the Internet. Has it something to do with this issue? Is it a new issue, or it's not supposed to be accessed other than locally?
Here goes the error message:
Error: failed to find request token in session
at Strategy.authenticate (/home/pi/Adafruit/WebIDE/editor/node_modules/passport-bitbucket/node_modules/passport-oauth/lib/passport-oauth/strategies/oauth.js:122:54)
at attempt (/home/pi/Adafruit/WebIDE/editor/node_modules/passport/lib/passport/middleware/authenticate.js:223:16)
at Passport.authenticate (/home/pi/Adafruit/WebIDE/editor/node_modules/passport/lib/passport/middleware/authenticate.js:224:7)
at callbacks (/home/pi/Adafruit/WebIDE/editor/node_modules/express/lib/router/index.js:162:11)
at param (/home/pi/Adafruit/WebIDE/editor/node_modules/express/lib/router/index.js:136:11)
at pass (/home/pi/Adafruit/WebIDE/editor/node_modules/express/lib/router/index.js:143:5)
at Router._dispatch (/home/pi/Adafruit/WebIDE/editor/node_modules/express/lib/router/index.js:170:5)
at Object.router as handle
at next (/home/pi/Adafruit/WebIDE/editor/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Object.handle (/home/pi/Adafruit/WebIDE/editor/server.js:105:3)
Thx
from adafruit-webide.
It should be accessible from the internet, but as it's an alpha, I'm not sure if I'd recommend it. I have tested over the internet though.
Are you on the latest version 0.1.8?
What is the URL for that error page? (you can ommit the IP address)
from adafruit-webide.
I can reproduce this. Restart the editor, and it will work. I'm setting the hostname only once, so it is caching your local IP address. If you restart the editor, and then hit from your outside IP, it will work fine. I'll fix this in 0.1.9.
service adafruit-webide.sh stop
service adafruit-webide.sh start
Then wait like 20-30 seconds for it to fully start up. Hit from your outside IP, and it should work.
from adafruit-webide.
Yes, you're right, it's using the local IP:
Using the 0.1.8 (I replaced the token and verifier on the message above))
from adafruit-webide.
Related Issues (20)
- Debugging not working HOT 2
- TypeError: Path must be a string. Received undefined HOT 1
- After instalation webide does not ask for a Bitbucket account HOT 2
- Confused HOT 1
- .
- Terminal not showing anything on desktop browsers HOT 4
- WebIDE Not Running
- installation problem RPI 3 B HOT 1
- Move repository location to /boot
- problem installing on pi zero w HOT 1
- Last couple of lines cut off "editor" HOT 2
- Linking to Bitbucket is unclear or not working HOT 1
- webide for GCC idea
- WebIDE not loading on Chrome after installation
- Clone Repository Not Working HOT 3
- Installation script fails on Rpi 3 B+ running Ubuntu Server 18.04 HOT 1
- setup is too short
- "quick fix"-included. pi zero W setup error for node
- Installer outdated and fails on Raspbian Buster HOT 2
- Installer not working on bullseye over raspberry
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 adafruit-webide.