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

Connection reset by peer while Registering users and constructing social graphs #230

Open
Avimita-amc8313 opened this issue Sep 16, 2022 · 1 comment

Comments

@Avimita-amc8313
Copy link

I am working on the Social Network Microservices. But everytime I run: sudo python3 ./scripts/init_social_graph.py --graph=socfb-Reed98 I get this error:

Traceback (most recent call last):
File "/home/ubuntu/DeathStarBench/socialNetwork/./scripts/init_social_graph.py", line 155, in
loop.run_until_complete(future)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/home/ubuntu/DeathStarBench/socialNetwork/./scripts/init_social_graph.py", line 85, in register
_ = await asyncio.gather(*tasks)
File "/home/ubuntu/DeathStarBench/socialNetwork/./scripts/init_social_graph.py", line 19, in upload_register
async with session.post(addr + '/wrk2-api/user/register', data=payload) as resp:
File "/usr/local/lib/python3.10/dist-packages/aiohttp/client.py", line 1138, in aenter
self._resp = await self._coro
File "/usr/local/lib/python3.10/dist-packages/aiohttp/client.py", line 559, in _request
await resp.start(conn)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/client_reqrep.py", line 898, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "/usr/local/lib/python3.10/dist-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ClientOSError: [Errno 104] Connection reset by peer

I am on a m5.4xLarge EC2 ubuntu instance.

Screen Shot 2022-09-16 at 3 40 38 PM

@przmk0
Copy link
Contributor

przmk0 commented Sep 20, 2022

can you curl Social Network main page without any issues?

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