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

websocket forbidden code 4 #7001

Closed
basickarl opened this issue Nov 26, 2018 · 3 comments
Closed

websocket forbidden code 4 #7001

basickarl opened this issue Nov 26, 2018 · 3 comments
Labels

Comments

@basickarl
Copy link

I get the error message in the console: socket.io.js:7 GET http://instanty.io/socket.io/?EIO=3&transport=polling&t=MTHEcrD 403 (Forbidden)
And the response:

{code: 4, message: "Forbidden"}
code: 4
message: "Forbidden"

Version of NodeBB on ubuntu: 1.10.1
nginx version: nginx/1.14.0
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

@pitaj
Copy link
Contributor

pitaj commented Nov 26, 2018

Make sure the url value in config.json is set exactly to the url at which you access the forum.

@basickarl
Copy link
Author

Ahh thanks, now it works!

@chiragtatva
Copy link

I am facing the same issue
but there is no config.json file in my case
which part of the config code is it backend, alloworigins(array) or frontend?
@pitaj @basickarl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants