Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The cipher AES128-GCM-SHA256 is not supported for TLSv1.2. #415

Open
skyjilygao opened this issue Mar 2, 2023 · 2 comments
Open

The cipher AES128-GCM-SHA256 is not supported for TLSv1.2. #415

skyjilygao opened this issue Mar 2, 2023 · 2 comments

Comments

@skyjilygao
Copy link

skyjilygao commented Mar 2, 2023

Which SDK version are you using?

v16.0.0

What's the issue?

return msg: {"error":{"message":"The cipher AES128-GCM-SHA256 is not supported for TLSv1.2.","type":"GraphInsecureException","code":8,"fbtrace_id":"A8N-tgfyh73UaZ6B-iLuMTf"}}

Steps/Sample code to reproduce the issue

Linux env:

LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description:    CentOS Linux release 7.9.2009 (Core)
Release:        7.9.2009
Codename:       Core

request log:

2023-03-02 14:43:56.344 [pool-1-thread-4] INFO  com.pw.ad.api.facebook.FbApiSdk - Facebook API Context Stdout Log: ========Start of API Call========
2023-03-02 14:43:56.344 [pool-1-thread-4] INFO  com.pw.ad.api.facebook.FbApiSdk - Facebook API Context Stdout Log: Request:
2023-03-02 14:43:56.345 [pool-1-thread-4] INFO  com.pw.ad.api.facebook.FbApiSdk - Facebook API Context Stdout Log: GET: https://graph.facebook.com/v16.0/act_<ignore actual account_id>/advideos?limit=3&access_token=...ignore actual access token...
2023-03-02 14:43:56.523 [pool-1-thread-4] ERROR com.powerwin.center.commons.filter.DubboProviderFilter - error={"error":{"message":"The cipher AES128-GCM-SHA256 is not supported for TLSv1.2.","type":"G
raphInsecureException","code":8,"fbtrace_id":"A8N-tgfyh73UaZ6B-iLuMTf"}}
com.facebook.ads.sdk.APIException$FailedRequestException: {"error":{"message":"The cipher AES128-GCM-SHA256 is not supported for TLSv1.2.","type":"GraphInsecureException","code":8,"fbtrace_id":"A8N-tgfyh73UaZ6B-iLuMTf"}}
        at com.facebook.ads.sdk.APIRequest.readResponse(APIRequest.java:313)
        at com.facebook.ads.sdk.APIRequest.access$100(APIRequest.java:54)
        at com.facebook.ads.sdk.APIRequest$DefaultRequestExecutor.sendGet(APIRequest.java:539)
        at com.facebook.ads.sdk.APIRequest$DefaultRequestExecutor.execute(APIRequest.java:523)
        at com.facebook.ads.sdk.APIRequest.executeInternal(APIRequest.java:199)
        at com.facebook.ads.sdk.AdAccount$APIRequestGetAdVideos.execute(AdAccount.java:10471)
        at com.facebook.ads.sdk.AdAccount$APIRequestGetAdVideos.execute(AdAccount.java:10466)

Observed Results:

  • What happened? This could be a description, log output, etc.

Expected Results:

  • What did you expect to happen?
@Eisbaeeer
Copy link

Same issue with Iot device and Bearssl connection. Got 'The cipher AES128-SHA is not supported for TLSv1.2'

@stcheng
Copy link
Contributor

stcheng commented May 26, 2023

It seems that the issue is on the client side due to the JCA in the JRE. Could you check the env settings and try to update the JRE to support the cipher suites?

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

No branches or pull requests

3 participants