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

Error 400 - WebSockets for Bad Request #35

Closed
emresaracoglu opened this issue Apr 4, 2017 · 12 comments
Closed

Error 400 - WebSockets for Bad Request #35

emresaracoglu opened this issue Apr 4, 2017 · 12 comments

Comments

@emresaracoglu
Copy link

emresaracoglu commented Apr 4, 2017

Hi,

I am getting this error, what is the cause of this error?
Can you help me with this?

192.168.1.99 : Server
192.168.1.101 : OnlyOffice

vHost file for ofis.domain.com

# vhost_start ofis.domain.com
<VirtualHost 192.168.1.99:443>
 ServerName ofis.domain.com
 ServerAdmin hello@domain.com
 SSLEngine on
 SSLProxyEngine On
 SSLCertificateFile /etc/letsencrypt/live/ofis.domain.com/cert.pem
 SSLCertificateKeyFile /etc/letsencrypt/live/ofis.domain.com/privkey.pem
 SSLCertificateChainFile /etc/letsencrypt/live/ofis.domain.com/fullchain.pem
 SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
<IfModule mod_suexec.c>
    SuexecUserGroup domain domain
</IfModule>

<IfModule mod_suphp.c>
    suPHP_UserGroup domain domain
    suPHP_ConfigPath /home/domain
</IfModule>

# OnlyOffice
	RequestHeader unset Accept-Encoding
	ProxyPass / http://192.168.1.101/
	ProxyPassReverse / http://192.168.1.101/
	
ProxyPass "/websocket" "wss://192.168.1.101/websocket"
ProxyPassReverse "/websocket" "wss://192.168.1.101/websocket"

</VirtualHost>
# vhost_end ofis.domain.com

cloudhatasi

ddo-hatalar

Nextcloud 11.0.2.7 (stable) - OnlyOffice Plugin 1.0.2

Server configuration

Operating system:
CentOS 7.3
Web server:
Apache 2.4

@emresaracoglu
Copy link
Author

How can I solve this problem?
What do you think @JohnPerkin

@JohnPerkin
Copy link

Hello @emresaracoglu!
Please update ownCloud/Nextcloud ONLYOFFICE integration app to the latest version and then follow this
instruction to set logs level to 0. Then send logs at support@onlyoffice.com

@emresaracoglu
Copy link
Author

This morning I updated to latest version (1.0.2) and I retested after updating but I continue to experience the same problem.

I set logs level to 0 and I sent it to your address.
Could it be a problem with the vHost file? Because I write "http://192.168.1.101" instead of "https://ofis.domain.com", It is not a problem (This time I encounter an SSL error)

@LinneyS
Copy link
Member

LinneyS commented Oct 2, 2017

Could you please specify if the problem recurs or we can close the topic.

@emresaracoglu
Copy link
Author

OnlyOffice not working on my server, because I have my problems with Nextcloud & OnlyOffice entegration. Tomorrow morning, I will write again your answer. thank you

@alexanderonlyoffice
Copy link

@emresaracoglu, could you please send us full logs to support@onlyoffice.com.

@BigFishC
Copy link

Do you have solve this problem?

@emresaracoglu
Copy link
Author

@BigFishC Yes, I solved.

@BigFishC
Copy link

I have the same problem.
How did you solve it?

@emresaracoglu
Copy link
Author

emresaracoglu commented May 22, 2018

I can not say that the above methods work very well for me. Therefore, I started to use HAproxy (on LXC) which I think is the whole my container & VM is more performance for communication with each other, not only for OnlyOffice.

If you start using HAproxy or other proxy systems, I can help you better.. I do not even think you need your help with HAprpxy

@BigFishC
Copy link

Thank you all the same !
I think i kown my problem.

@emresaracoglu
Copy link
Author

@BigFishC 👍

informatico-madrid pushed a commit to podemos-info/onlyoffice-owncloud that referenced this issue Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants