HipChat Server: "There was an issue creating this room" Error on iOS
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
Platform Notice: Server, Data Center, and Cloud By Request - This article was written for the Atlassian server and data center platforms but may also be useful for Atlassian Cloud customers. If completing instructions in this article would help you, please contact Atlassian Support and mention it.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
プラットフォームについて: Cloud のみ - この記事は、 クラウド プラットフォームのアトラシアン製品にのみ適用されます。
問題
Users run into the There was an issue creating this room when trying to create room on the iOS client.
The error that users will see on the client looks like this:
診断
環境
- HipChat Server 2.2.x
Diagnostic Steps
- No specific error appears on the server side logs
The openssl check shows that there is an issue with the SSL certificate that is being used on the server. For example:
$ openssl s_client -showcerts -connect <fqdn>:443 -CApath /etc/ssl/ CONNECTED(00000003) depth=0 C = XXX, ST = XXX, L = XXX, O = XXX, OU = XXX, CN = XXX verify error:num=20:unable to get local issuer certificate verify return:1 depth=0 C = XXX, ST = XXX, L = XXX, O = XXX, OU = XXX, CN = XXX verify error:num=27:certificate not trusted verify return:1 depth=0 C = XXX, ST = XXX, L = XXX, O = XXX, OU = XXX, CN = XXX verify error:num=21:unable to verify the first certificate verify return:1
原因
certificate not trusted and unable to verify the first certificate error indicates that you are missing an intermediate certificate in the HipChat Server SSL certificate chain, which can also cause connectivity problems, especially on mobile clients as mentioned in the Hipchat Server SSL Installation and Troubleshooting Guide
回避策
Import the root certificate into the iOS device by referring to the steps below:
- Export the root certificate from your certificate server
- Use email send the certificate file to your iOS device
- Open the attachment from the email via email client
- iOS will prompt if need you would like to import the certificate into the device. Click Yes
- Turn on SSL trust for that certificate by going to Settings > General > About > Certificate Trust Settings
- Under Enable full trust for root certificates, turn on trust for the certificate you imported
- Verify that the process is successful by creating a room from the iOS client again