Waffle problem on remote server

Mar 22, 2012 at 1:38 PM
Edited Mar 22, 2012 at 1:38 PM

Hi, 

I am using Waffle with Spring Security Filter. Everything is fine when I deploy my solution on my Tomcat server and I access it using http://localhost or http://MACHINE_NAME

However, when I try to access my server from a different machine on the network, a basic authenticaiton pop-up is shown for all browsers. What can be the cause of this problem?

Here is the HTTP Header Logs for a failed authentication :

GET /IzinDashBoard HTTP/1.1

Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*

Accept-Language: tr

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.1)

Accept-Encoding: gzip, deflate

Host: trz01srv091.tr.wcorp.mydomain.com:9080

Connection: Keep-Alive

 

HTTP/1.1 302 Moved Temporarily

Server: Apache-Coyote/1.1

Location: http://trz01srv091.tr.wcorp.mydomain.com:9080/IzinDashBoard/

Transfer-Encoding: chunked

Date: Wed, 21 Mar 2012 15:35:32 GMT

 

GET /IzinDashBoard/ HTTP/1.1

Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*

Accept-Language: tr

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.1)

Accept-Encoding: gzip, deflate

Host: trz01srv091.tr.wcorp.mydomain.com:9080

Connection: Keep-Alive

 

HTTP/1.1 401 Unauthorized

Server: Apache-Coyote/1.1

Set-Cookie: JSESSIONID=31A6FABA8254A629BF929311915BF164; Path=/IzinDashBoard/; HttpOnly

Connection: keep-alive

WWW-Authenticate: Negotiate

WWW-Authenticate: NTLM

WWW-Authenticate: Basic realm="BasicSecurityFilterProvider"

Transfer-Encoding: chunked

Date: Wed, 21 Mar 2012 15:35:32 GMT

 

GET /IzinDashBoard/ HTTP/1.1

Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*

Accept-Language: tr

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.1)

Accept-Encoding: gzip, deflate

Host: trz01srv091.tr.wcorp.mydomain.com:9080

Connection: Keep-Alive

Cookie: JSESSIONID=31A6FABA8254A629BF929311915BF164

Authorization: Negotiate YIIFgwYGKwYBBQUCoIIFdzCCBXOgJDAiBgkqhkiC9xIBAgIGCSqGSIb3EgECAgYKKwYBBAGCNwICCqKCBUkEggVFYIIFQQYJKoZIhvcSAQICAQBuggUwMIIFLKADAgEFoQMCAQ6iBwMFACAAAACjggRNYYIESTCCBEWgAwIBBaEYGxZUUi5XQ09SUC5DQVJSRUZPVVIuQ09NojUwM6ADAgECoSwwKhsESFRUUBsidHJ6MDFzcnYwOTEudHIud2NvcnAuY2FycmVmb3VyLmNvbaOCA+swggPnoAMCARehAwIBCaKCA9kEggPV6G9JGBSwOPjpxqqXD5gC2UBzjqGAhzHOmw58iU5r+VLGklwQA/r7uDp3b8ED5ftVQ4M2C31jGLKU5eN/NKRVDRk/HSkLK2WXKlvCCo7vDFZP1myaQe2Gi1Fno3al6aIFanLZgPqiuqmErgKCQrHSISaSMqlRrS33zV6g8SosCmJOU0bLUIXGkiPPX7BNEkNCCwyRltYvKwZJqrUgVjWSmvIdINjch1h2LUev00t5oAVUcv+8hmDGoQuN9feMtUBUAQNziEUB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fsK6e63DC9iCNgGm3k/wluaqHy01GtLPqiXnxRe7fBTqQ4Le/kJAUFbjCtuy6mH7BcH7qtjuPXcRkVxNQKXDO7YYumIQiJTWMcXgO8fdmqNxOyZiAsPIGgyTgLDA4IyIf7KAI6EKvuGtqko9ZiSx8TUmSw0xL3W0adTbWEH4zY0xSxXTYOqx4Od5C21CvKx20XXP6VwwXdbR5PwZPkD/Ja17U=

 

HTTP/1.1 401 Unauthorized

Server: Apache-Coyote/1.1

WWW-Authenticate: Negotiate oYGDMIGAoAMKAQGhCwYJKoZIgvcSAQIComwEamBoBgkqhkiG9xIBAgIDAH5ZMFegAwIBBaEDAgEepBEYDzIwMTIwMzIxMTUzNTMyWqUFAgMH2wymAwIBKakYGxZUUi5XQ09SUC5DQVJSRUZPVVIuQ09NqhIwEKADAgEBoQkwBxsFb3phbnk=

Connection: keep-alive

Transfer-Encoding: chunked

Date: Wed, 21 Mar 2012 15:35:32 GMT

 

GET /IzinDashBoard/ HTTP/1.1

Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*

Accept-Language: tr

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.1)

Accept-Encoding: gzip, deflate

Host: trz01srv091.tr.wcorp.mydomain.com:9080

Connection: Keep-Alive

Authorization: Negotiate oYIFUTCCBU2iggVJBIIFRWCCBUEGCSqGSIb3EgECAgEAboIFMDCCBSygAwIBBaEDAgEOogcDBQAgAAAAo4IETWGCBEkwggRFoAMCAQWhGBsWVFIuV0NPUlAuQ0FSUkVGT1VSLkNPTaI1MDOgAwIBAqEsMCobBEhUVFAbInRyejAxc3J2MDkxLnRyLndjb3JwLmNhcnJlZm91ci5jb22jggPrMIID56AD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NvXsSt535ECYj6KglscKa6GzT1z9yF/mXnGrPVs4K1BocJ/exCV1UY5XVXr2gXI/CYdkd9fAk7KjxX7W9sneb1QvikO2tuQNmBsUn091ct1Bz7Fzc76moJEgHrr7wrDsYXmKBgLnNBvzHq51R1TrKm/7HFyAGODMmaylssKjVlo3HDn4AmD3gdIT2gbZyi6NxozjASOb8CW/tbJ+hgFQJJzKHALvSslk63hfPLg7y0KSBxTCBwqADAgEXooG6BIG3KaGe3tibQWItiW0Y4m7GH8WtEXzh5FkW9ncNW0fMxPhLYAn7McxiRHOSWKTpbKM17SW2VIBA3PiwJNrRXwzbdufswOqANHULeqCqZ4334jEF++dGOD5ewZdPXdMlsSYWVfKdzvoyhowQXOZrpBb1bBvpOE/1Q0noT/vUGqCJHgHkCIb/zulgCndBCxOQy6UdwBcmSkhOey0uLgEUQDYOZ81zOK0uTvdNXBd/h92sceVaJSFFWr+y

Cookie: JSESSIONID=31A6FABA8254A629BF929311915BF164

 

HTTP/1.1 401 Unauthorized

Server: Apache-Coyote/1.1

WWW-Authenticate: Negotiate oXUwc6ADCgEBomwEamBoBgkqhkiG9xIBAgIDAH5ZMFegAwIBBaEDAgEepBEYDzIwMTIwMzIxMTUzNTMyWqUFAgMIGBemAwIBKakYGxZUUi5XQ09SUC5DQVJSRUZPVVIuQ09NqhIwEKADAgEBoQkwBxsFb3phbnk=

Connection: keep-alive

Transfer-Encoding: chunked

Date: Wed, 21 Mar 2012 15:35:32 GMT

 

GET /favicon.ico HTTP/1.1

Accept: */*

Accept-Encoding: gzip, deflate

User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.1)

Host: trz01srv091.tr.wcorp.mydomain.com:9080

Connection: Keep-Alive

 

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Accept-Ranges: bytes

ETag: W/"21630-1329480814000"

Last-Modified: Fri, 17 Feb 2012 12:13:34 GMT

Content-Type: image/x-icon

Content-Length: 21630

Date: Wed, 21 Mar 2012 15:35:38 GMT

Mar 22, 2012 at 2:18 PM

It looks like I opened a duplicate topic. My issue was the same as the following one :

http://waffle.codeplex.com/discussions/236554?ProjectName=waffle

Installing Tomcat as a service is the solution.