The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Forums
Ask questions and gain insight from discussions

External command not working after deployment


Amina LAARIM

Recommended Posts

Hello,

I am using azcopy command to get files from Azure to my local repository, this is the request:

azcopy.exe copy https://dat831000sta002.blob.core.windows.net/{azure_workspace_id}sv=2019-07-07&sr=c&sig=2F25kWsUpe4U%2FS6pTxOGrbwi1EkfFkdvHGgxHCkEIN0%3D&se=2021-04-28T14%3A20%3A17Z&sp=rl D:EAIworkspacetibcotempfrancerhazure --recursive --include-pattern *tibco*.csv --include-after 2021-04-26T16:20:17.396+02:00

It's working fine when I am testing on the server but not after deployong it with Tibco Administrator and this is the error returned:

2021/04/28 09:35:14 ==> REQUEST/RESPONSE (Try=1/2.2411262s, OpTime=2.2411262s) -- REQUEST ERROR

HEAD https://dat831000sta002.blob.core.windows.net/90023333se=2021-04-29t09%...

User-Agent: [AzCopy/10.9.0 Azure-Storage/0.13 (go1.15; Windows_NT)]

X-Ms-Client-Request-Id: [988744d1-02bb-4355-5ea1-bf16a2bdb278]

X-Ms-Version: [2019-12-12]

--------------------------------------------------------------------------------

ERROR:

-> github.com/Azure/azure-pipeline-go/pipeline.NewError, /home/vsts/go/pkg/mod/github.com/!azure/azure-pipeline-go@v0.2.3/pipeline/error.go:157

HTTP request failed

Head "https://dat831000sta002.blob.core.windows.net/90023333se=2021-04-29T09%...": unexpected EOF

Do you have any idea about the reason behind this problem

Thank you!

Amina.

Link to comment
Share on other sites

Hi Amina

 

I'm not an expert on azcopy and it's hard to tell without seeing the code. A couple of suggestions, though:

 

If you try this at design time using BW/Designer, does the formatted request in the external command look exactly the same as what you tested on the server or are there additional characters, escaped characters etc. Have you tried the "Remove Parameter Quotes" option described at https://docs.tibco.com/pub/activematrix_businessworks/5.14.0/doc/html/wwhelp/wwhimpl/js/html/wwhelp.htm

When you deploy the component using TIBCO Administrator, what user is it running under Is this the same as the user you've tested it with on the server

 

Thanks

 

Richard

Link to comment
Share on other sites

Hi Richard,

Thank you for your return.

Yes the command is exacttally the same when I tested it using designer and after deployment with Tibco administrator, the diffrence is in the user because when I am testing in the designer I am running it with my user but Tibco admin is running using another user, both users are admin on the machine.

I don't know if it's problem of permission and even so I don't understand why I am getting this error:

Head "https://dat831000sta002.blob.core.windows.net/90023333se=2021-04-30T07%...": unexpected EOF

Thank you.

Amina

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...