I have install sharepoint 2013 and add workflow in it. No error reported.
But everytime I create a workflow and run it on a item, it't started and then reported as cancelled with a http 500 error. 2010 workflow works fine.
No logs about this problem found, so I tried to find the problem by fiddler. I found that everytime the workflow service tries to execute a POST action, it issues a POST with nothing in bearer field, and then issues a POST with a token in bearer field. The first POST get a 401 error, and the second one get a 500 error. Then the state of the workflow is set to cancelled.
The communication is based on http, not https. I have tried to restart iis and workflow service, but it didn't works. Restart the conputer didn't work either.
Anybody could help me? Thanks very much.