cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1425
Views
0
Helpful
11
Replies

SFTP CLI Connection get closed after entering 3rdpartygadget password

Prashant Jadhav
Level 1
Level 1

Hi,

I'm new to Cisco PCCE, any help required :)

I am recently installed 3rdpartygadget for the agent recording. I followed the process given in the recording vendor for the 3rdpartygadget also.

Have uploaded the file, but now i am getting a message 404 “Resource not available” when access with the URL "http:///3rdpartygadget/files/HelloWorld.xml" for which Cisco has suggested to change the permission of the file via sftp CLI connection.

below is the method which has recommended.

To change file permissions on theFinesse server, useSFTP(CLI or client program) as shown in the following example:

$ sftp 3rdpartygadget@172.27.184.59 3rdpartygadget@172.27.184.59's password:

Connected to 172.27.184.59.

sftp> cd files sftp> ls -l

---------- 1 751 751 0 Dec 6 19:40 MyGadget.xml

sftp> chmod 644 MyGadget.xml

Changing mode on /files/MyGadget.xml

sftp> ls -l -rw-r--r-- 1 751 751 0 Dec 6 19:40 MyGadget.xml

sftp>

but when i am connected to the Finesse server via SFTP connection i am prompted for the password and when password is entered putty window is closed.

Can any one help with this issue.

1 Accepted Solution

Accepted Solutions

which document you are talking about? finesse web service developer guide?

also where did you get the above xml from?

there must be css and js file along with them.

if you look at xml file you see it refereces .js file which ia missing and thats why you are getting that error. 

you first have to get the entire gadget code and later test it on agent desktop.

aks your vendor about all details.

also check if they are referring to one of the sample gadgets available here https://developer.cisco.com/site/finesse/docs/#sample-gadgets .

View solution in original post

11 Replies 11

Chintan Gajjar
Level 8
Level 8

Where did you upload the 3rdpartygadget? on separate web server or on finesse?

Finesse Server, now need to change the permission of the those uploaded file. I have the process but when connected and entered the 3rdpartygadget credential, window get closed...

if your gadget is uploaded on finesse server, then you can access the gadget xml page by following url based on what directory you have uploaded to, so if the gadget files are uploaded directly

http://<IP of finess server>/3rdpartygadget/files/HelloWorld.xml

if above does not work try with http

http://<IP of finess server>/3rdpartygadget/files/HelloWorld.xml

so before changing file permission at-lest check above if you are able to do above, i prefer using WinSCP tool other then doing cli for SFTP and never had to edit the file permission.

and I hope you would have already reset the password for "3rdPartyGadget" account.

Hello,

I tried access the finesse server using the URL which you have said, but i am getting the error message 404 “Resource not available” 

On such error Cisco has suggested to change the file permission to 644.

I am attaching the PDF, you can refer the to page 263 "Permissions" topic.

But to change the permission, i am connecting to the finesse server, and after entering the password my login window get closed.

i am not sure what comman line you are using, but i were you i would download winscp client from here : https://winscp.net/eng/download.php

Login to the finesse using SFTP 3rdpartygadget account from winscp.

now explore to the file you want to modify the permission for, and right click on the file --> go to properties and change the octal to 0644

attaching the snap for reference.

Does octal means having the Cisco tomcat service will have permission to access the file. If yes octal is already to 0644 which you have shown in the snap shot

I am attaching the same for your reference.

Any other solution would be appreciated please.

I think the octal represents the permission, and that is what i was trying to tell you that we never required special permission to be given to the gadget files, at least thats with my prior experience.

can you please paste the URL you are using to check the gadget here.

Hello,

i am attached the output which you have asked.

URL 1: http://FINESSEPUBIP/3rdpartygadget/files/RecordingControls.xml

URL 2:http://FINESSEPUBIP/3rdpartygadget/files/FinessePlayBackGadget.xml

i see you are successfully getting the XML file, what else is the problem?

you should now be able to configure the desktop layout for agents/supervisor to see the gadget.

but from your previous comments i dont see the javascript (.js) and CSS files, where are those uploaded? ideally you upload them in the same directory as this xml files, but it can reside on remote web-server as well.

Not sure, which javascript (.js) and CSS files you are talking about, my vendor has given a document to follow the process. wherein no javascript (.js) and CSS files has been asked to upload.

Let me check with vendor for if those are required.

Also in addition in am getting the error when logged in by the agent. Snapshot also attached for your reference.

There were issues rendering this gadget.
Unable to retrieve spec for http://localhost:8082/3rdpartygadget/files/RecordingControls/RecordingControls.xml. HTTP error 404
http://localhost:8082/3rdpartygadget/files/RecordingControls/RecordingControls.xml

There were issues rendering this gadget.
Unable to retrieve spec for http://localhost:8082/3rdpartygadget/files/FinessePlayBackGadget/FinessePlayBackGadget.xml. HTTP error 404
http://localhost:8082/3rdpartygadget/files/FinessePlayBackGadget/FinessePlayBackGadget.xml

which document you are talking about? finesse web service developer guide?

also where did you get the above xml from?

there must be css and js file along with them.

if you look at xml file you see it refereces .js file which ia missing and thats why you are getting that error. 

you first have to get the entire gadget code and later test it on agent desktop.

aks your vendor about all details.

also check if they are referring to one of the sample gadgets available here https://developer.cisco.com/site/finesse/docs/#sample-gadgets .