You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/05/24 10:34:01 UTC
[GitHub] [superset] modrink opened a new issue, #20169: Superset and Traefik occasionally loses authentication for multiple routes
modrink opened a new issue, #20169:
URL: https://github.com/apache/superset/issues/20169
Hello.
I have setup Traefik as a reverse proxy for Superset with Fail2Ban for failed HTTP 400 requests.
Superset runs on HTTP with `ENABLE_PROXY_FIX = True` for generating correct URLs and Traefik handles HTTPS & SSL.
All of the services are in Docker containers.
Recently I have added Traefik's basic auth for Superset because on `/login` endpoints it does not return HTTP 401 responses, only 200 and 302 (but this is a whole other bug and not related to this one), and I need a way to block malicious IP addresses.
I have noticed that while users can login and use Superset as normal (with <USER> from basic auth present), some routes are missing the authenticated user and fail, thus banning the offending IP. The most recent offending route in question is `/superset/log`, but sometimes it occurs on `/api/` and `/static/` endpoints too (although it might just be session/cookie related).
I have attached the following logs:
```
Lines containing failures of 1.2.3.4 (max 1000)
1.2.3.4 - username [24/May/2022:09:01:08 +0000] "GET /api/v1/me/ HTTP/2.0" 200 173 "-" "-" 22935 "superset-https@docker" "http://172.123.0.3:8088/" 13ms
1.2.3.4 - - [24/May/2022:09:01:08 +0000] "POST /superset/log/?explode=events&dashboard_id=12 HTTP/2.0" 401 17 "-" "-" 22936 "superset-https@docker" "-" 0ms
1.2.3.4 - - [24/May/2022:09:01:08 +0000] "POST /superset/log/?explode=events&dashboard_id=12 HTTP/2.0" 401 17 "-" "-" 22937 "superset-https@docker" "-" 0ms
1.2.3.4 - - [24/May/2022:09:03:07 +0000] "POST /superset/log/?explode=events&dashboard_id=12 HTTP/2.0" 401 17 "-" "-" 22945 "superset-https@docker" "-" 0ms
1.2.3.4 - - [24/May/2022:09:03:07 +0000] "POST /superset/log/?explode=events&dashboard_id=12 HTTP/2.0" 401 17 "-" "-" 22946 "superset-https@docker" "-" 0ms
1.2.3.4 - username [24/May/2022:09:03:06 +0000] "POST /api/v1/chart/data HTTP/2.0" 200 2812 "-" "-" 22942 "superset-https@docker" "http://172.123.0.3:8088/" 6966ms
1.2.3.4 - username [24/May/2022:09:03:06 +0000] "POST /api/v1/chart/data HTTP/2.0" 200 763 "-" "-" 22944 "superset-https@docker" "http://172.123.0.3:8088/" 7395ms
1.2.3.4 - username [24/May/2022:09:03:06 +0000] "POST /api/v1/chart/data HTTP/2.0" 200 640 "-" "-" 22941 "superset-https@docker" "http://172.123.0.3:8088/" 7436ms
1.2.3.4 - username [24/May/2022:09:03:06 +0000] "POST /api/v1/chart/data HTTP/2.0" 200 2134 "-" "-" 22943 "superset-https@docker" "http://172.123.0.3:8088/" 7874ms
1.2.3.4 - username [24/May/2022:09:03:06 +0000] "POST /api/v1/chart/data HTTP/2.0" 200 1133 "-" "-" 22940 "superset-https@docker" "http://172.123.0.3:8088/" 8470ms
1.2.3.4 - username [24/May/2022:09:03:06 +0000] "POST /superset/explore_json/?form_data=%7B%22slice_id%22%3A104%7D&dashboard_id=12 HTTP/2.0" 200 2401 "-" "-" 22939 "superset-https@docker" "http://172.123.0.3:8088/" 11380ms
1.2.3.4 - - [24/May/2022:09:03:19 +0000] "POST /superset/log/?explode=events&dashboard_id=12 HTTP/2.0" 401 17 "-" "-" 22947 "superset-https@docker" "-" 0ms
1.2.3.4 - - [24/May/2022:09:03:19 +0000] "POST /superset/log/?explode=events&dashboard_id=12 HTTP/2.0" 401 17 "-" "-" 22948 "superset-https@docker" "-" 0ms
```
```
Lines containing failures of 2.3.4.5 (max 1000)
2.3.4.5 - username [23/May/2022:06:09:47 +0000] "GET /login/?next=https%3A%2F%[2Fsuperset.domain.com](http://2fsuperset.domain.com/)%2Fchart%2Flist%2F%3FpageIndex%3D0%26sortColumn%3Dchanged_on_delta_humanized%26sortOrder%3Ddesc%26viewMode%3Dtable HTTP/2.0" 200 25179 "-" "-" 20017 "superset-https@docker" "http://172.123.0.3:8088/" 56ms
2.3.4.5 - username [23/May/2022:06:09:53 +0000] "POST /login/?next=https%3A%2F%[2Fsuperset.domain.com](http://2fsuperset.domain.com/)%2Fchart%2Flist%2F%3FpageIndex%3D0%26sortColumn%3Dchanged_on_delta_humanized%26sortOrder%3Ddesc%26viewMode%3Dtable HTTP/2.0" 302 475 "-" "-" 20018 "superset-https@docker" "http://172.123.0.3:8088/" 108ms
2.3.4.5 - username [23/May/2022:06:09:53 +0000] "GET /chart/list/?pageIndex=0&sortColumn=changed_on_delta_humanized&sortOrder=desc&viewMode=table HTTP/2.0" 200 27270 "-" "-" 20019 "superset-https@docker" "http://172.123.0.3:8088/" 154ms
2.3.4.5 - - [23/May/2022:06:09:54 +0000] "GET /api/v1/chart/_info?q=(keys:!(permissions)) HTTP/2.0" 401 17 "-" "-" 20020 "superset-https@docker" "-" 0ms
2.3.4.5 - - [23/May/2022:06:09:54 +0000] "GET /api/v1/chart/?q=(order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:25) HTTP/2.0" 401 17 "-" "-" 20021 "superset-https@docker" "-" 0ms
2.3.4.5 - username [23/May/2022:06:09:54 +0000] "GET /api/v1/chart/_info?q=(keys:!(permissions)) HTTP/2.0" 200 54 "-" "-" 20022 "superset-https@docker" "http://172.123.0.3:8088/" 63ms
2.3.4.5 - username [23/May/2022:06:09:54 +0000] "GET /api/v1/chart/?q=(order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:25) HTTP/2.0" 200 6886 "-" "-" 20023 "superset-https@docker" "http://172.123.0.3:8088/" 137ms
2.3.4.5 - username [23/May/2022:06:34:59 +0000] "GET /chart/list/?pageIndex=0&sortColumn=changed_on_delta_humanized&sortOrder=desc&viewMode=table HTTP/2.0" 200 27268 "-" "-" 20077 "superset-https@docker" "http://172.123.0.3:8088/" 153ms
2.3.4.5 - username [23/May/2022:06:35:00 +0000] "GET /api/v1/chart/_info?q=(keys:!(permissions)) HTTP/2.0" 200 54 "-" "-" 20078 "superset-https@docker" "http://172.123.0.3:8088/" 72ms
2.3.4.5 - username [23/May/2022:06:35:00 +0000] "GET /api/v1/chart/?q=(order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:25) HTTP/2.0" 200 6886 "-" "-" 20079 "superset-https@docker" "http://172.123.0.3:8088/" 151ms
2.3.4.5 - username [23/May/2022:06:35:00 +0000] "GET /api/v1/chart/favorite_status/?q=!(120,119,118,102,46,91,117,116,55,83,17,115,114,113,112,111,110,109,108,107,106,104,105,49,90) HTTP/2.0" 200 115 "-" "-" 20080 "superset-https@docker" "http://172.123.0.3:8088/" 50ms
2.3.4.5 - - [23/May/2022:06:35:06 +0000] "GET /superset/explore/?form_data=%7B%22slice_id%22%3A%20120%7D HTTP/2.0" 401 17 "-" "-" 20081 "superset-https@docker" "-" 0ms
2.3.4.5 - username [23/May/2022:06:35:06 +0000] "GET /superset/explore/?form_data=%7B%22slice_id%22%3A%20120%7D HTTP/2.0" 200 30429 "-" "-" 20082 "superset-https@docker" "http://172.123.0.3:8088/" 186ms
2.3.4.5 - - [23/May/2022:06:35:07 +0000] "GET /api/v1/report/?q=(filters:!((col:chart_id,opr:eq,value:120),(col:creation_method,opr:eq,value:charts),(col:created_by,opr:rel_o_m,value:2))) HTTP/2.0" 401 17 "-" "-" 20083 "superset-https@docker" "-" 0ms
2.3.4.5 - - [23/May/2022:06:35:07 +0000] "GET /api/v1/time_range/?q=%27DATEADD(DATETIME(%222022-05-19T00:00%3A00%22),+-30%2C%20day)%20%3A%202022-05-19T00%3A00%3A00%27 HTTP/2.0" 401 17 "-" "-" 20084 "superset-https@docker" "-" 0ms
2.3.4.5 - - [23/May/2022:06:35:07 +0000] "GET /superset/favstar/slice/120/count/ HTTP/2.0" 401 17 "-" "-" 20085 "superset-https@docker" "-" 0ms
2.3.4.5 - username [23/May/2022:06:35:07 +0000] "GET /api/v1/time_range/?q=%27DATEADD(DATETIME(%222022-05-19T00:00%3A00%22),+-30%2C%20day)%20%3A%202022-05-19T00%3A00%3A00%27 HTTP/2.0" 200 167 "-" "-" 20087 "superset-https@docker" "http://172.123.0.3:8088/" 71ms
2.3.4.5 - username [23/May/2022:06:35:07 +0000] "GET /superset/favstar/slice/120/count/ HTTP/2.0" 200 12 "-" "-" 20088 "superset-https@docker" "http://172.123.0.3:8088/" 101ms
2.3.4.5 - username [23/May/2022:06:35:07 +0000] "GET /api/v1/report/?q=(filters:!((col:chart_id,opr:eq,value:120),(col:creation_method,opr:eq,value:charts),(col:created_by,opr:rel_o_m,value:2))) HTTP/2.0" 200 449 "-" "-" 20086 "superset-https@docker" "http://172.123.0.3:8088/" 120ms
2.3.4.5 - username [23/May/2022:08:14:15 +0000] "GET /chart/list/?pageIndex=0&sortColumn=changed_on_delta_humanized&sortOrder=desc&viewMode=table HTTP/2.0" 200 27269 "-" "-" 20289 "superset-https@docker" "http://172.123.0.3:8088/" 153ms
2.3.4.5 - username [23/May/2022:08:14:16 +0000] "GET /api/v1/chart/_info?q=(keys:!(permissions)) HTTP/2.0" 200 54 "-" "-" 20291 "superset-https@docker" "http://172.123.0.3:8088/" 97ms
2.3.4.5 - username [23/May/2022:08:14:16 +0000] "GET /api/v1/chart/?q=(order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:25) HTTP/2.0" 200 6890 "-" "-" 20290 "superset-https@docker" "http://172.123.0.3:8088/" 162ms
2.3.4.5 - username [23/May/2022:08:14:17 +0000] "GET /api/v1/chart/favorite_status/?q=!(120,119,118,102,46,91,117,116,55,83,17,115,114,113,112,111,110,109,108,107,106,104,105,49,90) HTTP/2.0" 200 115 "-" "-" 20292 "superset-https@docker" "http://172.123.0.3:8088/" 39ms
2.3.4.5 - - [23/May/2022:08:14:19 +0000] "GET /api/v1/dashboard/?q=(order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:25) HTTP/2.0" 401 17 "-" "-" 20293 "superset-https@docker" "-" 0ms
2.3.4.5 - - [23/May/2022:08:14:19 +0000] "GET /api/v1/dashboard/_info?q=(keys:!(permissions)) HTTP/2.0" 401 17 "-" "-" 20294 "superset-https@docker" "-" 0ms
2.3.4.5 - username [23/May/2022:08:14:19 +0000] "GET /api/v1/dashboard/_info?q=(keys:!(permissions)) HTTP/2.0" 200 114 "-" "-" 20296 "superset-https@docker" "http://172.123.0.3:8088/" 120ms
2.3.4.5 - username [23/May/2022:08:14:19 +0000] "GET /api/v1/dashboard/?q=(order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:25) HTTP/2.0" 200 11773 "-" "-" 20295 "superset-https@docker" "http://172.123.0.3:8088/" 134ms
2.3.4.5 - username [23/May/2022:08:14:20 +0000] "GET /api/v1/dashboard/favorite_status/?q=!(7,12,11,8,3,2) HTTP/2.0" 200 153 "-" "-" 20297 "superset-https@docker" "http://172.123.0.3:8088/" 28ms
```
```
Lines containing failures of 3.4.5.6 (max 1000)
3.4.5.6 - - [22/May/2022:12:30:24 +0000] "GET /superset/welcome/ HTTP/2.0" 401 17 "-" "-" 19902 "superset-https@docker" "-" 0ms
3.4.5.6 - username [22/May/2022:12:30:24 +0000] "GET /superset/welcome/ HTTP/2.0" 200 27213 "-" "-" 19903 "superset-https@docker" "http://172.123.0.3:8088/" 183ms
3.4.5.6 - - [22/May/2022:12:30:25 +0000] "GET /static/appbuilder/css/flags/flags16.css HTTP/2.0" 401 17 "-" "-" 19904 "superset-https@docker" "-" 0ms
3.4.5.6 - - [22/May/2022:12:30:25 +0000] "GET /static/appbuilder/css/font-awesome.min.css HTTP/2.0" 401 17 "-" "-" 19905 "superset-https@docker" "-" 0ms
3.4.5.6 - - [22/May/2022:12:30:25 +0000] "GET /static/assets/theme.040143a715177735b3e5.entry.css HTTP/2.0" 401 17 "-" "-" 19906 "superset-https@docker" "-" 0ms
3.4.5.6 - - [22/May/2022:12:30:25 +0000] "GET /static/assets/spa.3c6c86bbbf9469febac5.entry.css HTTP/2.0" 401 17 "-" "-" 19908 "superset-https@docker" "-" 0ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/appbuilder/css/flags/flags16.css HTTP/2.0" 200 1460 "-" "-" 19907 "superset-https@docker" "http://172.123.0.3:8088/" 11ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/appbuilder/css/font-awesome.min.css HTTP/2.0" 200 6977 "-" "-" 19909 "superset-https@docker" "http://172.123.0.3:8088/" 15ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/spa.3c6c86bbbf9469febac5.entry.css HTTP/2.0" 200 294 "-" "-" 19911 "superset-https@docker" "http://172.123.0.3:8088/" 6ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/theme.040143a715177735b3e5.entry.css HTTP/2.0" 200 87037 "-" "-" 19910 "superset-https@docker" "http://172.123.0.3:8088/" 26ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/theme.040143a715177735b3e5.entry.js HTTP/2.0" 200 0 "-" "-" 19912 "superset-https@docker" "http://172.123.0.3:8088/" 5ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/7550.0cfaa3644756c68a9121.entry.js HTTP/2.0" 200 4655 "-" "-" 19914 "superset-https@docker" "http://172.123.0.3:8088/" 20ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/4998.93793b600cc2e5a5e93b.entry.js HTTP/2.0" 200 13740 "-" "-" 19915 "superset-https@docker" "http://172.123.0.3:8088/" 34ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/2102.845d152f4a59b751bb85.entry.js HTTP/2.0" 200 11485 "-" "-" 19917 "superset-https@docker" "http://172.123.0.3:8088/" 53ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/2717.fe5900a581737e7e1cfa.entry.js HTTP/2.0" 200 6730 "-" "-" 19920 "superset-https@docker" "http://172.123.0.3:8088/" 53ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/5473.c345f125cf92fb7436ed.entry.js HTTP/2.0" 200 8372 "-" "-" 19922 "superset-https@docker" "http://172.123.0.3:8088/" 55ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/1844.f1c22790e83b0180e1a4.entry.js HTTP/2.0" 200 4690 "-" "-" 19923 "superset-https@docker" "http://172.123.0.3:8088/" 73ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/9525.3bcd1d5086bb0c969860.entry.js HTTP/2.0" 200 16302 "-" "-" 19928 "superset-https@docker" "http://172.123.0.3:8088/" 74ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/571.1e3731725b979423f667.entry.js HTTP/2.0" 200 9877 "-" "-" 19925 "superset-https@docker" "http://172.123.0.3:8088/" 80ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/7843.58211511e4b54f5d3598.entry.js HTTP/2.0" 200 3731 "-" "-" 19931 "superset-https@docker" "http://172.123.0.3:8088/" 91ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/5755.fec58e4292a7da0f77d1.entry.js HTTP/2.0" 200 2081 "-" "-" 19927 "superset-https@docker" "http://172.123.0.3:8088/" 92ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/6962.4d0e0ac0af541ce6d03f.entry.js HTTP/2.0" 200 3432 "-" "-" 19929 "superset-https@docker" "http://172.123.0.3:8088/" 100ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/1406.c6756a193291adc5e894.entry.js HTTP/2.0" 200 2334 "-" "-" 19937 "superset-https@docker" "http://172.123.0.3:8088/" 151ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/818.9427fb97142f9bf3821c.entry.js HTTP/2.0" 200 3896 "-" "-" 19940 "superset-https@docker" "http://172.123.0.3:8088/" 151ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/9602.c27ea946496c3f072b46.entry.js HTTP/2.0" 200 0 "-" "-" 19926 "superset-https@docker" "http://172.123.0.3:8088/" 944086ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/741.e04395332558e58e3b78.entry.js HTTP/2.0" 200 0 "-" "-" 19921 "superset-https@docker" "http://172.123.0.3:8088/" 944091ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/1603.5fa4abea9dbc47127aa4.entry.js HTTP/2.0" 200 0 "-" "-" 19932 "superset-https@docker" "http://172.123.0.3:8088/" 944085ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/5806.81b62be88834ffd528a9.entry.js HTTP/2.0" 200 0 "-" "-" 19930 "superset-https@docker" "http://172.123.0.3:8088/" 944086ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/9356.570774fce6474cad1887.entry.js HTTP/2.0" 200 0 "-" "-" 19919 "superset-https@docker" "http://172.123.0.3:8088/" 944091ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/9152.884f40c0b9b172cf2223.entry.js HTTP/2.0" 200 0 "-" "-" 19938 "superset-https@docker" "http://172.123.0.3:8088/" 944082ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/7727.d290064f36ea9aa86cd3.entry.js HTTP/2.0" 200 0 "-" "-" 19935 "superset-https@docker" "http://172.123.0.3:8088/" 944085ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/3389.c83506c1499a4ef19825.entry.js HTTP/2.0" 200 0 "-" "-" 19934 "superset-https@docker" "http://172.123.0.3:8088/" 944085ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/3193.ea161c4cbba71b2e2c4a.entry.js HTTP/2.0" 200 0 "-" "-" 19936 "superset-https@docker" "http://172.123.0.3:8088/" 944082ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/3375.e3cd9acd19a60956d6f5.entry.js HTTP/2.0" 200 0 "-" "-" 19933 "superset-https@docker" "http://172.123.0.3:8088/" 944086ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/905.405c49a77e74e189192c.entry.js HTTP/2.0" 200 0 "-" "-" 19916 "superset-https@docker" "http://172.123.0.3:8088/" 944093ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/vendors.4d7859a74f678ab845fe.entry.js HTTP/2.0" 200 0 "-" "-" 19913 "superset-https@docker" "http://172.123.0.3:8088/" 944094ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/spa.3c6c86bbbf9469febac5.entry.js HTTP/2.0" 200 0 "-" "-" 19941 "superset-https@docker" "http://172.123.0.3:8088/" 944082ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/1334.68738edb2dbfd30fd357.entry.js HTTP/2.0" 200 0 "-" "-" 19918 "superset-https@docker" "http://172.123.0.3:8088/" 944092ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/6052.9d6754ca6c9fc1833e99.entry.js HTTP/2.0" 200 0 "-" "-" 19939 "superset-https@docker" "http://172.123.0.3:8088/" 944082ms
3.4.5.6 - username [22/May/2022:12:30:25 +0000] "GET /static/assets/995.4e2301996ca18a87a402.entry.js HTTP/2.0" 200 0 "-" "-" 19924 "superset-https@docker" "http://172.123.0.3:8088/" 944092ms
3.4.5.6 - username [22/May/2022:21:00:48 +0000] "GET /superset/welcome/ HTTP/2.0" 200 27212 "-" "-" 19957 "superset-https@docker" "http://172.123.0.3:8088/" 198ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/5755.fec58e4292a7da0f77d1.entry.js HTTP/2.0" 200 2081 "-" "-" 19966 "superset-https@docker" "http://172.123.0.3:8088/" 28ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/6962.4d0e0ac0af541ce6d03f.entry.js HTTP/2.0" 200 3432 "-" "-" 19964 "superset-https@docker" "http://172.123.0.3:8088/" 41ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/818.9427fb97142f9bf3821c.entry.js HTTP/2.0" 200 3896 "-" "-" 19975 "superset-https@docker" "http://172.123.0.3:8088/" 50ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/9356.570774fce6474cad1887.entry.js HTTP/2.0" 200 17666 "-" "-" 19962 "superset-https@docker" "http://172.123.0.3:8088/" 52ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/7727.d290064f36ea9aa86cd3.entry.js HTTP/2.0" 200 6706 "-" "-" 19971 "superset-https@docker" "http://172.123.0.3:8088/" 52ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/vendors.4d7859a74f678ab845fe.entry.js HTTP/2.0" 200 565601 "-" "-" 19958 "superset-https@docker" "http://172.123.0.3:8088/" 83ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/3375.e3cd9acd19a60956d6f5.entry.js HTTP/2.0" 200 6344 "-" "-" 19969 "superset-https@docker" "http://172.123.0.3:8088/" 58ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/7843.58211511e4b54f5d3598.entry.js HTTP/2.0" 200 3731 "-" "-" 19968 "superset-https@docker" "http://172.123.0.3:8088/" 66ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/3193.ea161c4cbba71b2e2c4a.entry.js HTTP/2.0" 200 17944 "-" "-" 19973 "superset-https@docker" "http://172.123.0.3:8088/" 68ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/9602.c27ea946496c3f072b46.entry.js HTTP/2.0" 200 5569 "-" "-" 19965 "superset-https@docker" "http://172.123.0.3:8088/" 69ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/741.e04395332558e58e3b78.entry.js HTTP/2.0" 200 34454 "-" "-" 19961 "superset-https@docker" "http://172.123.0.3:8088/" 73ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/1603.5fa4abea9dbc47127aa4.entry.js HTTP/2.0" 200 10525 "-" "-" 19970 "superset-https@docker" "http://172.123.0.3:8088/" 76ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/1334.68738edb2dbfd30fd357.entry.js HTTP/2.0" 200 57462 "-" "-" 19960 "superset-https@docker" "http://172.123.0.3:8088/" 77ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/995.4e2301996ca18a87a402.entry.js HTTP/2.0" 200 15040 "-" "-" 19963 "superset-https@docker" "http://172.123.0.3:8088/" 87ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/9152.884f40c0b9b172cf2223.entry.js HTTP/2.0" 200 9234 "-" "-" 19976 "superset-https@docker" "http://172.123.0.3:8088/" 93ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/1406.c6756a193291adc5e894.entry.js HTTP/2.0" 200 2334 "-" "-" 19974 "superset-https@docker" "http://172.123.0.3:8088/" 101ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/5806.81b62be88834ffd528a9.entry.js HTTP/2.0" 200 13939 "-" "-" 19967 "superset-https@docker" "http://172.123.0.3:8088/" 104ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/spa.3c6c86bbbf9469febac5.entry.js HTTP/2.0" 200 21741 "-" "-" 19978 "superset-https@docker" "http://172.123.0.3:8088/" 103ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/3389.c83506c1499a4ef19825.entry.js HTTP/2.0" 200 62627 "-" "-" 19972 "superset-https@docker" "http://172.123.0.3:8088/" 104ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/6052.9d6754ca6c9fc1833e99.entry.js HTTP/2.0" 200 18918 "-" "-" 19977 "superset-https@docker" "http://172.123.0.3:8088/" 105ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/905.405c49a77e74e189192c.entry.js HTTP/2.0" 200 127204 "-" "-" 19959 "superset-https@docker" "http://172.123.0.3:8088/" 119ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/0e2f19bbb57b5a8aff83.chunk.js HTTP/2.0" 200 546 "-" "-" 19979 "superset-https@docker" "http://172.123.0.3:8088/" 6ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/images/superset-logo-horiz.png HTTP/2.0" 200 11310 "-" "-" 19980 "superset-https@docker" "http://172.123.0.3:8088/" 6ms
3.4.5.6 - - [22/May/2022:21:00:49 +0000] "GET /static/appbuilder/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/2.0" 401 17 "-" "-" 19982 "superset-https@docker" "-" 0ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/f8a10326828318d2245e.woff2 HTTP/2.0" 200 36740 "-" "-" 19981 "superset-https@docker" "http://172.123.0.3:8088/" 6ms
3.4.5.6 - - [22/May/2022:21:00:49 +0000] "GET /superset/recent_activity/3/?limit=6 HTTP/2.0" 401 17 "-" "-" 19983 "superset-https@docker" "-" 0ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/appbuilder/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/2.0" 200 77160 "-" "-" 19984 "superset-https@docker" "http://172.123.0.3:8088/" 14ms
3.4.5.6 - - [22/May/2022:21:00:49 +0000] "GET /api/v1/dashboard/?q=(filters:!((col:owners,opr:rel_m_m,value:%273%27)),order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:5) HTTP/2.0" 401 17 "-" "-" 19985 "superset-https@docker" "-" 0ms
3.4.5.6 - - [22/May/2022:21:00:49 +0000] "GET /api/v1/chart/?q=(filters:!((col:owners,opr:rel_m_m,value:%273%27)),order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:5) HTTP/2.0" 401 17 "-" "-" 19986 "superset-https@docker" "-" 0ms
3.4.5.6 - - [22/May/2022:21:00:49 +0000] "GET /api/v1/saved_query/?q=(filters:!((col:created_by,opr:rel_o_m,value:%273%27)),order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:5) HTTP/2.0" 401 17 "-" "-" 19987 "superset-https@docker" "-" 0ms
3.4.5.6 - username [22/May/2022:21:00:49 +0000] "GET /static/assets/images/favicon.png HTTP/2.0" 200 10863 "-" "-" 19992 "superset-https@docker" "http://172.123.0.3:8088/" 26ms
```
I realize that this might not be entirely related to Superset, but I am not sure on how to approach this.
### Environment
- browser type and version: multiple (Chrome, Firefox)
- superset version: Superset 1.5.0
- python version: Python 3.8.12
- node.js version: missing?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset and Traefik occasionally loses authentication for multiple routes [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #20169:
URL: https://github.com/apache/superset/issues/20169#issuecomment-1939797875
Closing this since it's gone silent and sounds like it was essentially resolved.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] modrink commented on issue #20169: Superset and Traefik occasionally loses authentication for multiple routes
Posted by GitBox <gi...@apache.org>.
modrink commented on issue #20169:
URL: https://github.com/apache/superset/issues/20169#issuecomment-1153953410
I have temporary solved my initial problem by adding Traefik's basic auth and only checking `/` and `/login` routes via Fail2ban
```
ignoreregex = ^<HOST> \- <usrre-<mode>> \[\] \"(?:<req-method>) (?!(\/ |\/login))[^\"]+\" (-|400|401|403|404).*superset[^\"]+\"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] WI-KIWI commented on issue #20169: Superset and Traefik occasionally loses authentication for multiple routes
Posted by GitBox <gi...@apache.org>.
WI-KIWI commented on issue #20169:
URL: https://github.com/apache/superset/issues/20169#issuecomment-1293239838
> I have temporary solved my initial problem by adding Traefik's basic auth and only checking `/` and `/login` routes via Fail2ban
>
> ```
> ignoreregex = ^<HOST> \- <usrre-<mode>> \[\] \"(?:<req-method>) (?!(\/ |\/login))[^\"]+\" (-|400|401|403|404).*superset[^\"]+\"
> ```
Hi @modrink , do you also use stripPrefix for Traefik and superset? I tried to deploy superset with helm chart, but it seems the path setting in value.yaml does not work for this `/login` route.
```
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/rule-type: "PathPrefix"
traefik.ingress.kubernetes.io/router.middlewares: "sset-stripprefix@kubernetescrd"
path: /
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset and Traefik occasionally loses authentication for multiple routes [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #20169: Superset and Traefik occasionally loses authentication for multiple routes
URL: https://github.com/apache/superset/issues/20169
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org