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

[FTP Connector]Cannot read the file content when docker configuration is used #744

Open
isuruuy429 opened this issue Dec 19, 2019 · 0 comments

Comments

@isuruuy429
Copy link
Contributor

isuruuy429 commented Dec 19, 2019

Description:
The same implementation which can be read file content by running the jar file cannot be read once the docker configuration is used.

Steps to Reproduce

  1. Set Docker credentials as environment variables.
  2. Create the GET resource as in the attached file.
  3. Make sure it has been uploaded account.json file in /home/in/ directory in the remote FTP server.
  4. Include FTP server credentials in ballerina.conf file.
  5. Build the module and start the service in the docker.
  6. Invoke the service as below.

curl http://localhost:9090/company/readFile/account.json

Expected: File content should be retrieved.
Actual: Getting the following error.

{"Message":"Error occured in retrieving content", "Reason":"org.wso2.ei.b7a.ftp.core.util.BallerinaFTPException"}

Affected Product Version:
Ballerina Integrator 7.0.1
Ballerina: 1.0.2

readContent.bal.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant