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

flowing API policy misconfiguration? #37

Open
1 task done
moonmilk opened this issue Apr 20, 2017 · 7 comments
Open
1 task done

flowing API policy misconfiguration? #37

moonmilk opened this issue Apr 20, 2017 · 7 comments

Comments

@moonmilk
Copy link

Refused to connect to 'wss://oulipo.social//api/v1/streaming/?access_token=[]&stream=public:local' because it violates the following Content Security Policy directive: "connect-src wss://example.com 'self'".

Possibly example.com ought to say oulipo.social at that spot?


  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.
@moonmilk
Copy link
Author

@starlit-void
Copy link

@etjossem
Copy link

etjossem commented Apr 21, 2017

I saw this too.

image

Cmd-R is thusly a must to pull new toots.

@ecmendenhall
Copy link

ecmendenhall commented Apr 25, 2017

I'm looking at Rails for this, but I think this is down to a bash var in prod such as this, or an Nginx config such as this, which should say "oulipo.social".

@mouse-reeve
Copy link
Owner

fixing my apache2 config did fix that JS log but now it's 500ing. chuggin' along

@starlit-void
Copy link

starlit-void commented Apr 29, 2017

now browsing output has: application-eb0878a….js:1894 WebSocket connection to 'wss://oulipo.social//api/v1/streaming/?access_token=<TOKEN>&stream=user' failed: Error during WebSocket handshake: Unexpected response code: 500 non-stop

@mouse-reeve
Copy link
Owner

yup, hoping to work out why and fix that soon

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

5 participants