Socket error on long running warlock service #24
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
suggestion
support
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/hazaar-warlock#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Product system started getting these errors:
Must investigate.
added ~135 label
I think this is happening when a service crashes. So then the service is never restarted because execution bombs out before it gets a chance to.
The error that caused the above was
Tried adding the following test to an existing service and ran on Windows. Triggering the 'test' event caused the error and the service shutdown gracefully as expected.
Looks like the control channel is actually getting dropped. I have a client that is saying they are getting an error stating that "An error occured while sending to the socket". Sounds like the service is losing it's control channel socket connection and there is no mechanism in place currently to reconnect because I thought this would not be an issue.
I think we need to reassess the use of sockets here and see if there is a way we can use pipes. The PHP documentation on
proc_open()
states that STDIN/STDOUT/STDERR should all be supported on Windows. Testing.created branch
24-socket-error-on-long-running-warlock-service
mentioned in merge request !7
mentioned in issue #27
added ~136 label
added ~163 label
I think I have this sorted as per #30 and #31 and resolved in
57be24de41
closed