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 drops after a few seconds #182

Open
agilityportal opened this issue Apr 8, 2022 · 9 comments
Open

Connection drops after a few seconds #182

agilityportal opened this issue Apr 8, 2022 · 9 comments

Comments

@agilityportal
Copy link

While creating an instance on aws ec2 instance, the installation was successful, after a few seconds, the connection drops any ideas?

@agilityportal
Copy link
Author

do we need a reverse proxy?

@edgurgel
Copy link
Owner

edgurgel commented Apr 9, 2022

Hi @agilityportal , do you know how many seconds? Have you tried tweaking ACTIVITY_TIMEOUT?

@agilityportal
Copy link
Author

Hi @edgurgel yes, we tried a few different ports and time outs, like 30 mins, 60 mins, etc. We going to try without the docker and ill report back our findings

@edgurgel
Copy link
Owner

Hmmm maybe check the client side if there is any configuration there? Poxa should respect the activity timeout once the websocket is set up.

@agilityportal
Copy link
Author

agilityportal commented Apr 11, 2022

Nothing wrong with the client we used pusher before as paid service, we also used the poxa settings and it works. we had it working but as soon as we changed the instance type the services we down we restarted it and not working. Would you be able to help us or take look at our server it will really help? @edgurgel

increase:ACTIVITY_TIMEOUT
Security: added ssl

@edgurgel
Copy link
Owner

Do you see any specific error messages on Poxa's logs when the connection drops? Or on the client side? Any error message/error code?

@agilityportal
Copy link
Author

absolutely nothing, we even got some outsource a person to check and still could get it to work. the client-side the messages are not been sent in the console it looks like the connection drops after a few seconds not sure if that is normal but I dont think its the reason. would you be able to help us? by taking a look

@edgurgel
Copy link
Owner

Hi @agilityportal, I don't have any time to look at this I'm sorry.

If you are not seeing any logs on Poxa's side and nothing Poxa's console I'm afraid no connection is getting set up properly so it seems to be a connectivity issue. I've successfully used Poxa under an ELB/ALB before and it worked fine.

@agilityportal
Copy link
Author

ok a bit more information, now we have a stable connection, what the issue looks like now is that the message are been sent are slow like a few minutes in the client app, anything to point us in the right direction? @edgurgel

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