cloudveiltech / Filter-Windows

HTTP/S Content Filter for Windows 7 and newer
Mozilla Public License 2.0
9 stars 13 forks source link

Service does not start filtering when server is down #155

Closed kfreezen closed 6 years ago

kfreezen commented 6 years ago

It seems to occur when the service is started up and the server is down.

Relevant logs from outage last night:

2018-04-07 22:29:57.3909 INFO RequestResource: UserDataSumCheck
2018-04-07 22:30:02.4102 ERROR The operation has timed out
2018-04-07 22:30:02.4102 ERROR    at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at Citadel.Core.Windows.Util.WebServiceUtil.RequestResource(ServiceResource resource, HttpStatusCode& code, Boolean& responseReceived, Dictionary`2 parameters, Boolean noLogging)
2018-04-07 22:30:02.4102 INFO Checking for application updates.

How the logs behave normally.

2018-04-09 19:15:51.7557 INFO RequestResource: UserDataSumCheck
2018-04-09 19:15:52.4067 INFO Filter status from server is: Synchronized
2018-04-09 19:15:52.4192 INFO TIME 690ms: ReloadFilteringRules()
2018-04-09 19:15:52.6434 INFO RequestResource: accessToken length=1075
2018-04-09 19:15:52.6434 INFO RequestResource: BypassRequest
2018-04-09 19:15:52.7335 INFO Bypass info: 0/20
2018-04-09 19:15:52.7335 INFO Configuration loaded from JSON.
2018-04-09 19:15:52.8288 INFO TIME 409ms: Loading configured list files
2018-04-09 19:15:52.8288 INFO CATEGORY /default/adult_abortion/rules
2018-04-09 19:15:52.8489 INFO CATEGORY /default/adult_child_inappropriate/rules
2018-04-09 19:15:52.8584 INFO CATEGORY /default/adult_gambling/rules
2018-04-09 19:15:52.8584 INFO CATEGORY /default/adult_gay_lesbian_bisexual/rules
2018-04-09 19:15:52.8690 INFO CATEGORY /default/adult_lingerie/rules
2018-04-09 19:15:52.8690 INFO CATEGORY /default/adult_nudity/rules
2018-04-09 19:15:52.8880 INFO CATEGORY /default/adult_pornography/rules
2018-04-09 19:15:53.0745 INFO CATEGORY /default/adult_pornography/triggers
2018-04-09 19:15:53.4164 INFO CATEGORY /default/adult_profanity/rules
2018-04-09 19:15:53.4164 INFO CATEGORY /default/adult_r_rated/rules
2018-04-09 19:15:53.4164 INFO CATEGORY /default/adult_sex_education/rules
2018-04-09 19:15:53.4375 INFO CATEGORY /default/adult_sex_erotic/rules
2018-04-09 19:15:53.4490 INFO CATEGORY /default/aggressive_violence/rules
2018-04-09 19:15:53.4490 INFO CATEGORY /default/criminal_child_abuse_images/rules
2018-04-09 19:15:53.4490 INFO CATEGORY /default/criminal_illegal_drugs/rules
2018-04-09 19:15:53.4490 INFO CATEGORY /default/criminal_torrent_repository/rules
2018-04-09 19:15:53.4490 INFO CATEGORY /default/entertainment_entertainment_news_celibrity/rules
2018-04-09 19:15:53.4926 INFO CATEGORY /default/entertainment_streaming_downloadable_video/rules
2018-04-09 19:15:53.4926 INFO CATEGORY /default/entertainment_streaming_downloadable_video/rules_as_whitelist
2018-04-09 19:15:53.6741 INFO CATEGORY /default/fashion_body_art/rules
2018-04-09 19:15:53.6741 INFO CATEGORY /default/fashion_swimsuits/rules
2018-04-09 19:15:53.6741 INFO CATEGORY /default/science_astrology_horoscopes/rules
2018-04-09 19:15:53.6841 INFO CATEGORY /default/sports/rules
2018-04-09 19:15:53.8024 INFO CATEGORY /default/sports_auto_racing/rules
2018-04-09 19:15:53.8024 INFO CATEGORY /default/sports_baseball/rules
2018-04-09 19:15:53.8077 INFO CATEGORY /default/sports_boxing/rules
2018-04-09 19:15:53.8077 INFO CATEGORY /default/sports_cheerleading/rules
2018-04-09 19:15:53.8077 INFO CATEGORY /default/sports_football/rules
2018-04-09 19:15:53.8077 INFO CATEGORY /default/sports_golf/rules
2018-04-09 19:15:53.8077 INFO CATEGORY /default/sports_nascar_racing/rules
2018-04-09 19:15:53.8077 INFO CATEGORY /default/sports_pro_basketball/rules
2018-04-09 19:15:53.8243 INFO CATEGORY /default/sports_pro_ice_hockey/rules
2018-04-09 19:15:53.8243 INFO CATEGORY /default/sports_rodeo/rules
2018-04-09 19:15:53.8243 INFO CATEGORY /default/sports_world_soccer/rules
2018-04-09 19:15:53.8243 INFO CATEGORY /default/test/rules
2018-04-09 19:15:53.8243 INFO CATEGORY /default/whitelist/rules
2018-04-09 19:15:53.8488 INFO CATEGORY /default/en_porn/triggers
2018-04-09 19:15:53.8934 INFO CATEGORY /default/manager_whitelist/rules
2018-04-09 19:15:53.9025 INFO CATEGORY /default/google_image_blocking/rules
2018-04-09 19:15:53.9025 INFO CATEGORY /default/google_image_blocking/rules_as_whitelist
2018-04-09 19:15:53.9025 INFO CATEGORY /default/google_video_blocking/rules
2018-04-09 19:15:53.9025 INFO CATEGORY /default/en_amazon/triggers
2018-04-09 19:15:53.9205 INFO CATEGORY /default/en_ebay/triggers
2018-04-09 19:15:53.9310 INFO CATEGORY /default/craigslist_personals/rules
2018-04-09 19:15:53.9310 INFO CATEGORY /default/backpage_personals/rules
2018-04-09 19:15:53.9310 INFO CATEGORY /default/your_filter_is_working/rules
2018-04-09 19:15:53.9310 INFO CATEGORY /default/google_maps/rules
2018-04-09 19:15:54.1030 INFO trigger count = 25281, first word count = 25281
2018-04-09 19:15:54.1030 INFO Loaded 74883 rules, 0 rules failed most likely due to being malformed, and 25281 text triggers loaded.
2018-04-09 19:15:54.1030 INFO TIME 1274ms: Rules loaded.
2018-04-09 19:15:54.1030 INFO Checking for application updates.