[ZBX-17796] Media types Telegram, http proxy script is incorrect. Created: 2020 May 24 Updated: 2020 Jul 02 |
|
| Status: | Confirmed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Frontend (F) |
| Affects Version/s: | 5.0.0 |
| Fix Version/s: | None |
| Type: | Problem report | Priority: | Trivial |
| Reporter: | Hshh | Assignee: | Zabbix Development Team |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
JavaScript line 25 request.SetProxy(Telegram.proxy); The original code is request.setProxy. |
| Comments |
| Comment by Andrei Gushchin (Inactive) [ 2020 May 27 ] |
|
Thank you for posting this. and code https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/libs/zbxembed/httprequest.c#382 It doesn't work for you. |
| Comment by Hshh [ 2020 May 27 ] |
|
The current code is request.setProxy, which is incorrect. |
| Comment by Sergey [ 2020 Jun 01 ] |
|
When I perform test media: Media type test failed. Sending failed: TypeError: undefined not callable (property 'setProxy' of [object Object]). Into field HTTPProxy without commas, quotes, etc. text like socks5h://user:passwd@server_dns:1080 zabbix version 5.0.1 |
| Comment by Sergey [ 2020 Jun 01 ] |
|
At telegram script method name should be request.*Set*Proxy instead request.*set*Proxy. |