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

Unknown Handle Exception #656

Closed
dzygann opened this issue Jun 15, 2022 · 3 comments
Closed

Unknown Handle Exception #656

dzygann opened this issue Jun 15, 2022 · 3 comments

Comments

@dzygann
Copy link

dzygann commented Jun 15, 2022

Hi,

I did some tests with an enclaved nginx (See Repo).
I left the nginx in the idle mode and after a while (approx. 5 min) the nginx was down.

Here are the information from the terminal output:

nginx-sgx \| Gramine   is starting. Parsing TOML manifest file, this may take some time...

nginx-sgx \| [P3:T3:nginx] assert failed   ../LibOS/shim/src/sys/shim_socket.c:1448 total_bytes < peek_buffer->end   - peek_buffer->start
nginx-sgx \| [P1:shim] error: Child   process (vmid: 0x3) got disconnected
nginx-sgx \| assert failed   ../Pal/src/db_object.c:51 !UNKNOWN_HANDLE(handle_array[i])
nginx-sgx exited with code 1

Do you have an idea what the issue is?

Thanks in advance!

Denis

@boryspoplawski
Copy link
Contributor

The old networking code is buggy and was rewritten: #579. Should be merged ~soon.

@boryspoplawski
Copy link
Contributor

@dzygann #579 was merged, please try the current master

@dzygann
Copy link
Author

dzygann commented Jun 18, 2022

Hi @boryspoplawski,

I just tested it and I can't reproduce the issue.
Seems to work 👍

Thanks for your help!

@dzygann dzygann closed this as completed Jun 18, 2022
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

No branches or pull requests

2 participants