IdentityServer3 not generating subject id when a user is logging in - asp.net-mvc

In our company we use IdentityServer3 to authenticate and authorize all our ASP.NET MVC 5 apps. Since last week we are having issues with user autentication with some apps, sometimes it's the same app, some time it's another one. To be able to fix the login issue we need to restart IIS in which the app was deployed.
When an app fails, identity server does not generate SubjectId and SessionId values (looks after "Authorize request validation success" in the logs files)
When the apps fails to log in, this is identityserver's log:
w3wp.exe Information: 0 : 2017-12-26 11:01:40.495 -05:00 [Information] Start authorize request
w3wp.exe Information: 0 : 2017-12-26 11:01:40.495 -05:00 [Information] Start authorize request protocol validation
w3wp.exe Information: 0 : 2017-12-26 11:01:40.557 -05:00 [Information] "Authorize request validation success"
"{
\"ClientId\": \"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",
\"ClientName\": \"Application 1\",
\"RedirectUri\": \"http://server1/app1/\",
\"AllowedRedirectUris\": [
\"http://server1/app1/\"
],
\"SubjectId\": \"unknown\",
\"ResponseType\": \"id_token token\",
\"ResponseMode\": \"form_post\",
\"Flow\": \"Implicit\",
\"RequestedScopes\": \"openid profile roles\",
\"State\": \"OpenIdConnect.AuthenticationProperties=C8PH70Hdb4J3A3hSB2GLY9nw-luFnJOpwPMQTDT8_veTFgUvb1qovs556SDjqJK946BF3cyLSkiLkvFSaJxOlgijPKABAmqXn6hqzeM16XcfC5Aw_74mtN0KVaY6zWy3dWXmJawSbDY1qi5VQ1SrB_IV7FFovt2TWvGA1ShTh3qgCTF2NIgNrvw_CR98W-8LZ-y8Yzg539qZdKp8hOZgAY6G2xWBbiHP6duZ03ZXCuuqCwReDhhl4-sPSM9b49FJxBy2F4fZEI68OcRIR29NJg\",
\"Nonce\": \"636499009004794376.MTcwZDU5MzctNzFjMS00ZjU5LTg0MDItODlmZDUxYzFiY2E3MWE1YjQwNjEtYmE2NC00MGYxLWJjNDYtNzMyMWFlYWYzYjc0\",
\"Raw\": {
\"client_id\": \"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",
\"redirect_uri\": \"http://server1/app1/\",
\"response_mode\": \"form_post\",
\"response_type\": \"id_token token\",
\"scope\": \"openid profile roles\",
\"state\": \"OpenIdConnect.AuthenticationProperties=C8PH70Hdb4J3A3hSB2GLY9nw-luFnJOpwPMQTDT8_veTFgUvb1qovs556SDjqJK946BF3cyLSkiLkvFSaJxOlgijPKABAmqXn6hqzeM16XcfC5Aw_74mtN0KVaY6zWy3dWXmJawSbDY1qi5VQ1SrB_IV7FFovt2TWvGA1ShTh3qgCTF2NIgNrvw_CR98W-8LZ-y8Yzg539qZdKp8hOZgAY6G2xWBbiHP6duZ03ZXCuuqCwReDhhl4-sPSM9b49FJxBy2F4fZEI68OcRIR29NJg\",
\"nonce\": \"636499009004794376.MTcwZDU5MzctNzFjMS00ZjU5LTg0MDItODlmZDUxYzFiY2E3MWE1YjQwNjEtYmE2NC00MGYxLWJjNDYtNzMyMWFlYWYzYjc0\"
}
}"
w3wp.exe Information: 0 : 2017-12-26 11:01:40.557 -05:00 [Information] User is not authenticated. Redirecting to login.
w3wp.exe Information: 0 : 2017-12-26 11:01:40.557 -05:00 [Information] End authorize request
w3wp.exe Information: 0 : 2017-12-26 11:01:40.557 -05:00 [Information] Redirecting to login page
2017-12-26 11:01:40.557 -05:00 [Debug] Protecting message: "{\"ReturnUrl\":\"http://server1/IdentityServer/core/connect/authorize?client_id=37B27AF6-BEB4-4C8B-92B0-46D51CF72201&redirect_uri=http%3A%2F%2Fserver1%2Fapp1%2F&response_mode=form_post&response_type=id_token%20token&scope=openid%20profile%20roles&state=OpenIdConnect.AuthenticationProperties%3DC8PH70Hdb4J3A3hSB2GLY9nw-luFnJOpwPMQTDT8_veTFgUvb1qovs556SDjqJK946BF3cyLSkiLkvFSaJxOlgijPKABAmqXn6hqzeM16XcfC5Aw_74mtN0KVaY6zWy3dWXmJawSbDY1qi5VQ1SrB_IV7FFovt2TWvGA1ShTh3qgCTF2NIgNrvw_CR98W-8LZ-y8Yzg539qZdKp8hOZgAY6G2xWBbiHP6duZ03ZXCuuqCwReDhhl4-sPSM9b49FJxBy2F4fZEI68OcRIR29NJg&nonce=636499009004794376.MTcwZDU5MzctNzFjMS00ZjU5LTg0MDItODlmZDUxYzFiY2E3MWE1YjQwNjEtYmE2NC00MGYxLWJjNDYtNzMyMWFlYWYzYjc0\",\"ClientId\":\"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",\"AcrValues\":[],\"Created\":636499009004950453}"
w3wp.exe Information: 0 : 2017-12-26 11:01:40.573 -05:00 [Information] Login page requested
2017-12-26 11:01:40.573 -05:00 [Debug] signin message passed to login: "{
\"ReturnUrl\": \"http://server1/IdentityServer/core/connect/authorize?client_id=37B27AF6-BEB4-4C8B-92B0-46D51CF72201&redirect_uri=http%3A%2F%2Fserver1%2Fapp1%2F&response_mode=form_post&response_type=id_token%20token&scope=openid%20profile%20roles&state=OpenIdConnect.AuthenticationProperties%3DC8PH70Hdb4J3A3hSB2GLY9nw-luFnJOpwPMQTDT8_veTFgUvb1qovs556SDjqJK946BF3cyLSkiLkvFSaJxOlgijPKABAmqXn6hqzeM16XcfC5Aw_74mtN0KVaY6zWy3dWXmJawSbDY1qi5VQ1SrB_IV7FFovt2TWvGA1ShTh3qgCTF2NIgNrvw_CR98W-8LZ-y8Yzg539qZdKp8hOZgAY6G2xWBbiHP6duZ03ZXCuuqCwReDhhl4-sPSM9b49FJxBy2F4fZEI68OcRIR29NJg&nonce=636499009004794376.MTcwZDU5MzctNzFjMS00ZjU5LTg0MDItODlmZDUxYzFiY2E3MWE1YjQwNjEtYmE2NC00MGYxLWJjNDYtNzMyMWFlYWYzYjc0\",
\"ClientId\": \"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",
\"IdP\": null,
\"Tenant\": null,
\"LoginHint\": null,
\"DisplayMode\": null,
\"UiLocales\": null,
\"AcrValues\": [],
\"Created\": 636499009004950453
}"
w3wp.exe Information: 0 : 2017-12-26 11:01:40.604 -05:00 [Information] rendering login page
w3wp.exe Information: 0 : 2017-12-26 11:01:46.229 -05:00 [Information] Login page submitted
w3wp.exe Information: 0 : 2017-12-26 11:01:46.307 -05:00 [Information] Login credentials successfully validated by user service
w3wp.exe Information: 0 : 2017-12-26 11:01:46.307 -05:00 [Information] Calling PostAuthenticateAsync on the user service
w3wp.exe Information: 0 : 2017-12-26 11:01:46.307 -05:00 [Information] issuing primary signin cookie
w3wp.exe Information: 0 : 2017-12-26 11:01:46.307 -05:00 [Information] redirecting to: http://server1/IdentityServer/core/connect/authorize?client_id=37B27AF6-BEB4-4C8B-92B0-46D51CF72201&redirect_uri=http:%2F%2Fserver1%2Fapp1%2F&response_mode=form_post&response_type=id_token token&scope=openid profile roles&state=OpenIdConnect.AuthenticationProperties%3DC8PH70Hdb4J3A3hSB2GLY9nw-luFnJOpwPMQTDT8_veTFgUvb1qovs556SDjqJK946BF3cyLSkiLkvFSaJxOlgijPKABAmqXn6hqzeM16XcfC5Aw_74mtN0KVaY6zWy3dWXmJawSbDY1qi5VQ1SrB_IV7FFovt2TWvGA1ShTh3qgCTF2NIgNrvw_CR98W-8LZ-y8Yzg539qZdKp8hOZgAY6G2xWBbiHP6duZ03ZXCuuqCwReDhhl4-sPSM9b49FJxBy2F4fZEI68OcRIR29NJg&nonce=636499009004794376.MTcwZDU5MzctNzFjMS00ZjU5LTg0MDItODlmZDUxYzFiY2E3MWE1YjQwNjEtYmE2NC00MGYxLWJjNDYtNzMyMWFlYWYzYjc0
w3wp.exe Information: 0 : 2017-12-26 11:01:46.338 -05:00 [Information] Start authorize request
w3wp.exe Information: 0 : 2017-12-26 11:01:46.338 -05:00 [Information] Start authorize request protocol validation
w3wp.exe Information: 0 : 2017-12-26 11:01:46.385 -05:00 [Information] "Authorize request validation success"
"{
\"ClientId\": \"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",
\"ClientName\": \"Application 1\",
\"RedirectUri\": \"http://server1/app1/\",
\"AllowedRedirectUris\": [
\"http://server1/app1/\"
],
\"SubjectId\": \"unknown\",
\"ResponseType\": \"id_token token\",
\"ResponseMode\": \"form_post\",
\"Flow\": \"Implicit\",
\"RequestedScopes\": \"openid profile roles\",
\"State\": \"OpenIdConnect.AuthenticationProperties=C8PH70Hdb4J3A3hSB2GLY9nw-luFnJOpwPMQTDT8_veTFgUvb1qovs556SDjqJK946BF3cyLSkiLkvFSaJxOlgijPKABAmqXn6hqzeM16XcfC5Aw_74mtN0KVaY6zWy3dWXmJawSbDY1qi5VQ1SrB_IV7FFovt2TWvGA1ShTh3qgCTF2NIgNrvw_CR98W-8LZ-y8Yzg539qZdKp8hOZgAY6G2xWBbiHP6duZ03ZXCuuqCwReDhhl4-sPSM9b49FJxBy2F4fZEI68OcRIR29NJg\",
\"Nonce\": \"636499009004794376.MTcwZDU5MzctNzFjMS00ZjU5LTg0MDItODlmZDUxYzFiY2E3MWE1YjQwNjEtYmE2NC00MGYxLWJjNDYtNzMyMWFlYWYzYjc0\",
\"Raw\": {
\"client_id\": \"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",
\"redirect_uri\": \"http://server1/app1/\",
\"response_mode\": \"form_post\",
\"response_type\": \"id_token token\",
\"scope\": \"openid profile roles\",
\"state\": \"OpenIdConnect.AuthenticationProperties=C8PH70Hdb4J3A3hSB2GLY9nw-luFnJOpwPMQTDT8_veTFgUvb1qovs556SDjqJK946BF3cyLSkiLkvFSaJxOlgijPKABAmqXn6hqzeM16XcfC5Aw_74mtN0KVaY6zWy3dWXmJawSbDY1qi5VQ1SrB_IV7FFovt2TWvGA1ShTh3qgCTF2NIgNrvw_CR98W-8LZ-y8Yzg539qZdKp8hOZgAY6G2xWBbiHP6duZ03ZXCuuqCwReDhhl4-sPSM9b49FJxBy2F4fZEI68OcRIR29NJg\",
\"nonce\": \"636499009004794376.MTcwZDU5MzctNzFjMS00ZjU5LTg0MDItODlmZDUxYzFiY2E3MWE1YjQwNjEtYmE2NC00MGYxLWJjNDYtNzMyMWFlYWYzYjc0\"
}
}"
w3wp.exe Information: 0 : 2017-12-26 11:01:46.385 -05:00 [Information] User is not authenticated. Redirecting to login.
w3wp.exe Information: 0 : 2017-12-26 11:01:46.385 -05:00 [Information] End authorize request
w3wp.exe Information: 0 : 2017-12-26 11:01:46.385 -05:00 [Information] Redirecting to login page
2017-12-26 11:01:46.385 -05:00 [Debug] Protecting message: "{\"ReturnUrl\":\"http://server1/IdentityServer/core/connect/authorize?client_id=37B27AF6-BEB4-4C8B-92B0-46D51CF72201&redirect_uri=http%3A%2F%2Fserver1%2Fapp1%2F&response_mode=form_post&response_type=id_token%20token&scope=openid%20profile%20roles&state=OpenIdConnect.AuthenticationProperties%3DC8PH70Hdb4J3A3hSB2GLY9nw-luFnJOpwPMQTDT8_veTFgUvb1qovs556SDjqJK946BF3cyLSkiLkvFSaJxOlgijPKABAmqXn6hqzeM16XcfC5Aw_74mtN0KVaY6zWy3dWXmJawSbDY1qi5VQ1SrB_IV7FFovt2TWvGA1ShTh3qgCTF2NIgNrvw_CR98W-8LZ-y8Yzg539qZdKp8hOZgAY6G2xWBbiHP6duZ03ZXCuuqCwReDhhl4-sPSM9b49FJxBy2F4fZEI68OcRIR29NJg&nonce=636499009004794376.MTcwZDU5MzctNzFjMS00ZjU5LTg0MDItODlmZDUxYzFiY2E3MWE1YjQwNjEtYmE2NC00MGYxLWJjNDYtNzMyMWFlYWYzYjc0\",\"ClientId\":\"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",\"AcrValues\":[],\"Created\":636499009063389220}"
w3wp.exe Information: 0 : 2017-12-26 11:01:46.401 -05:00 [Information] Login page requested
2017-12-26 11:01:46.401 -05:00 [Debug] signin message passed to login: "{
\"ReturnUrl\": \"http://server1/IdentityServer/core/connect/authorize?client_id=37B27AF6-BEB4-4C8B-92B0-46D51CF72201&redirect_uri=http%3A%2F%2Fserver1%2Fapp1%2F&response_mode=form_post&response_type=id_token%20token&scope=openid%20profile%20roles&state=OpenIdConnect.AuthenticationProperties%3DC8PH70Hdb4J3A3hSB2GLY9nw-luFnJOpwPMQTDT8_veTFgUvb1qovs556SDjqJK946BF3cyLSkiLkvFSaJxOlgijPKABAmqXn6hqzeM16XcfC5Aw_74mtN0KVaY6zWy3dWXmJawSbDY1qi5VQ1SrB_IV7FFovt2TWvGA1ShTh3qgCTF2NIgNrvw_CR98W-8LZ-y8Yzg539qZdKp8hOZgAY6G2xWBbiHP6duZ03ZXCuuqCwReDhhl4-sPSM9b49FJxBy2F4fZEI68OcRIR29NJg&nonce=636499009004794376.MTcwZDU5MzctNzFjMS00ZjU5LTg0MDItODlmZDUxYzFiY2E3MWE1YjQwNjEtYmE2NC00MGYxLWJjNDYtNzMyMWFlYWYzYjc0\",
\"ClientId\": \"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",
\"IdP\": null,
\"Tenant\": null,
\"LoginHint\": null,
\"DisplayMode\": null,
\"UiLocales\": null,
\"AcrValues\": [],
\"Created\": 636499009063389220
}"
w3wp.exe Information: 0 : 2017-12-26 11:01:46.432 -05:00 [Information] rendering login page
After IIS is restarted, the user is able to log in and this is IdentityServer's log:
w3wp.exe Information: 0 : 2017-12-26 11:05:22.390 -05:00 [Information] Starting IdentityAdmin configuration
w3wp.exe Information: 0 : 2017-12-26 11:05:22.937 -05:00 [Information] Starting IdentityManager configuration
w3wp.exe Information: 0 : 2017-12-26 11:05:28.031 -05:00 [Information] Start discovery request
w3wp.exe Information: 0 : 2017-12-26 11:05:29.375 -05:00 [Information] Start key discovery request
w3wp.exe Information: 0 : 2017-12-26 11:05:29.703 -05:00 [Information] Start authorize request
w3wp.exe Information: 0 : 2017-12-26 11:05:29.703 -05:00 [Information] Start authorize request protocol validation
w3wp.exe Information: 0 : 2017-12-26 11:05:30.921 -05:00 [Information] "Authorize request validation success"
"{
\"ClientId\": \"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",
\"ClientName\": \"Application 1\",
\"RedirectUri\": \"http://server1/app1/\",
\"AllowedRedirectUris\": [
\"http://server1/app1/\"
],
\"SubjectId\": \"unknown\",
\"ResponseType\": \"id_token token\",
\"ResponseMode\": \"form_post\",
\"Flow\": \"Implicit\",
\"RequestedScopes\": \"openid profile roles\",
\"State\": \"OpenIdConnect.AuthenticationProperties=fjwR1NWMEangVNL2EGj-KqFl8l61pubDaePaMwu4F8sIV5gc3xpAqHdby4E4AeMAXLZ_PG2-Bep_WfWIwwOHs1JbX94Vp1WXmh48k_VzxV637LimIbXNlUsQyGy9UboegL8klqamwHdJKN0jPBWkufWiUoLN4GuCePbZV9L5XmlslmLMcv9Ghge2_8X9Wyrk_zScuafOIQCe1Jl0N9bTVCME7isQND3sCrETEuexrk3wK-URVxWumr1zgLKcYOQ7WAyz21GU65Ugb0AXW7OV2A\",
\"Nonce\": \"636499011294218688.MzBkODAxMzgtMzMzYy00YWFjLWE3NjMtZWQ3ZTNmNWY3ZWIyOTQ2OTZhN2ItZTc5NS00MWMxLWIyODgtMDMyMDI4NDNkOTJj\",
\"Raw\": {
\"client_id\": \"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",
\"redirect_uri\": \"http://server1/app1/\",
\"response_mode\": \"form_post\",
\"response_type\": \"id_token token\",
\"scope\": \"openid profile roles\",
\"state\": \"OpenIdConnect.AuthenticationProperties=fjwR1NWMEangVNL2EGj-KqFl8l61pubDaePaMwu4F8sIV5gc3xpAqHdby4E4AeMAXLZ_PG2-Bep_WfWIwwOHs1JbX94Vp1WXmh48k_VzxV637LimIbXNlUsQyGy9UboegL8klqamwHdJKN0jPBWkufWiUoLN4GuCePbZV9L5XmlslmLMcv9Ghge2_8X9Wyrk_zScuafOIQCe1Jl0N9bTVCME7isQND3sCrETEuexrk3wK-URVxWumr1zgLKcYOQ7WAyz21GU65Ugb0AXW7OV2A\",
\"nonce\": \"636499011294218688.MzBkODAxMzgtMzMzYy00YWFjLWE3NjMtZWQ3ZTNmNWY3ZWIyOTQ2OTZhN2ItZTc5NS00MWMxLWIyODgtMDMyMDI4NDNkOTJj\"
}
}"
w3wp.exe Information: 0 : 2017-12-26 11:05:30.921 -05:00 [Information] User is not authenticated. Redirecting to login.
w3wp.exe Information: 0 : 2017-12-26 11:05:30.921 -05:00 [Information] End authorize request
w3wp.exe Information: 0 : 2017-12-26 11:05:30.921 -05:00 [Information] Redirecting to login page
2017-12-26 11:05:30.937 -05:00 [Debug] Protecting message: "{\"ReturnUrl\":\"http://server1/IdentityServer/core/connect/authorize?client_id=37B27AF6-BEB4-4C8B-92B0-46D51CF72201&redirect_uri=http%3A%2F%2Fserver1%2Fapp1%2F&response_mode=form_post&response_type=id_token%20token&scope=openid%20profile%20roles&state=OpenIdConnect.AuthenticationProperties%3DfjwR1NWMEangVNL2EGj-KqFl8l61pubDaePaMwu4F8sIV5gc3xpAqHdby4E4AeMAXLZ_PG2-Bep_WfWIwwOHs1JbX94Vp1WXmh48k_VzxV637LimIbXNlUsQyGy9UboegL8klqamwHdJKN0jPBWkufWiUoLN4GuCePbZV9L5XmlslmLMcv9Ghge2_8X9Wyrk_zScuafOIQCe1Jl0N9bTVCME7isQND3sCrETEuexrk3wK-URVxWumr1zgLKcYOQ7WAyz21GU65Ugb0AXW7OV2A&nonce=636499011294218688.MzBkODAxMzgtMzMzYy00YWFjLWE3NjMtZWQ3ZTNmNWY3ZWIyOTQ2OTZhN2ItZTc5NS00MWMxLWIyODgtMDMyMDI4NDNkOTJj\",\"ClientId\":\"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",\"AcrValues\":[],\"Created\":636499011296093553}"
w3wp.exe Information: 0 : 2017-12-26 11:05:30.984 -05:00 [Information] Login page requested
2017-12-26 11:05:30.984 -05:00 [Debug] signin message passed to login: "{
\"ReturnUrl\": \"http://server1/IdentityServer/core/connect/authorize?client_id=37B27AF6-BEB4-4C8B-92B0-46D51CF72201&redirect_uri=http%3A%2F%2Fserver1%2Fapp1%2F&response_mode=form_post&response_type=id_token%20token&scope=openid%20profile%20roles&state=OpenIdConnect.AuthenticationProperties%3DfjwR1NWMEangVNL2EGj-KqFl8l61pubDaePaMwu4F8sIV5gc3xpAqHdby4E4AeMAXLZ_PG2-Bep_WfWIwwOHs1JbX94Vp1WXmh48k_VzxV637LimIbXNlUsQyGy9UboegL8klqamwHdJKN0jPBWkufWiUoLN4GuCePbZV9L5XmlslmLMcv9Ghge2_8X9Wyrk_zScuafOIQCe1Jl0N9bTVCME7isQND3sCrETEuexrk3wK-URVxWumr1zgLKcYOQ7WAyz21GU65Ugb0AXW7OV2A&nonce=636499011294218688.MzBkODAxMzgtMzMzYy00YWFjLWE3NjMtZWQ3ZTNmNWY3ZWIyOTQ2OTZhN2ItZTc5NS00MWMxLWIyODgtMDMyMDI4NDNkOTJj\",
\"ClientId\": \"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",
\"IdP\": null,
\"Tenant\": null,
\"LoginHint\": null,
\"DisplayMode\": null,
\"UiLocales\": null,
\"AcrValues\": [],
\"Created\": 636499011296093553
}"
w3wp.exe Information: 0 : 2017-12-26 11:05:31.015 -05:00 [Information] rendering login page
w3wp.exe Information: 0 : 2017-12-26 11:05:39.547 -05:00 [Information] Login page submitted
w3wp.exe Information: 0 : 2017-12-26 11:05:40.281 -05:00 [Information] Login credentials successfully validated by user service
w3wp.exe Information: 0 : 2017-12-26 11:05:40.281 -05:00 [Information] Calling PostAuthenticateAsync on the user service
w3wp.exe Information: 0 : 2017-12-26 11:05:40.281 -05:00 [Information] issuing primary signin cookie
w3wp.exe Information: 0 : 2017-12-26 11:05:40.297 -05:00 [Information] redirecting to: http://server1/IdentityServer/core/connect/authorize?client_id=37B27AF6-BEB4-4C8B-92B0-46D51CF72201&redirect_uri=http:%2F%2Fserver1%2Fapp1%2F&response_mode=form_post&response_type=id_token token&scope=openid profile roles&state=OpenIdConnect.AuthenticationProperties%3DfjwR1NWMEangVNL2EGj-KqFl8l61pubDaePaMwu4F8sIV5gc3xpAqHdby4E4AeMAXLZ_PG2-Bep_WfWIwwOHs1JbX94Vp1WXmh48k_VzxV637LimIbXNlUsQyGy9UboegL8klqamwHdJKN0jPBWkufWiUoLN4GuCePbZV9L5XmlslmLMcv9Ghge2_8X9Wyrk_zScuafOIQCe1Jl0N9bTVCME7isQND3sCrETEuexrk3wK-URVxWumr1zgLKcYOQ7WAyz21GU65Ugb0AXW7OV2A&nonce=636499011294218688.MzBkODAxMzgtMzMzYy00YWFjLWE3NjMtZWQ3ZTNmNWY3ZWIyOTQ2OTZhN2ItZTc5NS00MWMxLWIyODgtMDMyMDI4NDNkOTJj
w3wp.exe Information: 0 : 2017-12-26 11:05:40.328 -05:00 [Information] Start authorize request
w3wp.exe Information: 0 : 2017-12-26 11:05:40.328 -05:00 [Information] Start authorize request protocol validation
w3wp.exe Information: 0 : 2017-12-26 11:05:40.359 -05:00 [Information] "Authorize request validation success"
"{
\"ClientId\": \"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",
\"ClientName\": \"Application 1\",
\"RedirectUri\": \"http://server1/app1/\",
\"AllowedRedirectUris\": [
\"http://server1/app1/\"
],
\"SubjectId\": \"7d7d455c-fcbf-4614-b9d6-5396b92c3a1b\",
\"ResponseType\": \"id_token token\",
\"ResponseMode\": \"form_post\",
\"Flow\": \"Implicit\",
\"RequestedScopes\": \"openid profile roles\",
\"State\": \"OpenIdConnect.AuthenticationProperties=fjwR1NWMEangVNL2EGj-KqFl8l61pubDaePaMwu4F8sIV5gc3xpAqHdby4E4AeMAXLZ_PG2-Bep_WfWIwwOHs1JbX94Vp1WXmh48k_VzxV637LimIbXNlUsQyGy9UboegL8klqamwHdJKN0jPBWkufWiUoLN4GuCePbZV9L5XmlslmLMcv9Ghge2_8X9Wyrk_zScuafOIQCe1Jl0N9bTVCME7isQND3sCrETEuexrk3wK-URVxWumr1zgLKcYOQ7WAyz21GU65Ugb0AXW7OV2A\",
\"Nonce\": \"636499011294218688.MzBkODAxMzgtMzMzYy00YWFjLWE3NjMtZWQ3ZTNmNWY3ZWIyOTQ2OTZhN2ItZTc5NS00MWMxLWIyODgtMDMyMDI4NDNkOTJj\",
\"SessionId\": \"066e45ec35914c794dbcb53e5c9948d9\",
\"Raw\": {
\"client_id\": \"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",
\"redirect_uri\": \"http://server1/app1/\",
\"response_mode\": \"form_post\",
\"response_type\": \"id_token token\",
\"scope\": \"openid profile roles\",
\"state\": \"OpenIdConnect.AuthenticationProperties=fjwR1NWMEangVNL2EGj-KqFl8l61pubDaePaMwu4F8sIV5gc3xpAqHdby4E4AeMAXLZ_PG2-Bep_WfWIwwOHs1JbX94Vp1WXmh48k_VzxV637LimIbXNlUsQyGy9UboegL8klqamwHdJKN0jPBWkufWiUoLN4GuCePbZV9L5XmlslmLMcv9Ghge2_8X9Wyrk_zScuafOIQCe1Jl0N9bTVCME7isQND3sCrETEuexrk3wK-URVxWumr1zgLKcYOQ7WAyz21GU65Ugb0AXW7OV2A\",
\"nonce\": \"636499011294218688.MzBkODAxMzgtMzMzYy00YWFjLWE3NjMtZWQ3ZTNmNWY3ZWIyOTQ2OTZhN2ItZTc5NS00MWMxLWIyODgtMDMyMDI4NDNkOTJj\"
}
}"
w3wp.exe Information: 0 : 2017-12-26 11:05:40.406 -05:00 [Information] Creating Implicit Flow response.
2017-12-26 11:05:40.406 -05:00 [Debug] Creating access token
2017-12-26 11:05:40.406 -05:00 [Debug] Creating JWT access token
2017-12-26 11:05:40.531 -05:00 [Debug] Creating identity token
w3wp.exe Information: 0 : 2017-12-26 11:05:40.531 -05:00 [Information] Getting claims for identity token for subject: 7d7d455c-fcbf-4614-b9d6-5396b92c3a1b
2017-12-26 11:05:40.531 -05:00 [Debug] Creating JWT identity token
2017-12-26 11:05:40.625 -05:00 [Debug] Adding client "37B27AF6-BEB4-4C8B-92B0-46D51CF72201" to client list cookie for subject "7d7d455c-fcbf-4614-b9d6-5396b92c3a1b"
w3wp.exe Information: 0 : 2017-12-26 11:05:40.625 -05:00 [Information] End authorize request
w3wp.exe Information: 0 : 2017-12-26 11:05:40.640 -05:00 [Information] Posting to http://server1/app1/
2017-12-26 11:05:40.640 -05:00 [Debug] Using DefaultViewService to render authorization response HTML
w3wp.exe Information: 0 : 2017-12-26 11:05:41.265 -05:00 [Information] Start userinfo request
w3wp.exe Information: 0 : 2017-12-26 11:05:41.281 -05:00 [Information] Token found: AuthorizationHeader
w3wp.exe Information: 0 : 2017-12-26 11:05:41.281 -05:00 [Information] Start access token validation
w3wp.exe Information: 0 : 2017-12-26 11:05:41.328 -05:00 [Information] "Token validation success"
"{
\"ValidateLifetime\": true,
\"AccessTokenType\": \"Jwt\",
\"ExpectedScope\": \"openid\",
\"Claims\": {
\"iss\": \"http://server1/IdentityServer/core\",
\"aud\": \"http://server1/IdentityServer/core/resources\",
\"exp\": \"1514307940\",
\"nbf\": \"1514304340\",
\"client_id\": \"37B27AF6-BEB4-4C8B-92B0-46D51CF72201\",
\"scope\": [
\"openid\",
\"profile\",
\"roles\"
],
\"sub\": \"7d7d455c-fcbf-4614-b9d6-5396b92c3a1b\",
\"auth_time\": \"1514304340\",
\"idp\": \"idsrv\",
\"amr\": \"password\"
}
}"
w3wp.exe Information: 0 : 2017-12-26 11:05:41.328 -05:00 [Information] Creating userinfo response
w3wp.exe Information: 0 : 2017-12-26 11:05:41.328 -05:00 [Information] Scopes in access token: "openid profile roles"
w3wp.exe Information: 0 : 2017-12-26 11:05:41.359 -05:00 [Information] Requested claim types: "sub name family_name given_name middle_name nickname preferred_username profile picture website gender birthdate zoneinfo locale updated_at role"
w3wp.exe Information: 0 : 2017-12-26 11:05:41.390 -05:00 [Information] Profile service returned to the following claim types: "sub preferred_username role role role given_name family_name locale role"
w3wp.exe Information: 0 : 2017-12-26 11:05:41.390 -05:00 [Information] End userinfo request
w3wp.exe Information: 0 : 2017-12-26 11:05:41.390 -05:00 [Information] Returning userinfo response.
This issue only happens when we have concurrent users in two or more apps using IdentityServer for authentication requests.

The issue it is generated by a lower and upper case mixing in the URL path of Identity Server and the mvc apps in IIS.
check this: https://github.com/IdentityServer/IdentityServer3/issues/2091#issuecomment-159257951

Related

DATASTAX OPSCENTER 6.0 not able to connect to DSE 4.8 cluster

I am trying to connect opscenter to DSE cluster, I tried and verified the same configurations with in the other environments (DEV, STAGING) but while I am trying to do the same on Prod, I am getting these error on agent.log file
INFO [async-dispatch-64] 2017-12-14 18:29:24,728 Starting system.
INFO [async-dispatch-64] 2017-12-14 18:29:24,730 Starting
JMXComponent
WARN [async-dispatch-64] 2017-12-14 18:29:24,732 Exception while
processing JMX data: java.lang.SecurityException: Authentication
failed! Credentials required
ERROR [async-dispatch-64] 2017-12-14 18:29:24,732 Security failure
connecting to JMX: Authentication failed! Credentials required
INFO [async-dispatch-64] 2017-12-14 18:29:24,733 Starting
StompComponent
INFO [async-dispatch-64] 2017-12-14 18:29:24,733 SSL communication is
disabled
INFO [async-dispatch-64] 2017-12-14 18:29:24,733 Creating stomp
connection to x.y.z.x:61620
ERROR [async-dispatch-64] 2017-12-14 18:29:24,736 Dec 14, 2017
6:29:24 PM org.jgroups.client.StompConnection connect
INFO: Connected to x.y.z.x:1234
WARN [async-dispatch-64] 2017-12-14 18:29:29,738 Attempted to ping
opscenterd on stomp but did not receive a reply in time, will retry
again later.
ERROR [StompConnection receiver] 2017-12-14 18:29:29,740 Dec 14, 2017
6:29:29 PM org.jgroups.client.StompConnection run
SEVERE: JGRP000112: Connection closed unexpectedly:
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.net.SocketInputStream.read(SocketInputStream.java:224)
at java.io.FilterInputStream.read(FilterInputStream.java:83)
at org.jgroups.util.Util.readLine(Util.java:2825)
at org.jgroups.protocols.STOMP.readFrame(STOMP.java:240)
at org.jgroups.client.StompConnection.run(StompConnection.java:274)
at java.lang.Thread.run(Thread.java:745)
INFO [async-dispatch-64] 2017-12-14 18:29:29,742 Starting
JMXComponent
WARN [async-dispatch-64] 2017-12-14 18:29:29,744 Exception while
processing JMX data: java.lang.SecurityException: Authentication
failed! Credentials required
ERROR [async-dispatch-64] 2017-12-14 18:29:29,744 Security failure
connecting to JMX: Authentication failed! Credentials required
INFO [async-dispatch-64] 2017-12-14 18:29:29,744 Starting
JMXComponent
WARN [async-dispatch-64] 2017-12-14 18:29:29,746 Exception while
processing JMX data: java.lang.SecurityException: Authentication
failed! Credentials required
ERROR [async-dispatch-64] 2017-12-14 18:29:29,746 Security failure
connecting to JMX: Authentication failed! Credentials required
Also the opscenterd.log show no errors for the cluster.
The configuration that i used are below.
I have used address.yaml
stomp_interface: x.x.x.x
use_ssl: 0
metrics_enabled: 1
hosts: [x.x.x.x, x.x.x.x]
storage_keyspace: opscenter_abc
cluster_name.conf
[jmx]
port = 7199
password = abc
username = abc
[cassandra]
seed_hosts = x.x.x.x , x.x.x.x , x.x.x.x
api_port = 9160
cql_port = 9042
password = abc
username = fabe
[storage_cassandra]
seed_hosts = x.x.x.x, x.x.x.x
api_port = 9160
cql_port = 9042
keyspace = opscenter_abc
[cassandra_metrics]
5min_ttl = 2419200
[cluster_display_options]
display_name = badkfj

Migrate app in openshift with "create --from-app" doesn't load my old application [Grails]

I have a Grails application in Openshift and I've recently upgraded my plan from free to silver and I need to migrate my application from non scalable to scalable, to do this I used the command rhc create-app --from-app app --scaling. After a while the new app is created but when I run it, it doesn't load the app, just the by default tomcat first screen.
Update: The logs of the new app show this:
==> app-root/logs/haproxy_ctld.log <==
I, [2015-04-18T01:02:28.949500 #163665] INFO -- : Starting haproxy_ctld
I, [2015-04-18T08:28:39.200616 #496980] INFO -- : Starting haproxy_ctld
==> app-root/logs/haproxy.log <==
[WARNING] 107/010224 (167630) : config : log format ignored for proxy 'express' since it has
no log address.
[WARNING] 107/012317 (167630) : Server express/local-gear is DOWN for maintenance.
[ALERT] 107/012317 (167630) : proxy 'express' has no server available!
[WARNING] 107/082838 (496963) : config : log format ignored for proxy 'stats' since it has n
o log address.
[WARNING] 107/082838 (496963) : config : log format ignored for proxy 'express' since it has
no log address.
[WARNING] 107/082838 (496963) : Server express/local-gear is DOWN, reason: Layer4 connection
problem, info: "Connection refused", check duration: 0ms. 0 active and 0 backup servers lef
t. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 107/082838 (496963) : proxy 'express' has no server available!
[WARNING] 107/082851 (496963) : Server express/local-gear is UP, reason: Layer7 check passed
, code: 200, info: "HTTP status check returned code <3C>200<3E>", check duration: 2ms. 1 act
ive and 0 backup servers online. 0 sessions requeued, 0 total in queue.
[WARNING] 107/085928 (496963) : Server express/local-gear is DOWN for maintenance.
[ALERT] 107/085928 (496963) : proxy 'express' has no server available!
==> app-root/logs/jbossews.log <==
Apr 18, 2015 8:28:47 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3727 ms
Apr 18, 2015 8:59:28 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-127.7.39.1-8080"]
Apr 18, 2015 8:59:28 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Apr 18, 2015 8:59:28 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-127.7.39.1-8080"]
Apr 18, 2015 8:59:28 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.7.39.1-8080"]
b

authentication fail in web connector for connecting quickbooks

i am using localhost but please assume domainname.com is a localhost
QBWebConnector.WebServiceManager.DoUpdateSelected() : updateWS() for application = 'My QuickBooks SOAP Server' has STARTED
20140805.11:34:53 UTC : QBWebConnector.RegistryManager.getUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock = FALSE
20140805.11:34:53 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to True
20140805.11:34:53 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ***************** Update session locked *****************
20140805.11:34:53 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : Initiated connection to the following application.
20140805.11:34:53 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppName: My QuickBooks SOAP Server
20140805.11:34:53 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppUniqueName (if available): My QuickBooks SOAP Server
20140805.11:34:53 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppURL: http://domainname.com/magece17/quickbooks-php-master/docs/web_connector/example_web_connector.php
20140805.11:34:53 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : * Calling serverVersion().
20140805.11:34:53 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : Actual error received from web service for serverVersion call: . For backward compatibility of all webservers, QBWC will catch all errors under app-not-supporting-serverVersion.
20140805.11:34:53 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : This application does not contain support for serverVersion. Allowing update operation for backward compatibility.
20140805.11:34:53 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : Calling clientVersion() with following parameter:
20140805.11:34:53 UTC : QBWebConnector.SOAPWebService.updateWS() : Actual error received from web service for clientVersion call: . For backward compatibility of all webservers, QBWC will catch all errors under app-not-supporting-clientVersion.
20140805.11:34:53 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : This application does not contain support for clientVersion. Allowing update operation for backward compatibility.
20140805.11:34:53 UTC : QBWebConnector.SOAPWebService.do_authenticate() : Authenticating to application 'My QuickBooks SOAP Server', username = 'quickbooks'
20140805.11:34:53 UTC : QBWebConnector.SOAPWebService.do_authenticate() : Calling authenticate() with following parameters:
20140805.11:34:53 UTC : QBWebConnector.SOAPWebService.do_authenticate() : QBWC1012: Authentication failed due to following error message.
The server committed a protocol violation. Section=ResponseStatusLine
More info:
StackTrace = at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at QBWebConnector.domainname.com.WCWebServiceDoc.authenticate(String strUserName, String strPassword)
at QBWebConnector.domainname.com.WCWebService.authenticate(String strUserName, String strPassword)
at QBWebConnector.SOAPWebService.authenticate(String UserName, String Password)
at QBWebConnector.WebService.do_authenticate(String& ticket, String& companyFileName)
Source = System.Web.Services
20140805.11:34:53 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to False
20140805.11:34:53 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ******************* Update session unlocked *****************
20140805.11:34:53 UTC : QBWebConnector.WebServiceManager.DoUpdateSelected() : Update completed with errors. See log (QWClog.txt) for details.
This:
QBWC1012: Authentication failed due to following error message. The server committed a protocol violation.
Indicates a problem with your web server.
If you search online, the most commonly recommended solution is to add this to your config:
<system.net>
<settings>
<httpWebRequest useUnsafeHeaderParsing="true" />
</settings>
</system.net>
But, with that said, you should check your web server error logs to see why it's throwing that error.

QBWC1013: Error connecting to QuickBooks. 0x80040408 - Full path to company file is included

I am having issues with the QuickBooks Web Connector connecting to my company file when QB is closed. Here is the log:
20130711.18:09:36 UTC : QBWebConnector.WebServiceManager.DoUpdateSelected() : updateWS() for application = 'Test Company IMPORT - TEST2' has STARTED
20130711.18:09:36 UTC : QBWebConnector.RegistryManager.getUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock = FALSE
20130711.18:09:36 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to True
20130711.18:09:36 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session locked *********************
20130711.18:09:36 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : Initiated connection to the following application.
20130711.18:09:36 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppName: Test Company IMPORT - TEST2
20130711.18:09:36 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppUniqueName (if available): Test Company IMPORT - TEST2
20130711.18:09:36 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppURL: xxxxxxxxxxxxxxxxxxxxxxxx
20130711.18:09:36 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : *** Calling serverVersion().
20130711.18:09:37 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : Received from serverVersion() following parameter:<serverVersionRet="PHP QuickBooks SOAP Server v2.0 at /fp/qb/v1.0/import.php">
20130711.18:09:37 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : *** Calling clientVersion() with following parameter:<productVersion="2.1.0.30">
20130711.18:09:37 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : Received from clientVersion() following parameter:<clientVersionRet="">
20130711.18:09:37 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : This application agrees with the current version of QBWebConnector. Allowing update operation.
20130711.18:09:37 UTC : QBWebConnector.SOAPWebService.do_authenticate() : Authenticating to application 'Test Company IMPORT - TEST2', username = 'omc_main'
20130711.18:09:37 UTC : QBWebConnector.SOAPWebService.do_authenticate() : *** Calling authenticate() with following parameters:<userName="omc_main"><password=<MaskedForSecurity>
20130711.18:09:38 UTC : QBWebConnector.SOAPWebService.updateWS() : Received from authenticate() following parameters:<authRet[0]="xxxxxxxxxxxxxxxxx"><authRet[1]="C:\fp\xxxxxx.FPCOPY.qbw"><authRet[2]=""><authRet[3]="">
20130711.18:09:38 UTC : QBWebConnector.RegistryManager.setCurrentWebServiceName() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\CurrentWebServiceName has been set to Test Company IMPORT - TEST2
20130711.18:09:38 UTC : QBWebConnector.RegistryManager.setCurrentWebServiceSessionTicket() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\CurrentWebServiceSessionTicket has been set to ad5b2bc2-7101-6344-4d10-d95b2065c36b
20130711.18:09:38 UTC : QBWebConnector.SOAPWebService.CheckCFNResponse() : User authenticated.
20130711.18:09:38 UTC : QBWebConnector.SOAPWebService.do_authenticate() : Done.
20130711.18:09:38 UTC : QBWebConnector.SOAPWebService.OpenConnection() : Connecting to QuickBooks...
20130711.18:09:40 UTC : QBWebConnector.SOAPWebService.handleAllOtherError() : QBWC1013: Error connecting to QuickBooks. Returning error message to application.
Could not start QuickBooks.
20130711.18:09:40 UTC : QBWebConnector.SOAPWebService.do_connectionError() : *** Calling connectionError() with following parameters:<wcTicket="ad5b2bc2-7101-6344-4d10-d95b2065c36b"><hresult="0x80040408"><message="Could not start QuickBooks.">
20130711.18:09:41 UTC : QBWebConnector.SOAPWebService.do_connectionError() : Received from connectionError() following parameters:<tryAgain="done">
20130711.18:09:41 UTC : QBWebConnector.SOAPWebService.OpenConnection() : Error connecting to QuickBooks. Application sent back DONE. Job ending.
20130711.18:09:41 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to False
20130711.18:09:41 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session unlocked *********************
20130711.18:09:41 UTC : QBWebConnector.WebServiceManager.DoUpdateSelected() : Update completed with errors. See log (QWClog.txt) for details.
As you can see the full path to the file is properly included (and I've triple checked the path is correct):
<authRet[1]="C:\fp\xxxxxx.FPCOPY.qbw">
Any one have any ideas??

QBXML components have not been installed

I have a user who is having a issues running a QuickBooks Web Connector service.
Version:
1.2
Message:
Application requested to abort
Description:
Error connecting to QuickBooks. Error message received from QuickBooks was . Application has sent back a DONE via
connectionError. More information in available in the log file (click View Log button
from main window). Update aborted per request from application.
This is his log:
QuickBooks Web Connector 2.1.0.30 has started.
Tuesday, June 11, 2013 at 5:24:37 PM
20130611.21:24:37 UTC : QBWebConnector_Load() : QBWC Form Loaded
20130611.21:24:46 UTC : QBWebConnector.WebServiceManager.DoUpdateSelected() : updateWS() for application = 'HunterInvoices' has STARTED
20130611.21:24:46 UTC : QBWebConnector.RegistryManager.getUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock = FALSE
20130611.21:24:46 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to True
20130611.21:24:46 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ********** Update session locked **********
20130611.21:24:47 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : Initiated connection to the following application.
20130611.21:24:47 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppName: HunterInvoices
20130611.21:24:47 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppUniqueName (if available): HunterInvoices
20130611.21:24:47 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppURL: https://srv-iweb-01.hunter.com/HunterInvoices/HunterInvoices.asmx
20130611.21:24:47 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : * Calling serverVersion().
20130611.21:24:48 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : Received from serverVersion() following parameter:
20130611.21:24:48 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : * Calling clientVersion() with following parameter:
20130611.21:24:48 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : Received from clientVersion() following parameter:
20130611.21:24:48 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : This application agrees with the current version of QBWebConnector. Allowing update operation.
20130611.21:24:48 UTC : QBWebConnector.SOAPWebService.do_authenticate() : Authenticating to application 'HunterInvoices', username = '360030'
20130611.21:24:48 UTC : QBWebConnector.SOAPWebService.do_authenticate() : * Calling authenticate() with following parameters:
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.updateWS() : Received from authenticate() following parameters:
20130611.21:24:49 UTC : QBWebConnector.RegistryManager.setCurrentWebServiceName() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\CurrentWebServiceName has been set to HunterInvoices
20130611.21:24:49 UTC : QBWebConnector.RegistryManager.setCurrentWebServiceSessionTicket() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\CurrentWebServiceSessionTicket has been set to ddd359af-cc10-4002-a678-4f350567cdf2
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.CheckCFNResponse() : User authenticated.
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.do_authenticate() : Done.
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.OpenConnection() : Connecting to QuickBooks...
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.handleAllOtherError() : QBWC1013: Error connecting to QuickBooks. Returning error message to application.
Unexpected error. Check the "qbsdklog.txt" file for possible additional information.
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.do_connectionError() : * Calling connectionError() with following parameters:
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.do_connectionError() : Received from connectionError() following parameters:
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.OpenConnection() : Error connecting to QuickBooks. Application sent back DONE. Job ending.
20130611.21:24:49 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to False
20130611.21:24:49 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ********** Update session unlocked **********
20130611.21:24:49 UTC : QBWebConnector.WebServiceManager.DoUpdateSelected() : Update completed with errors. See log (QWClog.txt) for details.
And here are the contents of qbsdklog.txt
20130611.173436 I 4244 RequestProcessor ========= Started Connection =========
20130611.173436 I 4244 RequestProcessor Request Processor, QBXMLRP2 v12.0
20130611.173436 I 4244 RequestProcessor Connection opened by app named 'HunterInvoices'
20130611.173436 I 4244 CertVerifier The Authenticode signature validated OK.
20130611.173436 I 4244 RequestProcessor OS: Microsoft Windows Vista Home Basic Edition Service Pack 1 (build 6001), 32-bit
20130611.173436 I 4244 RequestProcessor Current User is in AdminGroup
20130611.173436 I 4244 RequestProcessor Current Process Integrity Level : 2000
20130611.173436 I 4244 RequestProcessor Getting the IUnknown COM instance of QB
20130611.173436 I 4244 RequestProcessor Opening the file in the DoNotCare mode.
20130611.173436 E 4244 RequestProcessor Process Request error = 80042505, QBXML components have not been installed.
20130611.173436 E 4244 RequestProcessor Process Request error = 80042505, QBXML components have not been installed.
20130611.173436 E 4244 RequestProcessor Process Request error = 80042505, QBXML components have not been installed.
20130611.173436 E 4244 RequestProcessor Process Request error = 80042505, QBXML components have not been installed.
20130611.173436 E 4244 RequestProcessor Unable to process Host Query request.
20130611.173436 I 4244 RequestProcessor Connection closed by app named 'HunterInvoices'
20130611.173436 I 4244 RequestProcessor ========== Ended Connection ==========
We've already tried renaming the .TLG file and that didn't help. I've seen some suggest that this error is ultimately due to a corrupted file in QB itself, and the only resolution is the uninstall/reinstall QuickBooks. Is this the only way to resolve this issue?
Before you try anything, try running the QuickBooks updates, and then rebooting the computer.
If that fails, re-install QuickBooks, as it's likely a corrupt installation of QuickBooks.

Resources