Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tooling][Feed Simulation] Exception thrown when Siddhi app is stopped while simulation is running #771

Closed
pcnfernando opened this issue Dec 9, 2019 · 3 comments · Fixed by #779

Comments

@pcnfernando
Copy link
Contributor

Description:
When you stop a Siddhi app while a feed simulation is running, below exception get printed continuously in the web console.

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
log4javascript.js:148 {"status":"INTERNAL_SERVER_ERROR","message":"Siddhi App \u0027ReceiveThroughHttp\u0027 is in faulty state."}
BrowserConsoleAppender.append @ log4javascript.js:148
simulation/feed:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
log4javascript.js:148 {"status":"INTERNAL_SERVER_ERROR","message":"Siddhi App \u0027ReceiveThroughHttp\u0027 is in faulty state."}
BrowserConsoleAppender.append @ log4javascript.js:148
Appender.doAppend @ log4javascript.js:81
Logger.callAppenders @ log4javascript.js:64
Logger.log @ log4javascript.js:64
error @ log4javascript.js:68
(anonymous) @ feed_simulator.js:2240
error @ simulator-rest-client.js:296
c @ jquery-1.9.1.min.js:3
fireWith @ jquery-1.9.1.min.js:3
k @ jquery-1.9.1.min.js:5
r @ jquery-1.9.1.min.js:5
simulation/feed:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
log4javascript.js:148 {"status":"INTERNAL_SERVER_ERROR","message":"Siddhi App \u0027ReceiveThroughHttp\u0027 is in faulty state."}

Affected Product Version:
5.1.2 RC1

@niveathika
Copy link
Member

@pcnfernando I was unable to reproduce this in the 5.1.2-rc1 pack,

  1. I save ReceiveThroughHTTP sample
  2. Added a feed simulation for the specific sample
  3. Started the siddhi app and simulation
  4. Stopped siddhi app in the middle, the feed simulation stopped correctly with the warning printed
    Screenshot from 2019-12-10 11-02-03

@pcnfernando
Copy link
Contributor Author

Missed a point, have the Siddhi app with even a single templated placeholder.

@niveathika
Copy link
Member

Seems this is only applicable when the siddhi app contains env variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants