Forum Discussion

mahesh_revanwar's avatar
10 years ago

[SDK] Lithium-Klout SDK : error while uploading plugin

Hi,

I new to Lithium-Klout SDK. I am trying to upload plugin using li submit-plugin It gives me error.

 

Bellow is the log generated in Terminal:

comity-plugin1]# li submit-plugin
[22:30:55] Loaded gulp tasks in: 229 ms
[22:30:55] Using gulpfile /home/Mahesh/Lithium-KloutSDK/comity/PluginPOC1/comity-plugin1/gulpfile.js
[22:30:55] Starting 'clean-tmp'...
[22:30:55] Starting 'clean-plugin'...
[22:30:55] Starting 'clean-plugin-zip'...
[22:30:55] Finished 'clean-tmp' after 41 ms
[22:30:55] Finished 'clean-plugin-zip' after 7.73 ms
[22:30:55] Finished 'clean-plugin' after 27 ms
[22:30:55] Starting 'clean'...
[22:30:55] Finished 'clean' after 9.94 μs
[22:30:55] Starting 'plugin-init'...
[22:30:55] Finished 'plugin-init' after 33 ms
[22:30:55] Starting 'plugin-res'...
[22:30:55] Starting 'plugin-web'...
[22:30:55] Finished 'plugin-res' after 27 ms
[22:30:55] Finished 'plugin-web' after 25 ms
[22:30:55] Starting 'plugin-build'...
[22:30:55] Finished 'plugin-build' after 13 μs
[22:30:55] Starting 'plugin-verify'...
[22:30:55] Tested 0 tests, 0 passes, 0 failures: PASS
[22:30:55] Tested 12 tests, 12 passes, 0 failures: PASS
[22:30:55] Tested 13 tests, 13 passes, 0 failures: PASS
[22:30:55] Finished 'plugin-verify' after 79 ms
[22:30:55] Starting 'plugin-ready'...
[22:30:55] Done compiling plugin: /home/Mahesh/Lithium-KloutSDK/comity/PluginPOC1/comity-plugin1/plugin
[22:30:55] Finished 'plugin-ready' after 312 μs
[22:30:55] Starting 'plugin-upload'...
? Would you like to upload plugin to server? Yes
[22:30:58] Uploading plugin

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: socket hang up
    at createHangUpError (http.js:1477:15)
    at CleartextStream.socketCloseListener (http.js:1527:23)
    at CleartextStream.emit (events.js:117:20)
    at tls.js:694:10
    at process._tickCallback (node.js:442:13)

 

 

Plesae help me on this error.

Regards,

Mahesh Revanwar

  • SuzieH's avatar
    SuzieH
    Khoros Alumni (Retired)

    Hi mahesh_revanwar

    It sounds like you're starting to get some help resolving your issues. The engineering team is also looking into this. In the future, your post will stand out more against the noise of the entire Developer Forum traffic if you post to the Current Betas board instead.  Just preface your message subject with [SDK].

     

     

  • NicoB's avatar
    NicoB
    Lithium Alumni (Retired)

    Hi mahesh_revanwar,

    I'm glad you started working with Lithium-Klout SDK

    Regarding your issue:

    - Did you generate an SDK token and pasted the token in the server.conf.json file?

    - Can you doulbe check the serverUrl setting in server.conf.json matches your community URL?

     

    Thanks,

     

    Nico