Comments (7)
@skug67 In reply to your comment on config:
OK thanks for that. Some issues I can think of might be:
The DockerHub image is quite old, you could try to rebuild a docker image using the included utility script from the latest code version.
Chrome headless also needs to open port 5002 locally. Which the backend (on 8002) needs to talk to. No sure if that's somehow being blocked.
When you say "refreshes" are any errors shown?
In any case, I think you could try to run it from Node itself, or build a Docker image from a recent release, to get better debugging info and it by updating it might fix the problem.
I'm not sure. These are just ideas. I don't have a certain picture of what the problem might be.
from browserboxpro.
I'll poke around some. Don't think it has to do with 5002 <-> 8002 problems because it all works fine if I access directly from my browser to 8002. There's pretty clearly something going on with the Apache proxy......
from browserboxpro.
PS the error which shows is "Error connecting to the server - Will reload to try again"
from browserboxpro.
from browserboxpro.
Thanks. (For when/if you get back to this ... but totally understand if you never do)
One thing I am noticing which might help lead to explanation. When I run directly instead of via docker, I see that a direct connection produces console output of
{ connectionIp: '::ffff:192.168.0.157' }
When I connect via Apache proxy there's no output at all. Additional point -- my LAN is not set up for ipv6.
from browserboxpro.
I've got it working a lot better (still having problems with authorization/access control via Apache) but the following seems to generally work
RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /(.*) ws://localhost:8002/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /(.*) http://localhost:8002/$1 [P,L]
ProxyPassReverse / http://localhost:8002/
from browserboxpro.
Awesome, thank you for the issue, and the config on how you got it working!
There's a "login" step, which uses a /login?
url with a special token, which then sets the cookie,
I believe. That may be causing issues if it's not in the rewrite rules, I don't know.
from browserboxpro.
Related Issues (20)
- Fix issue templates - we are missing some! And add contact info
- Fix corrupted context menu.
- offline mode HOT 2
- [Tor mode] Route node's requests through Tor as well if possible, or switch them off.
- DevTools does not work when using Docker Container HOT 2
- Alert info goes missing sometimes. HOT 1
- Typing event order disordered sometimes especially on large ping
- When `--ontor` is used support onion location header
- [iframe full spectrum dominance]: some guest context iframe do not tolerate nor accept script injection
- [favicon]: favicon still an issue HOT 1
- AWS CloudFormation Template Access Issues HOT 2
- Chrome UI is 🔥 HOT 2
- Binary build HOT 1
- Good fixes
- Assets HOT 4
- Move chai doc viewer hash from hasha to rainsum (need to make npm module for rain hash)
- Translate install instructions: Hindi, German, French, Spanish, Chinese, Russian HOT 6
- How to install a Chrome browser extension in Browserbox? HOT 1
- Allow users to configure outbound proxy HOT 2
- Make VPN HOT 1
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 browserboxpro.