silverlight - Catastrophic error during OOB update using CheckAndDownloadUpdateAsync() -


i'm in dead end error, may experienced similar , knows how resolve?

the problem when calling checkanddownloadupdateasync() request server sent , server returns either 304 or 200 http code. in case of 200 silverlight runtime performs update of application. doesn't happen me. strange thing works on mac, not on windows.

request

get https://somedomain.com/some.xap http/1.1 if-modified-since: mon, 01 jun 2015 15:13:18 gmt user-agent: silverlight host: somedomain.com 

response

http/1.1 200 ok content-type: application/octet-stream last-modified: tue, 14 jul 2015 13:02:36 gmt x-request-id: v-5daa5e84-2a36-11e5-bbce-22000ac00b9d x-ah-environment: preprod x-cache-hits: 2 x-age: 1989 expires: tue, 14 jul 2015 15:14:18 gmt cache-control: max-age=0, no-cache, no-store pragma: no-cache date: tue, 14 jul 2015 15:14:18 gmt transfer-encoding: chunked connection: keep-alive connection: transfer-encoding x-akamai-staging: essl 

sl runtime gets valid 200 ok response, throws catastrophic error message instead of updating app. domain works though:

request

get https://somedomain.com/some.xap http/1.1 if-modified-since: sat, 01 jan 2000 00:00:00 gmt user-agent: silverlight host: somedomain.com 

response

http/1.1 200 ok content-type: application/x-silverlight-app last-modified: tue, 14 jul 2015 10:07:05 gmt accept-ranges: bytes etag: "ee4445d61cbed01:0" server: microsoft-iis/7.0 x-powered-by: asp.net x-frame-options: sameorigin date: tue, 14 jul 2015 10:09:04 gmt content-length: 3993496 

i have tried changing content type application/octet-stream , application/x-silverlight-app on problematic server - nothing. error same. xap signed, and, said, works on mac, not on windows.

please, let me know thoughts.

thank you.

the issue in

transfer-encoding: chunked 

it messing whole silverlight update experience. body of .xap returned in chunks , silverlight runtime doesn't it. making server return normal/non-chunked response content length header set solved issue.

cheers.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -