Commit Graph
2257 Commits
Author SHA1 Message Date
Brandon Thomas 471be6b8a9 refactor IP address into common 2020-07-23 19:47:34 -04:00
Brandon Thomas aabdaac3fd no-op rate limiter 2020-07-22 13:47:38 -04:00
Brandon Thomas 50fdb15fd2 reasonable blocking rate limiter 2020-07-22 13:27:19 -04:00
Brandon Thomas 58e9f58a49 this appears to work, but something is up with the timeout 2020-07-22 13:11:06 -04:00
Brandon Thomas 312593d897 this captures everything 2020-07-22 12:35:36 -04:00
Brandon Thomas 7087320cdf wip redis rate limiting 2020-07-22 12:24:52 -04:00
Brandon Thomas 8ee0e50ea1 add a lot of new speakers 2020-07-20 03:49:47 -04:00
Brandon Thomas c504b1dd33 Add reagan and attenborough 2020-07-11 05:45:25 -04:00
Brandon Thomas a72aa93ad2 Enable arpabet extensions to extend CMUdict 2020-07-08 17:11:10 -04:00
Brandon Thomas d844592a65 update speakers to use latest melgan 2020-07-01 23:04:31 -04:00
Brandon Thomas 3efb517b77 use new melgan for speakers 2020-07-01 22:56:06 -04:00
Brandon Thomas 5ad1b1b432 set sample rate for all speakers not using default 2020-07-01 22:41:19 -04:00
Brandon Thomas ee9a0c1552 Fix pitch issues. Most models need 22050, melgan's default 2020-07-01 22:38:50 -04:00
Brandon Thomas 0877e13cb9 log url for downloading 2020-07-01 21:39:35 -04:00
Brandon Thomas aeb905357e this should finally report the correct IP 2020-07-01 06:08:06 -04:00
Brandon Thomas 6aef89c6ef debug by printing all headers 2020-07-01 05:46:04 -04:00
Brandon Thomas 9730d31a60 Handle custom forwarded IP header, but preserve native IP handling 2020-07-01 05:15:41 -04:00
Brandon Thomas c7aba90ee9 custom forwarded-for type header 2020-07-01 04:53:43 -04:00
Brandon Thomas 97fbd58bb7 testing the headers; can't find remote IP 2020-07-01 04:17:16 -04:00
Brandon Thomas 4c5d096db7 add debugging for headers: forwarded,x-forwarded-for 2020-07-01 03:43:18 -04:00
Brandon Thomas 4c1be4faef add latest production models 2020-07-01 03:39:22 -04:00
Brandon Thomas e7025d035f confirmed this is correct; no longer need to log 2020-07-01 03:38:16 -04:00
Brandon Thomas 0fda9f97c3 cleanup stale comments, add debug statement for IP 2020-07-01 03:22:57 -04:00
Brandon Thomas ae060729dc add proxy healthcheck endpoint 2020-06-30 06:51:35 -04:00
Brandon Thomas 801304adde bind 0.0.0.0 2020-06-30 06:21:36 -04:00
Brandon Thomas 7e4d5f375d add debugging to catch-all route 2020-06-30 06:10:20 -04:00
Brandon Thomas 8052f3d5a1 change model keys 2020-06-30 04:13:01 -04:00
Brandon Thomas d98a41a721 rearrange model file 2020-06-30 04:11:20 -04:00
Brandon Thomas 850401fafa add dev and prod model paths 2020-06-30 03:56:35 -04:00
Brandon Thomas b9078063b3 add gilbert gottfried configs 2020-06-30 02:40:06 -04:00
Brandon Thomas 36c1c0f007 greatly simplify model config 2020-06-30 02:21:07 -04:00
Brandon Thomas 7455e51148 populate 'forwarded' header as well 2020-06-30 00:11:42 -04:00
Brandon Thomas 4a5ec4bdba add proxy config to docker, fix IP x-forwarded-for 2020-06-29 23:56:26 -04:00
Brandon Thomas b50f84c280 always fall back to default host 2020-06-29 22:59:05 -04:00
Brandon Thomas e850941f40 Working proxy design 2020-06-29 22:54:05 -04:00
Brandon Thomas 96e900457e cleanup default routing 2020-06-29 20:12:07 -04:00
Brandon Thomas 8238977553 Copy entire body too, and remove header hack 2020-06-29 20:02:32 -04:00
Brandon Thomas b268d98b86 cleanup 2020-06-29 19:42:32 -04:00
Brandon Thomas 649623c39f more efficient header copy 2020-06-29 19:32:57 -04:00
Brandon Thomas 56f707e89b copy (most) headers 2020-06-29 19:29:16 -04:00
Brandon Thomas 48a3e831ea refactor proxying (works!) 2020-06-29 18:58:56 -04:00
Brandon Thomas c89569aa8e Proxying works! 2020-06-29 15:21:20 -04:00
Brandon Thomas cd68e43389 cleanup (still need to pass original request) 2020-06-29 14:56:22 -04:00
Brandon Thomas 663284df87 This decodes the request successfully! 2020-06-29 07:07:19 -04:00
Brandon Thomas 0e2990ee2c This compiles, but isn't logical 2020-06-29 07:03:11 -04:00
Brandon Thomas 09ed0163af WIP: Futures not working 2020-06-29 06:55:24 -04:00
Brandon Thomas aa7345be2d Proxy OPTIONS header 2020-06-29 05:09:22 -04:00
Brandon Thomas 6396b6a690 configure port 2020-06-29 04:24:54 -04:00
Brandon Thomas f6619e5fef add proxy_configs.toml (unread currently) 2020-06-29 04:06:28 -04:00
Brandon Thomas 97d9490f2f deployment for a service-based setup 2020-06-29 03:00:29 -04:00