내용으로 건너뛰기

Unable to Create IoT Rule with HTTPS Endpoint Containing _ or -

0

We're encountering an issue when attempting to create an AWS IoT Rule with an HTTPS action endpoint. If the URL contains an underscore (_) or a hyphen (-), the validation fails with the error:

The HTTPS endpoint must be a valid URL.

Endpoint Used: https://mangoe.duckdns.org/api/device_mgmt_service/devices/centralizeErrorLogs

Error Message: The HTTPS endpoint must be a valid URL.

Expected Behavior: URLs with underscores or hyphens (like /device_mgmt_service/) were previously accepted and used successfully.

Current Behavior: Creation fails with validation error, even though the URL is valid and accessible.

질문됨 일 년 전148회 조회

1개 답변
0
수락된 답변

We're encountering an issue when attempting to create an AWS IoT Rule with an HTTPS action endpoint. If the URL contains an underscore (_) or a hyphen (-), the validation fails with the error: The HTTPS endpoint must be a valid URL. Expected Behavior: URLs with underscores or hyphens (like /device_mgmt_service/) were previously accepted and used successfully. Current Behavior: Creation fails with validation error, even though the URL is valid and accessible.

Replicated the issue and were able to create AWS IoT Rule with an HTTPS action endpoint via below CLI as well as on Console.

aws iot create-topic-rule-destination --destination-configuration httpUrlConfiguration={confirmationUrl=https://mangoe.duckdns.org/api/device_mgmt_service/devices/centralizeErrorLogs}

  1. [https://docs.aws.amazon.com/cli/latest/reference/iot/create-topic-rule-destination.html]
  2. [https://docs.aws.amazon.com/cli/latest/reference/iot/create-topic-rule.html]
  3. [https://docs.aws.amazon.com/iot/latest/developerguide/rule-destination-http-managing.html]

Also, the investigation was carried out in cooperation with the department in charge of the service, the cause of this incident was identified, and corrections were made to the UI and the bug has been fixed. So, I kindly request you to try on your end and if you still face the issue, please raise the Support case with AWS.

AWS

답변함 일 년 전

전문가

검토됨 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.