시나리오
|
해결 방법
|
---|---|
ThingWorx Flow 연결의 유효성을 검사하려면
|
ValidateFlowSetup 서비스를 실행합니다.
|
ThingWorx Flow 서버 URL에 액세스할 수 없거나 오류 코드 502 또는 504를 반환하는 경우
|
ThingWorx Flow 설정 매개 변수 재구성에 나와 있는 단계를 완료합니다.
|
ThingWorx Flow 가상 컴퓨터에서 ThingWorx Foundation 호스트에 액세스할 수 없는 경우
|
1. <ThingWorx Flow 설치 위치>\modules\RabbitMQ\log 폴더의 RabbitMQ 로그 파일로 이동합니다.
2. 로그 파일을 열고 다음 줄을 로그 파일에서 사용할 수 있는지 확인합니다.
user 'flowuser' authenticated and granted access to vhost 'orchestration'
3. 이 줄을 사용할 수 없는 경우 다음을 수행합니다.
◦ ThingWorx Foundation 가상 컴퓨터에서 방화벽 연결을 확인합니다.
◦ 두 호스트 모두에서 RabbitMQ 포트에 액세스할 수 있는지 확인합니다.
ThingWorx Foundation 및 ThingWorx Flow 호스트가 DNS 이름 또는 호스트 이름을 사용하여 서로 연결할 수 있는지 확인합니다.
|
엔진의 흐름 실행이 갑자기 중지되는 경우
|
변경하기 전에 소프트웨어를 검토합니다.
• 운영 체제의 서비스에 대한 임시 포트를 5000에서 65535 사이로 설정합니다.
임시 포트 및 해당 범위에 대한 자세한 내용은 The Ephemeral Port Range(임시 포트 범위)를 참조하십시오.
• 소켓의 TIME_WAIT를 30초로 줄입니다.
자세한 내용은 Windows: 대기 시간 설정 또는 Linux: 대기 시간 설정을 참조하십시오.
|
ThingWorx Flow 데이터베이스 관리자의 암호를 업데이트한 경우
|
ThingWorx Flow에서 동일한 암호를 업데이트해야 합니다. 이렇게 하려면 ThingWorx Flow 데이터베이스 관리자 암호 업데이트의 단계를 완료합니다.
|
RabbitMQ 암호를 업데이트하려는 경우
|
RabbitMQ 암호화된 암호 업데이트 단계를 완료합니다.
|
ThingWorx Flow 설치 관리자를 실행한 사용자의 암호가 변경된 경우
|
ThingWorx Flow를 다시 시작해야 합니다. 이렇게 하려면 다음 단계를 완료합니다.
Windows
1. ThingWorx-Flow 서비스를 중지합니다.
2. ThingWorxFlow 설치 폴더를 마우스 오른쪽 버튼으로 클릭하고 NETWORK SERVICE 그룹에 모든 권한을 제공합니다.
3. Windows 서비스에서 ThingWorx-Flow 서비스를 마우스 오른쪽 버튼으로 클릭하고 속성을 선택합니다. 로그온 탭을 선택하고 Network Service 계정에 대해 암호를 업데이트합니다.
4. ThingWorx-Flow 서비스를 시작합니다.
5. ThingWorx-Foundation 서비스에서 동일한 사용자를 사용하는 경우 동일한 절차를 반복합니다.
Linux
1. ThingWorx-Flow 서비스를 다시 시작합니다.
2. ThingWorx-Foundation 서비스에서 동일한 사용자를 사용하는 경우 ThingWorx-Foundation 서비스를 다시 시작합니다.
|
ThingWorx Flow보다 먼저 ThingWorx Analytics를 설치하여 ThingWorx Flow를 실행할 수 없는 경우
|
이 문제는 ThingWorx Analytics와 ThingWorx Flow 모두에 대한 RabbitMQ 서비스가 동일한 기본 포트를 수신하고 있기 때문에 발생할 수 있습니다. 이 경우 기본 포트가 아닌 다른 포트를 수신하도록 ThingWorx Flow에 대한 RabbitMQ 포트를 다시 구성해야 합니다.
|
설치 후 ThingWorx Flow가 로드되지 않고 오류 코드 502가 표시됨
|
• 설치 중에 HTTP_PROXY 또는 HTTPS_PROXY를 사용하여 인터넷에 연결하는 경우 dump.pm2에 의해 이 설정이 선택되어 환경 변수에 추가됩니다.
이 경우 dump.pm2 파일과 환경 변수에서 HTTP_PROXY 및 HTTPS_PROXY 설정을 삭제합니다.
자세한 내용은 Following successful ThingWorx Flow installation, attempts to access the login page fail with "504 Gateway timeout" or "502 Bad Gateway nginx" error(ThingWorx Flow 설치에 성공한 후 로그인 페이지에 액세스하려고 하면 "504 게이트웨이 시간 초과" 또는 "502 잘못된 게이트웨이 nginx" 오류와 함께 실패함) 및 New installation of ThingWorx Flow hangs on the ThingWorx logo, F12/Developer Tools shows currentUser call returns "502: Bad Gateway" or "504: Gateway Timeout"(ThingWorx Flow의 새 설치가 ThingWorx 로고에서 중단되고 F12/개발자 도구에 currentUser 호출이 "502: 잘못된 게이트웨이" 또는 "504: 게이트웨이 시간 초과"를 반환함을 표시함)을 참조하십시오.
• Foundation과 Flow 간의 통신에 사용되는 포트가 서버 또는 방화벽 수준에서 차단되지 않았는지 확인합니다. 사용 중인 포트는 platform-settings.json, vhost-flow.conf, nginx.conf 및 배포 구성 파일에서 찾을 수 있습니다.
nginx 로그에 다음과 같은 오류 메시지가 로깅되면 443과 유사한 포트가 다른 응용 프로그램에 의해 차단되었음을 의미합니다. 이 문제는 단일 시스템에 많은 응용 프로그램을 설치하려고 할 때 발생합니다. 예: Foundation, Flow, Windchill 등.
2021/11/30 15:42:15 [emerg] 47544#47116: bind() to 0.0.0.0:443 failed (10013: 액세스 권한에 의해 금지된 방식으로 소켓에 접근을 시도했습니다.)
vhost-flow.conf 및 deployment.config 파일에 언급된 URL과 포트가 올바른지 확인합니다. (변경 전 파일 백업)
• 상업용 인증서를 사용 중이거나 인증서를 변경한 경우 Configuring SSL for ThingWorx Flow(ThingWorx Flow용 SSL 구성) 문서의 단계를 따르십시오.
|
CA에서 서명한 인증서를 구성한 후 ThingWorx Flow 로그인에 성공했지만 ThingWorx가 ThingWorx Flow에 연결할 수 없는 경우
|
Java 키 저장소(cacerts)에 CA의 루트 및 중간 인증서가 누락되었을 수 있습니다. 자세한 내용은 Configuring SSL for ThingWorx Flow(ThingWorx Flow용 SSL 구성)의 "Notes" 섹션을 참조 하십시오.
|
ThingWorx Flow가 Invalid column name "id" 오류와 함께 MSSQL 데이터베이스에 행을 생성하지 못하는 경우.
|
ThingWorx Flow는 기본적으로 MSSQL 테이블에 id 열이 기본 키로 있다고 가정합니다. id 열이 기본 키가 아닌 경우:
• id를 기본 키로 사용합니다.
또는
• id를 열 이름으로 사용하지 않습니다.
|
오류 코드
|
오류 메시지
|
---|---|
[FLOW-CONFIG-01]
|
ThingWorx Flow is not enabled. Add the OrchestrationSettings section to the platform-settings.json file to enable ThingWorx Flow.
|
[FLOW-RABBIT-01]
|
Failed to connect to RabbitMQ. Check whether the RabbitMQ service is running and is accessible.
|
[FLOW-API-01]
|
Failed to connect to ThingWorx Flow. Check ThingWorx logs for more detail.
|
[FLOW-API-02]
|
Failed to connect to ThingWorx Flow. Ensure that you are accessing an Nginx-hosted ThingWorx instance. ThingWorx Flow is not supported on a Tomcat-hosted ThingWorx. Ensure that all ThingWorx Flow services are running and are healthy. In case of self-signed certificate, make sure that correct CN is provided.
|
[FLOW-KEY-01]
|
OAuth admin key not found in the ThingWorx KeyStore.
|
[FLOW-KEY-02]
|
Exchange admin key not found in the ThingWorx KeyStore.
|
[FLOW-KEY-03]
|
Failed to get ThingWorx Flow keys from the ThingWorx KeyStore.
|
[FLOW-KEY-04]
|
Failed to get ThingWorx Flow keys from the ThingWorx KeyStore.
|
[FLOW-EXCHANGE-01]
|
Failed to connect to ThingWorx Flow exchange service. Check ThingWorx logs for more details.
|
[FLOW-EXCHANGE-02]
|
Failed to connect to ThingWorx Flow exchange service. Check whether ThingWorx Flow exchange service is up and running.
|
[FLOW-OAUTH-01]
|
Failed to connect to ThingWorx Flow OAuth service. Check ThingWorx logs for more details.
|
[FLOW-OAUTH-02]
|
Failed to connect to ThingWorx Flow OAuth service. Check whether ThingWorx Flow OAuth service is up and running.
|