You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you creating your AWSClient with httpClientProvider set to .createNew and when calling SES methods setting eventLoop to req.eventLoop? If so you are asking the HTTP client to run on an EventLoop from a different EventLoopGroup.
If you want to use the request event loop you need to use an HTTP client that uses the same EventLoopGroup. Luckily Vapor provides one. I believe you can get it via app.client.shared. You should then create your AWSClient as follows
Describe the bug
I want to use SES Services with Vapor 4 to send an Email with my own route.
I follow step by step the recommendation in Soto Doc to use Vapor 4.
But I got this error :
AsyncHTTPClient/HTTPClient.swift:591: Precondition failed: Provided EventLoop must be part of clients EventLoopGroup.
Some one can give me some explanations or explain how can I implement Soto SES with Vapor.
Thanks :)
The text was updated successfully, but these errors were encountered: