Skip to content

fix: ssl request on mobile#1097

Merged
mehah merged 1 commit intoopentibiabr:mainfrom
matheus-bona:main
Feb 7, 2025
Merged

fix: ssl request on mobile#1097
mehah merged 1 commit intoopentibiabr:mainfrom
matheus-bona:main

Conversation

@matheus-bona
Copy link
Copy Markdown
Contributor

Description

The mobile version of OTClient failed to make SSL requests for login because the library lacked the necessary CA certificates to validate HTTPS connections. This caused the request to be denied by the Nginx server.

Behavior

Log of nginx:

[info] 92#92: *46039 client closed connection while waiting for request, client: xxxxx

Actual

status code 400 response from the nginx

Expected

status code 200

Fixes

I have added the required CA certificate, allowing the library to properly establish secure connections with the server. This fix ensures that HTTPS requests work as expected on mobile devices.

# (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • Server Version:
  • Client: 13.32
  • Operating System: Windows

Checklist

  • [X ] My code follows the style guidelines of this project
  • [X ] I have performed a self-review of my own code
  • I checked the PR checks reports
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • [X ] My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Feb 7, 2025

@mehah mehah merged commit b014a95 into opentibiabr:main Feb 7, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants