The cipher AES128-GCM-SHA256 is not supported for TLSv1.2.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start with the request path in APIRequest.java and the AdAccount.java call shown in the stack trace, then reproduce the v16.0 request in the reported CentOS 7.9 environment. Check how the Java SDK negotiates TLSv1.2 and the AES128-GCM-SHA256 cipher. Done means the logged API request completes without the cipher error.
Written by the indexing model from the issue text.
Description
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?
- Dominant language
- Java
- Stars
- 473
- Forks
- 344
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from facebook/facebook-java-business-sdk
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
facebook/facebook-java-business-sdk#499 · 1 comment ·
-
No methods for get or set FieldThreadsUserId in Ad or AdSetPossibly taken @arnabnandy7 claimed this 114 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
facebook/facebook-java-business-sdk#493 · 5 comments · 2 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in facebook/facebook-java-business-sdk
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
code-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
krizaka/krizaka-notifications#32 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
klikli-dev/occultism#1719 ·