[ZBX-20411] Don't work Web scenarios if URL redirects to *.РФ domain (Russian Domain) Created: 2022 Jan 07  Updated: 2022 Jan 08  Resolved: 2022 Jan 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 5.4.9
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Dmitry Pavlenko Assignee: Zabbix Support Team
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Virtual Machine;
Debian 10 with last updates;

  1. uname -a
    Linux debian10etalon 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux

Attachments: PNG File ksnip_20220107-010720.png     PNG File ksnip_20220107-010758.png     PNG File ksnip_20220107-010824.png     File simplescreenrecorder-2022-01-07_00.45.20.mkv    

 Description   

Steps to reproduce:

All this steps at short attached video.

  1. Create a host "sysadmin-to-office.ru"
  2. Navigate to Web screnarios
  3. Create web Scenario
    1. Name "Check sysadmin-to-office.ru"
    2. Add steps:
      1. Name: Check sysadmin-to-office.ru
      2. URL: http://sysadmin-to-office.ru
      3. Follow redirects - Yes
      4. Required status codes - 200
  4. Goto Monitoring - Hosts - click to out host - Latest Data
  5. We see error "Last error message of scenario "Check sysadmin-to-office.ru"." (screenshot):
    1. Click History
    2. 01/07/2022 01:01:13 AM    
      URL using bad/illegal format or missing URL: Failed to convert сисадмин-в-офис.рф to ACE; could not convert string to UTF-8  (screenshot)

 

As I understand it, the problem occurs at the stage of redirecting from sysadmin-to-office.ru to сисадмин-в-офис.рф. 

if i change url to http://сисадмин-в-офис.рф it works fine! 

 

All this steps at short attached video.

Screenshots attached too.

 



 Comments   
Comment by Alexey Pustovalov [ 2022 Jan 07 ]

could you try to check?

xn-----6kcjiwcd5alo0abk7b.xn--p1ai
Comment by Dmitry Pavlenko [ 2022 Jan 07 ]

https://xn-----6kcjiwcd5alo0abk7b.xn--p1ai/

Yes, it works fine

 

http://сисадмин-в-офис.рф 

With Russian domain it works fine too!

 

But I need to check this URL http://sysadmin-to-office.ru. -> it will redirect to https://сисадмин-в-офис.рф/

With this check, I check that the redirect is working. 

Therefore I can't use "https://xn-----6kcjiwcd5alo0abk7b.xn–p1ai/" in URL, I need to use "http://sysadmin-to-office.ru"

 

And if I use this URL (http://sysadmin-to-office.ru) I had error:

URL using bad/illegal format or missing URL: Failed to convert сисадмин-в-офис.рф to ACE; could not convert string to UTF-8.

Comment by Dmitry Pavlenko [ 2022 Jan 08 ]

I resolved it.

The problem was at the server site's side.

 

.htaccess has wrong redirect:

RewriteRule ^(.*)$ https://сисадмин-в-офис.рф/$1 [R=301,L]

 

I changed it to and the problem resolved:

RewriteRule ^(.*)$ https://xn-----6kcjiwcd5alo0abk7b.xn--p1ai/$1 [R=301,L]

Comment by Dmitry Pavlenko [ 2022 Jan 08 ]

I resolved it.

The problem was at the server site's side.

 

.htaccess has wrong redirect:

RewriteRule ^(.*)$ https://сисадмин-в-офис.рф/$1 [R=301,L]

 

I changed it to and the problem resolved:

RewriteRule ^(.*)$ https://xn-----6kcjiwcd5alo0abk7b.xn--p1ai/$1 [R=301,L]

Generated at Sat Apr 04 17:28:26 EEST 2026 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.