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

How can we stop the AWS service from getting connected while starting the service? #3

Open
Kartik-Rai opened this issue Feb 12, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Kartik-Rai
Copy link

Hi @kaicode,

As we are trying to start the authoring service there is an issue of AWS, trying to prevent the startup of the authoring service

2020-02-12 10:03:51.930 ERROR 9481 --- [ main] o.s.boot.SpringApplication : Application startup failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectConversionService': Invocation of init method failed; nested exception is com.amazonaws.services.s3.model.AmazonS3Exception: Object does not exist. (Service: null; Status Code: 404; Error Code: null; Request ID: null), S3 Extended Request ID: null

Is there is any way to stop connecting to AWS, or, any changes to properties file?
Attached logs to the whole issue.
authoring-services-Logs.txt

Regards
Kartik Rai (NRC India)

@kaicode kaicode self-assigned this Feb 12, 2020
@kaicode kaicode added the question Further information is requested label Feb 12, 2020
@Kartik-Rai
Copy link
Author

?

@kaicode
Copy link
Member

kaicode commented Feb 27, 2020

Hi @Kartik-Rai,

There isn't a configuration option available at this time.
We haven't had capacity to fix this but the class which loads these files should be replaced by the ResourceLoader we are using in the Classification-Service project which can be configured to use AWS S3 storage or the local disk. If you have any developer capacity within your team we would welcome a code contribution for this. I'm sorry I can't spare the resource to help further at the moment.

Kind regards,
Kai

@kaicode kaicode added enhancement New feature or request and removed question Further information is requested labels Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants