Forum Discussion
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
Hi NicoB,
I have checked the server.conf.json file. It has correct details communityURL and Access Token.
Regards,
Mahesh Revanwar
- NicoB10 years agoLithium Alumni (Retired)
judging by the error it seems to be a connectivity issue
What happens if you try with li submit-plugin --dryrun ?
Nico
- mahesh_revanwar10 years agoExpert
Hi NicoB,
I have also tried using li submit-plugin --dryrun.
It gives me the same error.
Please find bellow the responce for li submit-plugin --dryrun command.
comity-plugin1]# li submit-plugin --dryrun
[21:32:48] Loaded gulp tasks in: 235 ms
[21:32:48] Using gulpfile /home/Mahesh/Lithium-KloutSDK/comity/PluginPOC1/comity-plugin1/gulpfile.js
[21:32:48] Starting 'clean-tmp'...
[21:32:48] Starting 'clean-plugin'...
[21:32:48] Starting 'clean-plugin-zip'...
[21:32:48] Finished 'clean-tmp' after 41 ms
[21:32:48] Finished 'clean-plugin-zip' after 7.74 ms
[21:32:48] Finished 'clean-plugin' after 26 ms
[21:32:48] Starting 'clean'...
[21:32:48] Finished 'clean' after 12 μs
[21:32:48] Starting 'plugin-init'...
[21:32:49] Finished 'plugin-init' after 33 ms
[21:32:49] Starting 'plugin-res'...
[21:32:49] Starting 'plugin-web'...
[21:32:49] Finished 'plugin-res' after 69 ms
[21:32:49] Finished 'plugin-web' after 65 ms
[21:32:49] Starting 'plugin-build'...
[21:32:49] Finished 'plugin-build' after 36 μs
[21:32:49] Starting 'plugin-verify'...
[21:32:49] Tested 0 tests, 0 passes, 0 failures: PASS
[21:32:49] Tested 12 tests, 12 passes, 0 failures: PASS
[21:32:49] Tested 13 tests, 13 passes, 0 failures: PASS
[21:32:49] Finished 'plugin-verify' after 202 ms
[21:32:49] Starting 'plugin-ready'...
[21:32:49] Done compiling plugin: /home/Mahesh/Lithium-KloutSDK/comity/PluginPOC1/comity-plugin1/plugin
[21:32:49] Finished 'plugin-ready' after 917 μs
[21:32:49] Starting 'plugin-upload'...
? Would you like to upload plugin to server? Yes
[21:32:52] Uploading pluginevents.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)server.conf.json file for your reference :
{
"serverUrl": "http://{community-name}.lithium.com/",
"pluginToken": "{token-value}",
"pluginUploadProtocol": "https",
"allowStudioOverrides": true,
"strictMode": false,
"dryRun": true
}- mahesh_revanwar10 years agoExpert
Related Content
- 8 years ago
- 5 years ago
- 6 years ago