tag:blogger.com,1999:blog-5404326412829312831.post709475391299168787..comments2023-12-02T10:42:53.339+02:00Comments on רברס עם פלטפורמה: 234 Fogcast 14 - My bug!ReversTeamhttp://www.blogger.com/profile/02366198076795118274noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-5404326412829312831.post-15763190571137191192014-11-26T15:28:44.119+02:002014-11-26T15:28:44.119+02:00Hi Avi, the bug was incorrect reuse or a response ...Hi Avi, the bug was incorrect reuse or a response object in legacy code which surprisingly worked well in the previous implementation but did not work well in the new implementation. <br />The fix is to create a new response object with each response, never reuse thoseRan Tavoryhttps://www.blogger.com/profile/08860493178316395693noreply@blogger.comtag:blogger.com,1999:blog-5404326412829312831.post-1291892123501114672014-11-24T08:22:16.188+02:002014-11-24T08:22:16.188+02:00Well...
Please tell us what was the bug :-)Well...<br /><br />Please tell us what was the bug :-)avihttps://www.blogger.com/profile/02331681113034830912noreply@blogger.comtag:blogger.com,1999:blog-5404326412829312831.post-31604218966111799592014-10-30T10:02:21.704+02:002014-10-30T10:02:21.704+02:00אה תודה משה, לא ידעתי את זה, מאוד שימושי!אה תודה משה, לא ידעתי את זה, מאוד שימושי!Ran Tavoryhttps://www.blogger.com/profile/08860493178316395693noreply@blogger.comtag:blogger.com,1999:blog-5404326412829312831.post-11737697201677614232014-10-30T09:55:20.943+02:002014-10-30T09:55:20.943+02:00שלום רן,
סיפרת על כך שלפעמים המערכת מגיעה לרצף של...שלום רן,<br /><br />סיפרת על כך שלפעמים המערכת מגיעה לרצף של שגיאות NullPointerException אבל לא מודפס stack trace.<br />הסיבה לכך נעוצה באופטימיזציה שנעשית ע"י ה-JVM כששגיאה נזרקת הרבה פעמים. השגיאה מודפסת במלואה בפעמים הראשונות ואז ה-JVM מחליט לחסוך את איסוף המידע ואת וההדפסה ומדפיס רק את העובדה שקרתה שגיאה.<br /><br />דרך אחת להתגבר על כך היא למצוא את אותן השגיאות הראשונות שהודפסו במלואן לפני שהאופטימיזציה נכנסה ולחקור אותן.<br />אפשרות אחרת היא לומר ל-JVM לא לבצע את האופטימיזציה כלל ע"י הרצת ה-JVM עם הדגל<br />XX:-OmitStackTraceInFastThrow- <br /><br />בהצלחהמשה סייגnoreply@blogger.comtag:blogger.com,1999:blog-5404326412829312831.post-63974780334783096262014-10-30T09:26:05.641+02:002014-10-30T09:26:05.641+02:00Thanks everyone for your help, I found the issue (...Thanks everyone for your help, I found the issue (my bug, surprise surprise) and fixed it. Ran Tavoryhttps://www.blogger.com/profile/08860493178316395693noreply@blogger.comtag:blogger.com,1999:blog-5404326412829312831.post-44452650642872056252014-10-27T13:48:02.808+02:002014-10-27T13:48:02.808+02:00תודה רבה! אין לך מושג כמה זמן אני מחפש בדיוק את הד...תודה רבה! אין לך מושג כמה זמן אני מחפש בדיוק את הדבר הזה...Moshe Eshelhttps://www.blogger.com/profile/13847527261114675545noreply@blogger.comtag:blogger.com,1999:blog-5404326412829312831.post-38768684976646591082014-10-27T13:36:13.011+02:002014-10-27T13:36:13.011+02:00There you go Moshe
https://github.com/buger/gorThere you go Moshe<br />https://github.com/buger/gorRan Tavoryhttps://www.blogger.com/profile/08860493178316395693noreply@blogger.comtag:blogger.com,1999:blog-5404326412829312831.post-24607159469888242572014-10-27T13:34:32.499+02:002014-10-27T13:34:32.499+02:00שלום רן,
הזכרת בפודקסט כלי (השם בהקלטה לא ברור) ש...שלום רן,<br /><br />הזכרת בפודקסט כלי (השם בהקלטה לא ברור) שנכתב בGo שמקליט/משכפל תנועת HTTP על ידי האזנה, אתה יכול לצרף URL אולי?<br />אני צריך אותו כדי לדבג בעיות שיש לי ב (הפתעה, הפתעה) Dropwizard... כל מיני שגיאות בלוג ועניינים אחרים שאני לא רואה את הבקשות עצמן בלוג (שגיאה שאמורה להחזיר 413 ואין כאלה בלוג), הפיצול המוחלט בין הלוגים (בקשות/AccessLog ואפליקציה) והעובדה שאין ממש דרך לקשר בין שגיאה פה לבקשה שם מטריפה אותי. יותר מזה, יש בהחלט מצב שחלק מהבקשות (באג אחר) בכלל לא נכתבות ללוג כי העיבוד שלהן לא מסתיים.<br /><br />תודהMoshe Eshelhttps://www.blogger.com/profile/13847527261114675545noreply@blogger.comtag:blogger.com,1999:blog-5404326412829312831.post-37896426742108792862014-10-25T21:48:21.243+03:002014-10-25T21:48:21.243+03:00Hi Dan thanks for the idea. Cookies are a good dir...Hi Dan thanks for the idea. Cookies are a good direction to check although I should note that I'm not setting any cookies at all. But perhaps something configures the server to echo the values of the cookies received and maybe sometimes even modify them. I'll check. <br />BTW I checked further on and it seems to be not related to one specific request, it's more about load or perhaps many concurrent requests (not necessarily under load) that any one specific request. Ran Tavoryhttps://www.blogger.com/profile/08860493178316395693noreply@blogger.comtag:blogger.com,1999:blog-5404326412829312831.post-52194040334355407112014-10-25T00:17:13.169+03:002014-10-25T00:17:13.169+03:00Hi Ran,
It sounds to me like the bug is in the set...Hi Ran,<br />It sounds to me like the bug is in the set-cookie header, when you try to write too big cookie you might get this exception.<br />Since many times cookies are incremental (you add data to existing data) the cause can <br />be specific users that have big cookies.<br />If you have server stickiness that can explain why it happens on one server only.<br />good luck<br />-Dan דן לויסוןhttps://www.blogger.com/profile/05192347783694893139noreply@blogger.com