{"action":"created","issue":{"url":"https://api.github.com/repos/KC3Kai/KC3Kai/issues/1153","repository_url":"https://api.github.com/repos/KC3Kai/KC3Kai","labels_url":"https://api.github.com/repos/KC3Kai/KC3Kai/issues/1153/labels{/name}","comments_url":"https://api.github.com/repos/KC3Kai/KC3Kai/issues/1153/comments","events_url":"https://api.github.com/repos/KC3Kai/KC3Kai/issues/1153/events","html_url":"https://github.com/KC3Kai/KC3Kai/issues/1153","id":133784965,"number":1153,"title":"A bug when request behind a proxy","user":{"login":"sinsinpub","id":160240,"avatar_url":"https://avatars.githubusercontent.com/u/160240?v=3","gravatar_id":"","url":"https://api.github.com/users/sinsinpub","html_url":"https://github.com/sinsinpub","followers_url":"https://api.github.com/users/sinsinpub/followers","following_url":"https://api.github.com/users/sinsinpub/following{/other_user}","gists_url":"https://api.github.com/users/sinsinpub/gists{/gist_id}","starred_url":"https://api.github.com/users/sinsinpub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinsinpub/subscriptions","organizations_url":"https://api.github.com/users/sinsinpub/orgs","repos_url":"https://api.github.com/users/sinsinpub/repos","events_url":"https://api.github.com/users/sinsinpub/events{/privacy}","received_events_url":"https://api.github.com/users/sinsinpub/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-15T18:21:23Z","updated_at":"2016-02-16T05:16:45Z","closed_at":"2016-02-16T01:26:50Z","body":"I have met some strange problems when I play with KC3kai v26 in specified environment:\r\n* Ships data corrupt, no any ship showed except combined fleet\r\n* Ship building face disappear no matter there is any building one or not\r\n* Equipment list empty (Strategy Room) if quick data clear is cleared (I have tried: clear quick data, reinstall extension, update Chrome, etc)\r\n\r\nToday I tried tracing it at inconvenience laptop environment and finally found some interesting stuffs:\r\n* These Exceptions thrown at extension startup, and the stack trace:\r\n![image](https://cloud.githubusercontent.com/assets/160240/13056422/2b8c38cc-d450-11e5-83e7-e9ffd1330d28.png)\r\n* Following the stack and source code, I am on to the direct reason, that a JST server date-time response header is expected but got none as I'm using ShimakazeGo. (the serverJstTime var become NaN).\r\n![image](https://cloud.githubusercontent.com/assets/160240/13056513/c82ff632-d450-11e5-94bd-b4f433080b7a.png)\r\n* These problems gone if I connect DMM directly or try another proxy impl...\r\n\r\nI've no idea about complete solution, but at least there should be a try...catch on invoking these functions (Date.prototype.shiftWeek) or no Exception thrown at all but a logging for debugging instead ...isn't it? \r\nJavascript exception, u know... :sweat_smile: "},"comment":{"url":"https://api.github.com/repos/KC3Kai/KC3Kai/issues/comments/184525354","html_url":"https://github.com/KC3Kai/KC3Kai/issues/1153#issuecomment-184525354","issue_url":"https://api.github.com/repos/KC3Kai/KC3Kai/issues/1153","id":184525354,"user":{"login":"dragonjet","id":557312,"avatar_url":"https://avatars.githubusercontent.com/u/557312?v=3","gravatar_id":"","url":"https://api.github.com/users/dragonjet","html_url":"https://github.com/dragonjet","followers_url":"https://api.github.com/users/dragonjet/followers","following_url":"https://api.github.com/users/dragonjet/following{/other_user}","gists_url":"https://api.github.com/users/dragonjet/gists{/gist_id}","starred_url":"https://api.github.com/users/dragonjet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragonjet/subscriptions","organizations_url":"https://api.github.com/users/dragonjet/orgs","repos_url":"https://api.github.com/users/dragonjet/repos","events_url":"https://api.github.com/users/dragonjet/events{/privacy}","received_events_url":"https://api.github.com/users/dragonjet/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T05:16:45Z","updated_at":"2016-02-16T05:16:45Z","body":">missing date headers can happen not just in the mentioned software's environment, but also somewhere else, which kc3kai should clearly not be dependent on such a volatile variable\r\n\r\nexactly what I said\r\n\r\nbut I remember something being done about this, but I never followed the progress. In any case closing this thread is because of it being \"duplicate\" not because we're closing the doors for it. If there will be any updates regarding the date headers, let's continue on the linked threads."}}