Forum Discussion
judging by the error it seems to be a connectivity issue
What happens if you try with li submit-plugin --dryrun ?
Nico
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 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)
server.conf.json file for your reference :
{
"serverUrl": "http://{community-name}.lithium.com/",
"pluginToken": "{token-value}",
"pluginUploadProtocol": "https",
"allowStudioOverrides": true,
"strictMode": false,
"dryRun": true
}
Related Content
- 8 years ago
- 5 years ago
- 6 years ago