Replies: 3 comments 1 reply
-
|
Is it some type of firewall issue ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Try this: lClient := TAmazonSQSClient.Create(AWS_ACCESS_KEY, AWS_SECRET_KEY, TRegionEndpoints.USEast1);And of course, for production environments, never put access key and secret key directly in code. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Config is immutable after the client is created. If you want a complex config, you should create the config and then pass it in the constructor of the client. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm getting an error when sending a AWS SQS message. The error I get is:
{
"error": {
"code": "AmazonClientException",
"message": "No RegionEndpoint or ServiceURL configured"
}
}
My code for sending the message:
PS. When I run the code from my development enviroment on a seperate VMWARE machine, the code actually works just fine and sends the messsage as expected. But when I move my executable over to my Windows server on my production enviroment, it fails with the error message mentioned above.
Any hint or help greatly appricated.
-Leif Eirik
Beta Was this translation helpful? Give feedback.
All reactions