IRC logs of #tryton for Monday, 2018-10-15

chat.freenode.net #tryton log beginning Mon Oct 15 00:00:01 CEST 2018
-!- lukio(~lukio@host249.190-136-122.telecom.net.ar) has joined #tryton23:23
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:34
-!- thaneor1(~lenovo3@r186-48-40-252.dialup.adsl.anteldata.net.uy) has joined #tryton00:07
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton02:01
-!- yangoon1(~mathiasb@i59F52E4B.versanet.de) has joined #tryton02:39
-!- udono(~udono@091-137-067-156.ip-addr.inexio.net) has joined #tryton03:03
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton04:36
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton06:08
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:10
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton07:15
-!- rmu(~robert@cpe90-146-69-94.liwest.at) has joined #tryton07:35
-!- smorillo(bc55aedf@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.174.223) has joined #tryton07:48
-!- smorillo(bc55aedf@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.174.223) has joined #tryton07:55
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton08:44
cedkis there someone who masters nginx?09:21
pokolicedk: I'm not a master but I use it09:23
pokolicedk: which issue do you have?09:23
-!- smorillo(bc55aedf@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.174.223) has joined #tryton09:23
cedkpokoli: when I set to use uwsgi proxy, it drops all the caching headers from the backend09:24
cedkso the Cache-Control, Etag etc. are not sent to the browser09:24
pokolicedk: sorry but I have no idea09:30
semariecedk: I asked on #gcu channel (french guys). they asks if uwsgi really sents the headers ? (tcpdump to check)09:33
semarieit seems by default ngnix doesn't change the reply09:33
cedksemarie: in http-socket mode it does09:39
cedkbut it seems it does not in wsgi socket mode09:40
cedkalso with proxy_pass, I got no cache headers09:43
cedkbut with the same setup with lighttd I got them09:44
semarieit seems nginx might not emit them if gzip is used on nginx side09:44
semariecedk: you could /join #gcu it could be more simple: I am a just a pipe here09:45
cedkit seems uwsgi is removing all headers09:53
cedkWTF09:53
-!- smorillo(bc55aedf@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.174.223) has joined #tryton10:16
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton10:25
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton10:27
-!- smorillo(bc55aedf@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.174.223) has joined #tryton10:37
cedkthe problem seems to come from uwsgi of Debian (stable and testing)10:39
cedkindeed it is from uwsgi running inside docker10:50
cedkI got finaly the solution, it is the check-static configred in uwsgi in the docker image that does not set any header11:14
cedkwhen it is served by trytond, we had the headers11:15
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton11:59
-!- vmora(~vmora@aracar.oslandia.net) has joined #tryton12:08
-!- thaneor(~lenovo3@r179-25-86-114.dialup.adsl.anteldata.net.uy) has joined #tryton12:10
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton12:59
-!- vmora25(~vmora@82.64.20.169) has joined #tryton13:03
-!- smorillo(bc55aedf@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.174.223) has joined #tryton13:29
-!- vmora(~vmora@aracar.oslandia.net) has joined #tryton15:05
semariecedk: about bug7783 (proteus: session key instead of login/passwd), the amount of specific code is reasonable (+74, -2). but I agree that Transport class isn't very flexible15:12
cedksemarie: it is still better if we can avoid more specific code15:16
cedkwhat I really dislike is that you need to make the parsing to chooise between Transport and SafeTransport15:17
cedkthis duplicate the logic from stdlib15:17
-!- Harzilein(harzi@harzilein.eu.org) has joined #tryton16:20
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton18:07
-!- rmu(~robert@cpe90-146-69-94.liwest.at) has joined #tryton18:55
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton19:25
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton19:44
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton20:01

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!