Forum Replies Created

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter xivos01

    (@xivos01)

    Just a quick update: After a while with the plugin turned off, the error just disappeared. It may have been a conflict with the LiteSpeed cache plugin. I switched to Memcached, and now it seems to be running. The curl command in SSH now returns null in SSH. I can, however, see the decision in the log file if I have logging enabled, and it seems to be ok.

    I am also using a custom wp dashboard which represses some of the alerts, so it may actually try to fire that banner at the top and I may just not be able to see it. Thanks to so many WP plugins using notifications to spam the admin, I disabled most of them.

    I added some WordPress and general HTML scenarios and will check to see if any alerts show up. Currently, I have it enabled on 3 sites on the network with various traffic levels to determine if I see any alerts.

    I’m starting to think this may just be an issue with the UI rather than the plugin itself… ??

    Thread Starter xivos01

    (@xivos01)

    Thank you for replying. I guess this is related to that issue. We can close this ticket and continue on the previous one I opened here https://www.ads-software.com/support/topic/stream-mode-error/

    Thank you!

    Thread Starter xivos01

    (@xivos01)

    Hi, thank you for your reply.

    I have enabled the logs and they do generate.
    The server logs don’t show anything.

    What is interesting is that if using SSH I try the following command curl -H “X-Api-Key:***” https://localhost:8080/v1/decisions?ip=%5Bmy ip], I get no output. (same if I try v2)

    I would assume I am running the latest version, since I just installed crowdsec and the WP plugin a few hours before starting this thread.

    Below is my log file with the IP address and application as well as user changed to wordpress. My path would be /home/[user]/webapps/[wordpress-app-name]/wp-content/…

    I can’t spot any issues in the console either.

    The plugin also seems to show all options even for “Stream Mode” with the toggle set to off.

    Whenever I try to change that toggle I get a WordPress “There’s an error on your site” screen, and refreshing it goes back to the plugin dashboard.

    2023-02-15T05:01:40.325072+00:00|100|Instantiate client|{"type":"CLIENT_INIT","configs":{"api_key":"***","auth_type":"api_key","tls_cert_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","tls_key_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","tls_verify_peer":false,"tls_ca_cert_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","api_url":"https://localhost:8080","api_timeout":120,"user_agent_version":"v2.0.1","user_agent_suffix":"WordPress"}}
    2023-02-15T05:01:40.330354+00:00|100|Instantiate cache|{"type":"CACHE_INIT","configs":{"fs_cache_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../.cache"},"adapter":"Symfony\\Component\\Cache\\Adapter\\TagAwareAdapter"}
    2023-02-15T05:01:40.331829+00:00|100|Instantiate remediation engine|{"type":"REM_INIT","configs":{"fallback_remediation":"captcha","stream_mode":false,"clean_ip_cache_duration":60,"bad_ip_cache_duration":120,"geolocation":{"enabled":false,"type":"maxmind","cache_duration":86400,"maxmind":{"database_type":"country","database_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../geolocation/"}},"ordered_remediations":["ban","captcha","bypass"]},"cache":"CrowdSec\\RemediationEngine\\CacheStorage\\PhpFiles"}
    2023-02-15T05:01:40.332558+00:00|100|Instantiate bouncer|{"type":"BOUNCER_INIT","logger":"CrowdSec\\Common\\Logger\\FileLog","remediation":"CrowdSec\\RemediationEngine\\LapiRemediation","configs":{"use_curl":true,"debug_mode":true,"disable_prod_log":false,"log_directory_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../logs/","forced_test_ip":"","forced_test_forwarded_ip":"","display_errors":true,"bouncing_level":"flex_bouncing","trust_ip_forward_array":[],"cache_system":"phpfs","captcha_cache_duration":86400,"hide_mentions":false,"custom_css":"","excluded_uris":[]}}
    2023-02-15T05:01:48.047865+00:00|100|Instantiate client|{"type":"CLIENT_INIT","configs":{"api_key":"***","auth_type":"api_key","tls_cert_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","tls_key_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","tls_verify_peer":false,"tls_ca_cert_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","api_url":"https://localhost:8080","api_timeout":120,"user_agent_version":"v2.0.1","user_agent_suffix":"WordPress"}}
    2023-02-15T05:01:48.053283+00:00|100|Instantiate cache|{"type":"CACHE_INIT","configs":{"fs_cache_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../.cache"},"adapter":"Symfony\\Component\\Cache\\Adapter\\TagAwareAdapter"}
    2023-02-15T05:01:48.054896+00:00|100|Instantiate remediation engine|{"type":"REM_INIT","configs":{"fallback_remediation":"captcha","stream_mode":false,"clean_ip_cache_duration":60,"bad_ip_cache_duration":120,"geolocation":{"enabled":false,"type":"maxmind","cache_duration":86400,"maxmind":{"database_type":"country","database_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../geolocation/"}},"ordered_remediations":["ban","captcha","bypass"]},"cache":"CrowdSec\\RemediationEngine\\CacheStorage\\PhpFiles"}
    2023-02-15T05:01:48.055634+00:00|100|Instantiate bouncer|{"type":"BOUNCER_INIT","logger":"CrowdSec\\Common\\Logger\\FileLog","remediation":"CrowdSec\\RemediationEngine\\LapiRemediation","configs":{"use_curl":true,"debug_mode":true,"disable_prod_log":false,"log_directory_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../logs/","forced_test_ip":"","forced_test_forwarded_ip":"","display_errors":true,"bouncing_level":"flex_bouncing","trust_ip_forward_array":[],"cache_system":"phpfs","captcha_cache_duration":86400,"hide_mentions":false,"custom_css":"","excluded_uris":[]}}
    2023-02-15T05:01:48.481303+00:00|100|Instantiate client|{"type":"CLIENT_INIT","configs":{"api_key":"***","auth_type":"api_key","tls_cert_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","tls_key_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","tls_verify_peer":false,"tls_ca_cert_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","api_url":"https://localhost:8080","api_timeout":120,"user_agent_version":"v2.0.1","user_agent_suffix":"WordPress"}}
    2023-02-15T05:01:48.486573+00:00|100|Instantiate cache|{"type":"CACHE_INIT","configs":{"fs_cache_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../.cache"},"adapter":"Symfony\\Component\\Cache\\Adapter\\TagAwareAdapter"}
    2023-02-15T05:01:48.488085+00:00|100|Instantiate remediation engine|{"type":"REM_INIT","configs":{"fallback_remediation":"captcha","stream_mode":false,"clean_ip_cache_duration":60,"bad_ip_cache_duration":120,"geolocation":{"enabled":false,"type":"maxmind","cache_duration":86400,"maxmind":{"database_type":"country","database_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../geolocation/"}},"ordered_remediations":["ban","captcha","bypass"]},"cache":"CrowdSec\\RemediationEngine\\CacheStorage\\PhpFiles"}
    2023-02-15T05:01:48.488833+00:00|100|Instantiate bouncer|{"type":"BOUNCER_INIT","logger":"CrowdSec\\Common\\Logger\\FileLog","remediation":"CrowdSec\\RemediationEngine\\LapiRemediation","configs":{"use_curl":true,"debug_mode":true,"disable_prod_log":false,"log_directory_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../logs/","forced_test_ip":"","forced_test_forwarded_ip":"","display_errors":true,"bouncing_level":"flex_bouncing","trust_ip_forward_array":[],"cache_system":"phpfs","captcha_cache_duration":86400,"hide_mentions":false,"custom_css":"","excluded_uris":[]}}
    2023-02-15T05:01:54.958708+00:00|100|Instantiate client|{"type":"CLIENT_INIT","configs":{"api_key":"***","auth_type":"api_key","tls_cert_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","tls_key_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","tls_verify_peer":false,"tls_ca_cert_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","api_url":"https://localhost:8080","api_timeout":120,"user_agent_version":"v2.0.1","user_agent_suffix":"WordPress"}}
    2023-02-15T05:01:54.963942+00:00|100|Instantiate cache|{"type":"CACHE_INIT","configs":{"fs_cache_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../.cache"},"adapter":"Symfony\\Component\\Cache\\Adapter\\TagAwareAdapter"}
    2023-02-15T05:01:54.965544+00:00|100|Instantiate remediation engine|{"type":"REM_INIT","configs":{"fallback_remediation":"captcha","stream_mode":false,"clean_ip_cache_duration":60,"bad_ip_cache_duration":120,"geolocation":{"enabled":false,"type":"maxmind","cache_duration":86400,"maxmind":{"database_type":"country","database_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../geolocation/"}},"ordered_remediations":["ban","captcha","bypass"]},"cache":"CrowdSec\\RemediationEngine\\CacheStorage\\PhpFiles"}
    2023-02-15T05:01:54.966269+00:00|100|Instantiate bouncer|{"type":"BOUNCER_INIT","logger":"CrowdSec\\Common\\Logger\\FileLog","remediation":"CrowdSec\\RemediationEngine\\LapiRemediation","configs":{"use_curl":true,"debug_mode":true,"disable_prod_log":false,"log_directory_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../logs/","forced_test_ip":"","forced_test_forwarded_ip":"","display_errors":true,"bouncing_level":"flex_bouncing","trust_ip_forward_array":[],"cache_system":"phpfs","captcha_cache_duration":86400,"hide_mentions":false,"custom_css":"","excluded_uris":[]}}
    2023-02-15T05:01:55.675763+00:00|100|Instantiate client|{"type":"CLIENT_INIT","configs":{"api_key":"***","auth_type":"api_key","tls_cert_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","tls_key_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","tls_verify_peer":false,"tls_ca_cert_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","api_url":"https://localhost:8080","api_timeout":120,"user_agent_version":"v2.0.1","user_agent_suffix":"WordPress"}}
    2023-02-15T05:01:55.676161+00:00|100|Instantiate cache|{"type":"CACHE_INIT","configs":{"fs_cache_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../.cache"},"adapter":"Symfony\\Component\\Cache\\Adapter\\TagAwareAdapter"}
    2023-02-15T05:01:55.676814+00:00|100|Instantiate remediation engine|{"type":"REM_INIT","configs":{"fallback_remediation":"captcha","stream_mode":false,"clean_ip_cache_duration":60,"bad_ip_cache_duration":120,"geolocation":{"enabled":false,"type":"maxmind","cache_duration":86400,"maxmind":{"database_type":"country","database_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../geolocation/"}},"ordered_remediations":["ban","captcha","bypass"]},"cache":"CrowdSec\\RemediationEngine\\CacheStorage\\PhpFiles"}
    2023-02-15T05:01:55.677104+00:00|100|Instantiate bouncer|{"type":"BOUNCER_INIT","logger":"CrowdSec\\Common\\Logger\\FileLog","remediation":"CrowdSec\\RemediationEngine\\LapiRemediation","configs":{"use_curl":true,"debug_mode":true,"disable_prod_log":false,"log_directory_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../logs/","forced_test_ip":"","forced_test_forwarded_ip":"","display_errors":true,"bouncing_level":"flex_bouncing","trust_ip_forward_array":[],"cache_system":"phpfs","captcha_cache_duration":86400,"hide_mentions":false,"custom_css":"","excluded_uris":[]}}
    2023-02-15T05:01:55.679092+00:00|100|Cache result|{"type":"LAPI_REM_CACHED_DECISIONS","ip":"[IP Address Redacted]","result":"miss"}
    2023-02-15T05:01:55.679135+00:00|100|Now processing a bouncer request|{"type":"BOUNCER_CLIENT_REQUEST","method":"GET","endpoint":"/v1/decisions","parameters":{"ip":"[IP Address Redacted]"}}
    2023-02-15T05:01:55.691466+00:00|100|Decisions have been sorted by priority|{"type":"REM_SORTED_DECISIONS","decisions":[{"0":"bypass","1":1676437375,"2":"lapi-remediation-engine-bypass-ip-[IP Address Redacted]","priority":2}]}
    2023-02-15T05:01:56.045773+00:00|100|Instantiate client|{"type":"CLIENT_INIT","configs":{"api_key":"***","auth_type":"api_key","tls_cert_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","tls_key_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","tls_verify_peer":false,"tls_ca_cert_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../tls/","api_url":"https://localhost:8080","api_timeout":120,"user_agent_version":"v2.0.1","user_agent_suffix":"WordPress"}}
    2023-02-15T05:01:56.051064+00:00|100|Instantiate cache|{"type":"CACHE_INIT","configs":{"fs_cache_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../.cache"},"adapter":"Symfony\\Component\\Cache\\Adapter\\TagAwareAdapter"}
    2023-02-15T05:01:56.052650+00:00|100|Instantiate remediation engine|{"type":"REM_INIT","configs":{"fallback_remediation":"captcha","stream_mode":false,"clean_ip_cache_duration":60,"bad_ip_cache_duration":120,"geolocation":{"enabled":false,"type":"maxmind","cache_duration":86400,"maxmind":{"database_type":"country","database_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../geolocation/"}},"ordered_remediations":["ban","captcha","bypass"]},"cache":"CrowdSec\\RemediationEngine\\CacheStorage\\PhpFiles"}
    2023-02-15T05:01:56.053345+00:00|100|Instantiate bouncer|{"type":"BOUNCER_INIT","logger":"CrowdSec\\Common\\Logger\\FileLog","remediation":"CrowdSec\\RemediationEngine\\LapiRemediation","configs":{"use_curl":true,"debug_mode":true,"disable_prod_log":false,"log_directory_path":"/home/wordpress/webapps/wordpress/wp-content/plugins/crowdsec/inc/../logs/","forced_test_ip":"","forced_test_forwarded_ip":"","display_errors":true,"bouncing_level":"flex_bouncing","trust_ip_forward_array":[],"cache_system":"phpfs","captcha_cache_duration":86400,"hide_mentions":false,"custom_css":"","excluded_uris":[]}}
    
    Thread Starter xivos01

    (@xivos01)

    Hi Igor,

    Oh I was not aware it’s not yet compatible given the changelog, but thank you for confirming, I thought there was something wrong with my Woocommerce installation. Looking forward to when it will be supported.

    Thank you for your quick reply!

Viewing 4 replies - 16 through 19 (of 19 total)