thuryn / your-local-weather

Weather app for Android
GNU General Public License v3.0
131 stars 35 forks source link

Only Wi-Fi works for updates - not cellular data #119

Open infinitewaveparticle opened 5 years ago

infinitewaveparticle commented 5 years ago

As a continuation of previous issues, for the past several weeks, if not longer, the weather has only been making server connections over Wi-Fi. I have version 4.7.3 now, but this issue began several versions ago. When connected to 4G (or any cellular network) the app does not connect to openweathermap servers, but once connected to Wi-Fi it begins to update again. Please fix! As previously noted I am not using Location 0. I am only using a manually entered location. No matter what settings I change it doesn't change the issue. I've tried everything - even uninstalling and reinstalling.

infinitewaveparticle commented 5 years ago

This started occurring with version 4.6.10

infinitewaveparticle commented 5 years ago

2019-04-11 06:14:54.074 LanguageUtil - locale.split("_-"):en::locale:en 2019-04-11 06:14:54.167 MainActivity - scheduleStart at boot, SDK=26 2019-04-11 06:14:54.170 MainActivity - scheduleStart does not start - it's scheduled already 2019-04-11 06:14:54.172 MainActivity - scheduleStart at boot, SDK=26 2019-04-11 06:14:54.176 MainActivity - scheduleStart does not start - it's scheduled already 2019-04-11 06:15:16.969 CurrentWeatherService - onFailure:0:currentLocation=org.thosp.yourlocalweather.model.Location@e840cae 2019-04-11 06:15:16.981 LocationsDbHelper - updateLocationSource:entered:2:L 2019-04-11 06:15:16.986 LocationsDbHelper - updateLocationSource:updated 2019-04-11 06:15:16.988 AbstractCommonService - stopRefreshRotation:STOP 2019-04-11 06:15:16.989 CurrentWeatherService - currentWeatherUpdateMessages.size after pull when sending result = 0 2019-04-11 06:15:16.990 AbstractCommonService - going run reconciliation DB service 2019-04-11 06:15:17.035 AppWakeUpManager - handleMessage:2:1 2019-04-11 06:15:17.038 AppWakeUpManager - startWakeUp:wakeUpSources:startWakeUp:, wakeUpSources.size=0, WakeUp source list: 2019-04-11 06:15:17.039 AppWakeUpManager - wakeDown wakeLock:null 2019-04-11 06:15:17.045 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.LessWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.LessWidgetProvider 2019-04-11 06:15:17.047 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.054 WidgetRefreshIconService - handleMessage:2 2019-04-11 06:15:17.055 WidgetRefreshIconService - stopRotatingUpdateIcon:setIsRotationActive=false:postingNewSchedule 2019-04-11 06:15:17.079 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.MoreWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.MoreWidgetProvider 2019-04-11 06:15:17.080 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.082 ReconciliationDbService - handleMessage:1:0 2019-04-11 06:15:17.083 ReconciliationDbService - onHandleIntent 2019-04-11 06:15:17.084 ReconciliationDbService - nextReconciliationTime is 0 2019-04-11 06:15:17.094 ReconciliationDbService - update location:2 2019-04-11 06:15:17.105 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWidgetProvider 2019-04-11 06:15:17.106 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.111 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithForecastWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithForecastWidgetProvider 2019-04-11 06:15:17.113 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.114 AbstractWidgetProvider - onUpdate:start 2019-04-11 06:15:17.117 ExtLocationWithForecastWidgetProvider - setWidgetTheme:start 2019-04-11 06:15:17.120 ExtLocationWithForecastWidgetProvider - setWidgetTheme:end 2019-04-11 06:15:17.121 AbstractWidgetProvider - setWidgetIntents:widgetid:43 2019-04-11 06:15:17.158 ExtLocationWithForecastWidgetProvider - preLoadWeather:start 2019-04-11 06:15:17.161 ExtLocationWithForecastWidgetProvider - Updating weather in widget, currentLocation.id=2, weatherRecord=org.thosp.yourlocalweather.model.CurrentWeatherDbHelper$WeatherRecord@b6d8b55 2019-04-11 06:15:17.187 ExtLocationWithForecastWidgetProvider - preLoadWeather:end 2019-04-11 06:15:17.197 AbstractWidgetProvider - onUpdate:end 2019-04-11 06:15:17.206 AbstractWidgetProvider - onEnabled:start 2019-04-11 06:15:17.209 PermissionUtil:checkPermissionsAndSettings - locationUpdateStrategy is set to update_location_none, return false 2019-04-11 06:15:17.217 AbstractWidgetProvider - onEnabled:end 2019-04-11 06:15:17.218 AbstractWidgetProvider - onUpdate:start 2019-04-11 06:15:17.220 ExtLocationWithForecastWidgetProvider - setWidgetTheme:start 2019-04-11 06:15:17.222 ExtLocationWithForecastWidgetProvider - setWidgetTheme:end 2019-04-11 06:15:17.223 AbstractWidgetProvider - setWidgetIntents:widgetid:43 2019-04-11 06:15:17.262 ExtLocationWithForecastWidgetProvider - preLoadWeather:start 2019-04-11 06:15:17.267 ExtLocationWithForecastWidgetProvider - Updating weather in widget, currentLocation.id=2, weatherRecord=org.thosp.yourlocalweather.model.CurrentWeatherDbHelper$WeatherRecord@6d6696a 2019-04-11 06:15:17.306 ExtLocationWithForecastWidgetProvider - preLoadWeather:end 2019-04-11 06:15:17.313 AbstractWidgetProvider - onUpdate:end 2019-04-11 06:15:17.321 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.WeatherForecastWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.WeatherForecastWidgetProvider 2019-04-11 06:15:17.323 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.335 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithGraphWidgetProvider 2019-04-11 06:15:17.336 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.343 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.WeatherGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.WeatherGraphWidgetProvider 2019-04-11 06:15:17.347 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.363 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithForecastGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithForecastGraphWidgetProvider 2019-04-11 06:15:17.364 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.371 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.LessWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.LessWidgetProvider 2019-04-11 06:15:17.372 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.380 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.MoreWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.MoreWidgetProvider 2019-04-11 06:15:17.381 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.388 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWidgetProvider 2019-04-11 06:15:17.389 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.395 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithForecastWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithForecastWidgetProvider 2019-04-11 06:15:17.396 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.397 AbstractWidgetProvider - onUpdate:start 2019-04-11 06:15:17.399 ExtLocationWithForecastWidgetProvider - setWidgetTheme:start 2019-04-11 06:15:17.402 ExtLocationWithForecastWidgetProvider - setWidgetTheme:end 2019-04-11 06:15:17.403 AbstractWidgetProvider - setWidgetIntents:widgetid:43 2019-04-11 06:15:17.438 ExtLocationWithForecastWidgetProvider - preLoadWeather:start 2019-04-11 06:15:17.441 ExtLocationWithForecastWidgetProvider - Updating weather in widget, currentLocation.id=2, weatherRecord=org.thosp.yourlocalweather.model.CurrentWeatherDbHelper$WeatherRecord@f655e5b 2019-04-11 06:15:17.457 ExtLocationWithForecastWidgetProvider - preLoadWeather:end 2019-04-11 06:15:17.460 AbstractWidgetProvider - onUpdate:end 2019-04-11 06:15:17.462 AbstractWidgetProvider - onEnabled:start 2019-04-11 06:15:17.463 PermissionUtil:checkPermissionsAndSettings - locationUpdateStrategy is set to update_location_none, return false 2019-04-11 06:15:17.466 AbstractWidgetProvider - onEnabled:end 2019-04-11 06:15:17.466 AbstractWidgetProvider - onUpdate:start 2019-04-11 06:15:17.467 ExtLocationWithForecastWidgetProvider - setWidgetTheme:start 2019-04-11 06:15:17.469 ExtLocationWithForecastWidgetProvider - setWidgetTheme:end 2019-04-11 06:15:17.469 AbstractWidgetProvider - setWidgetIntents:widgetid:43 2019-04-11 06:15:17.489 ExtLocationWithForecastWidgetProvider - preLoadWeather:start 2019-04-11 06:15:17.491 ExtLocationWithForecastWidgetProvider - Updating weather in widget, currentLocation.id=2, weatherRecord=org.thosp.yourlocalweather.model.CurrentWeatherDbHelper$WeatherRecord@64b16f8 2019-04-11 06:15:17.507 ExtLocationWithForecastWidgetProvider - preLoadWeather:end 2019-04-11 06:15:17.511 AbstractWidgetProvider - onUpdate:end 2019-04-11 06:15:17.518 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.WeatherForecastWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.WeatherForecastWidgetProvider 2019-04-11 06:15:17.519 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.524 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithGraphWidgetProvider 2019-04-11 06:15:17.526 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.533 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.WeatherGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.WeatherGraphWidgetProvider 2019-04-11 06:15:17.533 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:17.538 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithForecastGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithForecastGraphWidgetProvider 2019-04-11 06:15:17.539 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:15:49.106 LocationsDbHelper - updateLocationSource:entered:2:- 2019-04-11 06:15:49.109 LocationsDbHelper - updateLocationSource:updated 2019-04-11 06:15:49.147 CurrentWeatherService - handleMessage:1:WeatherRequestDataHolder:locationId=2, updateSource=MAIN, attempts=0, forceUpdate=false, updateWeatherOnly=false 2019-04-11 06:15:49.148 CurrentWeatherService - currentWeatherUpdateMessages.size when adding new message = 0 2019-04-11 06:15:49.150 CurrentWeatherService - startCurrentWeatherUpdate 2019-04-11 06:15:49.151 CurrentWeatherService - currentWeatherUpdateMessages.size before peek = 1 2019-04-11 06:15:49.152 CurrentWeatherService - currentWeatherUpdateMessages.size after peek = 1 2019-04-11 06:15:49.155 CurrentWeatherService - currentLocation=org.thosp.yourlocalweather.model.Location@3199972, updateSource=MAIN 2019-04-11 06:15:49.163 CurrentWeatherService - Current weather requested for location.orderId=1, updatePeriodForLocation=1800000, now=1554977749159, lastUpdateTimeInMilis=1554870965616 2019-04-11 06:15:49.166 CurrentWeatherService - networkAvailableAndConnected=true 2019-04-11 06:15:49.167 CurrentWeatherService - startRefreshRotation 2019-04-11 06:15:49.168 AbstractCommonService - startRefreshRotation:START 2019-04-11 06:15:49.172 CurrentWeatherService - weather get params: latitude:40.50351356203067, longitude-79.94833100931409 2019-04-11 06:15:49.174 org.thosp.yourlocalweather.service.CurrentWeatherService - bindWakeUpService null 2019-04-11 06:15:49.179 WidgetRefreshIconService - handleMessage:1 2019-04-11 06:15:49.180 WidgetRefreshIconService - RotationSource:2 2019-04-11 06:15:49.187 WidgetRefreshIconService - startRotatingUpdateIcon:setIsRotationActive=true:postingNewSchedule 2019-04-11 06:15:49.188 AppWakeUpManager - handleMessage:1:1 2019-04-11 06:15:49.189 AppWakeUpManager - startWakeUp:wakeUpSources:startWakeUp:, wakeUpSources.size=1, WakeUp source list: 1, 2019-04-11 06:15:49.190 AppWakeUpManager - powerManager:android.os.PowerManager@7352474 2019-04-11 06:15:49.191 AppWakeUpManager - lock is held 2019-04-11 06:15:49.191 AppWakeUpManager - start wakeup 2019-04-11 06:15:57.934 LocationsDbHelper - updateLocationSource:entered:2:- 2019-04-11 06:15:57.936 LocationsDbHelper - updateLocationSource:updated 2019-04-11 06:15:57.953 CurrentWeatherService - handleMessage:1:WeatherRequestDataHolder:locationId=2, updateSource=MAIN, attempts=0, forceUpdate=false, updateWeatherOnly=false 2019-04-11 06:15:57.954 CurrentWeatherService - currentWeatherUpdateMessages.size when adding new message = 1 2019-04-11 06:15:57.955 CurrentWeatherService - startCurrentWeatherUpdate 2019-04-11 06:15:57.956 CurrentWeatherService - currentWeatherUpdateMessages.size before peek = 2 2019-04-11 06:15:57.956 CurrentWeatherService - currentWeatherUpdateMessages.size after peek = 2 2019-04-11 06:15:57.958 CurrentWeatherService - updateRequest is older than current 2019-04-11 06:15:57.958 CurrentWeatherService - currentWeatherUpdateMessages.size when request is old or null = 2 2019-04-11 06:15:57.961 ForecastWeatherService - handleMessage:1:WeatherRequestDataHolder:locationId=2, updateSource=null, attempts=0, forceUpdate=false, updateWeatherOnly=false 2019-04-11 06:15:57.964 ForecastWeatherService - currentLocation=org.thosp.yourlocalweather.model.Location@49e371f, updateSource=null 2019-04-11 06:15:57.969 ForecastWeatherService - networkAvailableAndConnected=true 2019-04-11 06:15:57.970 ForecastWeatherService - startRefreshRotation 2019-04-11 06:15:57.971 AbstractCommonService - startRefreshRotation:START 2019-04-11 06:15:57.976 ForecastWeatherService - weather get params: latitude:40.50351356203067, longitude-79.94833100931409 2019-04-11 06:15:57.976 org.thosp.yourlocalweather.service.ForecastWeatherService - bindWakeUpService null 2019-04-11 06:15:57.987 WidgetRefreshIconService - handleMessage:1 2019-04-11 06:15:57.988 WidgetRefreshIconService - RotationSource:2 2019-04-11 06:15:57.988 WidgetRefreshIconService - RotationSource:1 2019-04-11 06:15:57.989 WidgetRefreshIconService - startRotatingUpdateIcon:endOnCondition:isRotationActive=true:isThereRotationSchedule= 2019-04-11 06:15:57.990 AppWakeUpManager - handleMessage:1:2 2019-04-11 06:15:57.990 AppWakeUpManager - startWakeUp:wakeUpSources:startWakeUp:, wakeUpSources.size=2, WakeUp source list: 1,2, 2019-04-11 06:15:57.991 AppWakeUpManager - powerManager:android.os.PowerManager@7352474 2019-04-11 06:15:57.992 AppWakeUpManager - lock is held 2019-04-11 06:15:57.992 AppWakeUpManager - start wakeup 2019-04-11 06:16:04.824 StartAutoLocationJob - onStartJob 2019-04-11 06:16:04.865 StartAutoLocationJob - got locationUpdateServiceConnection 2019-04-11 06:16:04.872 ScreenOnOffUpdateService - Check if receivers is going to be started: receiversRegistered=false 2019-04-11 06:16:04.878 ScreenOnOffUpdateService - Start connectivity receiver with callback 2019-04-11 06:16:04.893 NetworkConnectionReceiver - onAvailable, network=795, wasOffline=false 2019-04-11 06:16:04.895 NetworkConnectionReceiver - networkIsOffline, networkInfo=[type: MOBILE[LTE] - MOBILE, state: CONNECTED/CONNECTED, reason: connected, extra: fast.t-mobile.com, failover: false, available: true, roaming: false, metered: true] 2019-04-11 06:16:04.896 NetworkConnectionReceiver - networkIsOffline, networkInfo.isConnectedOrConnecting()=true 2019-04-11 06:16:04.896 NetworkConnectionReceiver - network is online, wasOffline=false 2019-04-11 06:16:04.908 StartAutoLocationJob - updateAutoPeriodStr:60, updatePeriodStr:30, notificationPeriodStr:regular_only 2019-04-11 06:16:04.909 StartAutoLocationJob - 1:nextAlarmWakeup=3600000 2019-04-11 06:16:04.911 StartAutoLocationJob - location:org.thosp.yourlocalweather.model.Location@c02147a, location.isEnabled:false 2019-04-11 06:16:04.912 StartAutoLocationJob - location:org.thosp.yourlocalweather.model.Location@f7c142b, location.isEnabled:false 2019-04-11 06:16:04.912 StartAutoLocationJob - updatedNow=false, updatePeriod=1800000 2019-04-11 06:16:04.913 StartAutoLocationJob - 4:nextAlarmWakeup=1793033 2019-04-11 06:16:04.913 StartAutoLocationJob - 1:nextTimeForLog=1554979557934 2019-04-11 06:16:04.914 StartAutoLocationJob - next scheduler time:2019-04-11 06:45:57.934 2019-04-11 06:16:04.914 AbstractAppJob - next alarm:1793033, serviceClass=class org.thosp.yourlocalweather.service.StartAutoLocationJob 2019-04-11 06:16:04.929 StartAutoLocationJob - unbinding sensorLocationUpdate: org.thosp.yourlocalweather.service.StartAutoLocationJob$2@3ad96e9 2019-04-11 06:16:04.935 AbstractCommonService - unbindServices start 2019-04-11 06:16:04.936 AbstractCommonService - unbindServices end 2019-04-11 06:16:04.936 AbstractCommonService - onUnbind all services 2019-04-11 06:16:04.939 AbstractCommonService - unbindServices start 2019-04-11 06:16:04.940 AbstractCommonService - unbindServices end 2019-04-11 06:16:04.941 AbstractCommonService - onUnbind all services 2019-04-11 06:16:09.174 CurrentWeatherService - originalUpdateState:- 2019-04-11 06:16:09.175 CurrentWeatherService - currentLocation:org.thosp.yourlocalweather.model.Location@bf27d34, newUpdateState:- 2019-04-11 06:16:09.179 AbstractCommonService - stopRefreshRotation:STOP 2019-04-11 06:16:09.180 CurrentWeatherService - currentWeatherUpdateMessages.size after pull when sending result = 1 2019-04-11 06:16:09.184 CurrentWeatherService - resendTheIntentInSeveralSeconds:SDK:26 2019-04-11 06:16:09.201 CurrentWeatherService - resendTheIntentInSeveralSeconds: sent 2019-04-11 06:16:09.204 AppWakeUpManager - handleMessage:2:1 2019-04-11 06:16:09.205 AppWakeUpManager - startWakeUp:wakeUpSources:startWakeUp:, wakeUpSources.size=1, WakeUp source list: 2, 2019-04-11 06:16:09.205 MainActivity - BroadcastReceiver:Intent { act=org.thosp.yourlocalweather.action.WEATHER_UPDATE_RESULT flg=0x10 pkg=org.thosp.yourlocalweather (has extras) } 2019-04-11 06:16:09.261 WidgetRefreshIconService - handleMessage:2 2019-04-11 06:16:09.262 WidgetRefreshIconService - RotationSource:1 2019-04-11 06:16:14.222 CurrentWeatherResendJob - onStartJob 2019-04-11 06:16:14.223 CurrentWeatherResendJob - sendRetryMessageToCurrentWeatherService:1 2019-04-11 06:16:14.224 CurrentWeatherResendJob - sendRetryMessageToCurrentWeatherService:after lock 2019-04-11 06:16:14.225 CurrentWeatherResendJob - bind current weather service:org.thosp.yourlocalweather.service.CurrentWeatherResendJob@e4e5e1b 2019-04-11 06:16:14.233 CurrentWeatherResendJob - sendRetryMessageToCurrentWeatherService:pushing into messages 2019-04-11 06:16:14.237 CurrentWeatherService - handleMessage:2:null 2019-04-11 06:16:14.237 CurrentWeatherService - currentWeatherUpdateMessages.size when adding new message = 1 2019-04-11 06:16:14.238 CurrentWeatherService - startCurrentWeatherUpdate 2019-04-11 06:16:14.238 CurrentWeatherService - currentWeatherUpdateMessages.size before peek = 1 2019-04-11 06:16:14.239 CurrentWeatherService - currentWeatherUpdateMessages.size after peek = 1 2019-04-11 06:16:14.240 CurrentWeatherService - currentLocation=org.thosp.yourlocalweather.model.Location@4b784f6, updateSource=MAIN 2019-04-11 06:16:14.244 CurrentWeatherService - Current weather requested for location.orderId=1, updatePeriodForLocation=1800000, now=1554977774242, lastUpdateTimeInMilis=1554870965616 2019-04-11 06:16:14.246 CurrentWeatherService - networkAvailableAndConnected=true 2019-04-11 06:16:14.247 CurrentWeatherService - startRefreshRotation 2019-04-11 06:16:14.249 AbstractCommonService - startRefreshRotation:START 2019-04-11 06:16:14.263 CurrentWeatherService - weather get params: latitude:40.50351356203067, longitude-79.94833100931409 2019-04-11 06:16:14.264 org.thosp.yourlocalweather.service.CurrentWeatherService - bindWakeUpService null 2019-04-11 06:16:14.267 WidgetRefreshIconService - handleMessage:1 2019-04-11 06:16:14.270 WidgetRefreshIconService - RotationSource:1 2019-04-11 06:16:14.271 WidgetRefreshIconService - RotationSource:2 2019-04-11 06:16:14.271 WidgetRefreshIconService - startRotatingUpdateIcon:endOnCondition:isRotationActive=true:isThereRotationSchedule= 2019-04-11 06:16:14.272 AppWakeUpManager - handleMessage:1:1 2019-04-11 06:16:14.272 AppWakeUpManager - startWakeUp:wakeUpSources:startWakeUp:, wakeUpSources.size=2, WakeUp source list: 2,1, 2019-04-11 06:16:14.273 AppWakeUpManager - powerManager:android.os.PowerManager@7352474 2019-04-11 06:16:14.274 AppWakeUpManager - lock is held 2019-04-11 06:16:14.275 AppWakeUpManager - start wakeup 2019-04-11 06:16:17.976 AbstractCommonService - stopRefreshRotation:STOP 2019-04-11 06:16:17.977 AppWakeUpManager - handleMessage:2:2 2019-04-11 06:16:17.981 AppWakeUpManager - startWakeUp:wakeUpSources:startWakeUp:, wakeUpSources.size=1, WakeUp source list: 1, 2019-04-11 06:16:17.983 WidgetRefreshIconService - handleMessage:2 2019-04-11 06:16:17.984 WidgetRefreshIconService - RotationSource:2 2019-04-11 06:16:34.251 CurrentWeatherService - originalUpdateState:- 2019-04-11 06:16:34.252 CurrentWeatherService - currentLocation:org.thosp.yourlocalweather.model.Location@f4cbdc9, newUpdateState:- 2019-04-11 06:16:34.253 AbstractCommonService - stopRefreshRotation:STOP 2019-04-11 06:16:34.254 CurrentWeatherService - currentWeatherUpdateMessages.size after pull when sending result = 0 2019-04-11 06:16:34.255 AppWakeUpManager - handleMessage:2:1 2019-04-11 06:16:34.258 AppWakeUpManager - startWakeUp:wakeUpSources:startWakeUp:, wakeUpSources.size=0, WakeUp source list: 2019-04-11 06:16:34.260 AppWakeUpManager - wakeDown wakeLock:null 2019-04-11 06:16:34.265 WidgetRefreshIconService - handleMessage:2 2019-04-11 06:16:34.266 WidgetRefreshIconService - stopRotatingUpdateIcon:setIsRotationActive=false:postingNewSchedule 2019-04-11 06:16:34.302 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.LessWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.LessWidgetProvider 2019-04-11 06:16:34.303 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:16:34.307 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.MoreWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.MoreWidgetProvider 2019-04-11 06:16:34.308 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:16:34.313 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWidgetProvider 2019-04-11 06:16:34.314 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:16:34.319 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithForecastWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithForecastWidgetProvider 2019-04-11 06:16:34.320 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:16:34.320 AbstractWidgetProvider - onUpdate:start 2019-04-11 06:16:34.321 ExtLocationWithForecastWidgetProvider - setWidgetTheme:start 2019-04-11 06:16:34.323 ExtLocationWithForecastWidgetProvider - setWidgetTheme:end 2019-04-11 06:16:34.323 AbstractWidgetProvider - setWidgetIntents:widgetid:43 2019-04-11 06:16:34.500 ExtLocationWithForecastWidgetProvider - preLoadWeather:start 2019-04-11 06:16:34.506 ExtLocationWithForecastWidgetProvider - Updating weather in widget, currentLocation.id=2, weatherRecord=org.thosp.yourlocalweather.model.CurrentWeatherDbHelper$WeatherRecord@fb2d7ef 2019-04-11 06:16:34.559 ExtLocationWithForecastWidgetProvider - preLoadWeather:end 2019-04-11 06:16:34.571 AbstractWidgetProvider - onUpdate:end 2019-04-11 06:16:34.577 AbstractWidgetProvider - onEnabled:start 2019-04-11 06:16:34.578 PermissionUtil:checkPermissionsAndSettings - locationUpdateStrategy is set to update_location_none, return false 2019-04-11 06:16:34.583 AbstractWidgetProvider - onEnabled:end 2019-04-11 06:16:34.584 AbstractWidgetProvider - onUpdate:start 2019-04-11 06:16:34.585 ExtLocationWithForecastWidgetProvider - setWidgetTheme:start 2019-04-11 06:16:34.588 ExtLocationWithForecastWidgetProvider - setWidgetTheme:end 2019-04-11 06:16:34.591 AbstractWidgetProvider - setWidgetIntents:widgetid:43 2019-04-11 06:16:34.763 ExtLocationWithForecastWidgetProvider - preLoadWeather:start 2019-04-11 06:16:34.766 ExtLocationWithForecastWidgetProvider - Updating weather in widget, currentLocation.id=2, weatherRecord=org.thosp.yourlocalweather.model.CurrentWeatherDbHelper$WeatherRecord@ecaf2fc 2019-04-11 06:16:34.905 ExtLocationWithForecastWidgetProvider - preLoadWeather:end 2019-04-11 06:16:34.917 AbstractWidgetProvider - onUpdate:end 2019-04-11 06:16:34.927 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.WeatherForecastWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.WeatherForecastWidgetProvider 2019-04-11 06:16:34.928 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:16:34.962 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithGraphWidgetProvider 2019-04-11 06:16:34.962 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:16:34.976 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.WeatherGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.WeatherGraphWidgetProvider 2019-04-11 06:16:34.978 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:16:34.987 AbstractWidgetProvider - intent:Intent { act=android.appwidget.action.APPWIDGET_UPDATE flg=0x10 cmp=org.thosp.yourlocalweather/.widget.ExtLocationWithForecastGraphWidgetProvider (has extras) }, widget:class org.thosp.yourlocalweather.widget.ExtLocationWithForecastGraphWidgetProvider 2019-04-11 06:16:34.987 AbstractWidgetProvider - EXTRA_APPWIDGET_ID:0 2019-04-11 06:18:06.823 TAG - Service not registered: org.thosp.yourlocalweather.MainActivity$16@1e5cd10 Service not registered: org.thosp.yourlocalweather.MainActivity$16@1e5cd10 android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1490) android.app.ContextImpl.unbindService(ContextImpl.java:1655) android.content.ContextWrapper.unbindService(ContextWrapper.java:716) org.thosp.yourlocalweather.MainActivity.unbindCurrentWeatherService(MainActivity.java:1075) org.thosp.yourlocalweather.MainActivity.onPause(MainActivity.java:227) android.app.Activity.performPause(Activity.java:7408) android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1414) android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:4115) android.app.ActivityThread.performPauseActivity(ActivityThread.java:4092) android.app.ActivityThread.performPauseActivity(ActivityThread.java:4066) android.app.ActivityThread.handlePauseActivity(ActivityThread.java:4040) android.app.ActivityThread.-wrap16(Unknown Source:0) android.app.ActivityThread$H.handleMessage(ActivityThread.java:1708) android.os.Handler.dispatchMessage(Handler.java:105) android.os.Looper.loop(Looper.java:164) android.app.ActivityThread.main(ActivityThread.java:6944) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)

infinitewaveparticle commented 5 years ago

@thuryn This log is while connected via 4G.

thuryn commented 5 years ago

I cannot reproduce this bug, it works fine on my phone. What Android do you have?

infinitewaveparticle commented 5 years ago

@thuryn Android 8.0.0 on Samsung Galaxy S7 Edge; it is STILL happening. When clicking to manually update the weather it gives the familiar error message "An error has occurred. Try later."

infinitewaveparticle commented 5 years ago

@thuryn I tried excluding the app from my firewall. It worked. This isn't convenient, though, because I block all traffic that isn't routed through my firewall (AdGuard). I have no extra filtering selected like https, and all other apps work just fine. In fact even "Your local weather" worked prior to version 4.6.10

infinitewaveparticle commented 5 years ago

@thuryn Updates: I have since tried clearing all app data, uninstalling, and reinstalling... still can't get it to work when funneled thru the AdGuard firewall.

I also have updated to 4.7.5. The only thing different now is that the app actually makes a successful dns call, but it doesn't follow this with a successful https connection. My other openweathermap app works, but it uses http. Not sure if that matters. All my other apps that use https work. I tried searching for a second location... the tile.openstreetmap.org connections are successful - so the app CAN connect... but the nominatim.openstreetmap.org connection is only successful as a dns call; it never makes a successful connection to nominatim and thus my location is never found. side note - can you add a search by zip code function?

If you install AdGuard or perhaps even NetGuard or a similar VPN-type firewall, perhaps you can recreate this error/bug. It's mind-boggling, though, because every time I connect to Wi-Fi the app works flawlessly. The notification issue / bug is also tied to this because the notification disappears when I'm connected to 4G/cellular... when I connect to Wi-Fi the notification reappears. I suppose this means that when the connection fails it sends a null value or error (or similar) for the notification instead of just not updating it. This must be true because even when the weather data update fails the "Last updated" time shows the most recent update ATTEMPT instead of the most recent actually SUCCESSFUL UPDATE.

Please let me know if any of this helps! Thank you!

infinitewaveparticle commented 5 years ago

@thuryn Here is the link to the other openweathermap app I use... perhaps it may help, perhaps it may not:

https://github.com/sanderbaas/WeatherWidget