Comments (4)
Hello @bowtiesolutions,
Looks like I can't reproduce the issue.
Here is what I did :
- Install BW 1.5.6 on Ubuntu 22.04 : https://docs.bunkerweb.io/1.5.6/integrations/#linux
- Complete the setup wizard with a valid domain
- Access the ban page
Can you confirm that you installed the 1.5.6 version and not a dev/testing one ?
from bunkerweb.
Yes, have checked and confirmed 1.5.6 is in use and that both bunkerweb and nginx are held at their installed versions per the integration instructions.
I can't confirm I was able to access the bans page previously, however I was able to use 'bwcli bans' however am no longer able to (see below).
[2024-05-13 01:11:40] - API - ❌ - Can't send API request to http://127.0.0.1:5000/bans : Request failed: HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /bans (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1ba1c83430>: Failed to establish a new connection: [Errno 111] Connection refused')) [2024-05-13 01:11:40] - CLI - ❌ - Error while executing bwcli : Traceback (most recent call last): File "/usr/share/bunkerweb/cli/main.py", line 66, in <module> ret, err = cli.bans() File "/usr/share/bunkerweb/cli/CLI.py", line 246, in bans ret, resp = self.send_to_apis("GET", "/bans", response=True) TypeError: cannot unpack non-iterable bool object
from bunkerweb.
Hello @bowtiesolutions,
Can you try again with the new 1.5.7 version ? More info here : https://docs.bunkerweb.io/1.5.7/
from bunkerweb.
I ended up doing a clean reinstall to 1.5.7 as the update process did not complete normally and my configuration was lost.
The bans page and bwcli are now responding normally. Running sudo netstat -nlp
shows the API endpoint loaded now, this was not the case for 1.5.6.
tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN 4427/nginx: master
I suspect that /etc/nginx/api.conf was not being correctly generated or referenced in my previous installation leading to the error.
from bunkerweb.
Related Issues (20)
- [BUG] Persistent auto-regeneration of invalid config with double dollar signs ($$) causing Nginx failures HOT 1
- batch files for manual installation HOT 1
- [BUG] bunkerweb container sets label "bunkerweb.INSTANCE" to "bunkerweb" instead of "yes" HOT 2
- [BUG] Let's Encrypt Certificate staging to production HOT 2
- [BUG] ssl certificate failed HOT 2
- [FEATURES/IDEAS/TESTING] Collection of ideas resulting from testing the dev branch HOT 2
- [BUG] /usr/share/bunkerweb will be deleted after ~2 Weeks HOT 2
- [BUG] Redirects to https despite config disabling this HOT 3
- [FEATURE] Support for I18n, Support for chinese.
- [FEATURE] Please Add native support for ntfy and gotify like selfhosted push notification projects for much better secure options HOT 1
- Content Setup - September
- [FEATURE] Proxy Protocol sent from BunkerWeb
- [DOC] CRS files in Multisite Setup
- [BUG] Can not resolve domain name set by extra_hosts:
- [BUG] Bunerweb cannot load custom SSL certs HOT 1
- [FEATURE] More Information About Bans
- [BUG] Docker-Compose setup HOT 4
- [FEATURE] AUTH_BASIC_LOCATION_EXCLUDE -> exclude specific route
- [BUG] After config the authelia, the 'Errors' plugin not work
- [BUG] False Positive with pgrep in start.sh Script 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 bunkerweb.