-
Notifications
You must be signed in to change notification settings - Fork 56
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 loading Publisher Settings in Superdesk #1100
Comments
Hey @alejandrogj |
Yes, I installed superdesk using the installing script (https://raw.githubusercontent.com/superdesk/fireq/files/superdesk/install) |
@takeit - any idea here? |
@petrjasek @takeit I'm facing the same issue here, any idea? @alejandrogj did you find anything to solve this? |
@mabastaraz not yet :( |
Try assigning a hostname to the servers and then use the hostname instead of IP. I had issues caused because of that. Also, did you have any trouble getting the Publisher tab to come up in Superdesk? If so, what guide did you use? I cannot seem to get it to show up... UPDATE: Disregard above. Now I am at the same spot where you are at with the infinite loading. |
@NicholasIanni Even assigning a hostname to the servers and then use the hostname instead of IP won't solve the problem of the loading screen. I think it's all related to the configuration of superdesk.config.js inside /opt/superdesk/client, idk maybe I'm wrong! |
@mabastaraz Yeah I realized that :/. Honestly more documentation on the config file would be nice. Out of curiosity did you use the updated script that was posted in the repo's issue area to install? |
@NicholasIanni Yes, indeed. I installed both fresh Superdesk and Publisher today. |
Actually after quickly viewing my side of the console something is trying to access "example.com". There is also an issue reaching whatever is running on port 5100 so I'll also look into that if I have time tonight. I think I'm going to post a working virtual machine image for publisher and Superdesk once I get them working so people don't have to go through this process for demos and stuff. |
So after reading the article you provided and looking into how things are communicating, it seems the issue definitely is surrounding WebSocket. I'm guessing there is a config problem with either the wsProtocol, wsDomain, wsPath, wsPort, or base variable. It seems that even though 8080 is defined as the port, communication is trying to be made over port 5100. I also some reference to api/v2 but I can't seem to find the was or api/v2 directory. I was hoping to deploy SD and Publisher by end of this week but something tells me we are going to have to do some digging here unless an actual dev can lead us in the right direction...Hope this info is of use. I will keep digging in the meantime. |
guys - what do You have set as value in |
/var/www/publisher/.env.local |
and you did |
@ahilles107 superdesk auth request : ws://localhost:5100/ |
You should have more in network tab - keep it open and refresh page. There must be some filed request to publisher. |
@mabastaraz - it's problem with your publisher instance. http://publisher.kurdishtimes.net/ returns 500 error. Check publisher error log and fix issue ;) |
and in cors allow origin env provide that publisher ip address - as you us it instead domain in your browser. |
@ahilles107 500 Internal Server Error happens after I run |
This not reason but symptoms. Check publisher/php logs to see what's wrong and fix it ;) |
@ahilles107 |
Removing computed env's will not help. Like i said - check logs and find out real problem. |
Where are these logs that you are referencing located? |
Publisher logs can be found at |
@ahilles107 I have checked publisher logs
Just to make sure that i have right information inside /var/www/publisher/.env.local
Also included a screenshot of .env.local.php Thanks for your help :) |
Hi!
I have linked Superdesk with Publisher but when i click "Publisher Settings" in Superdesk i get a never-ending loading screen. The console prints out this error
Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"http://192.168.0.165/api/v2/auth/superdesk/","data":{"session_id":"5eaa70bb30f3daa24f877668","token":"Basic MTI5YzQwNGItNzUwNS00YjEyLWI3MDYtMTUzMTIzODM3NGIzOg=="},"add_format":"json","headers":{"Authorization":"Basic undefined","Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8"}},"statusText":"","xhrStatus":"error"}
It seems there is something wrong whent trying to access to http://192.168.0.165/api/v2/auth/superdesk/
Publisher is installed and working in http://192.168.0.165:8000
My superdesk.config.js
and the .env.local file in Publisher
Thanks!
The text was updated successfully, but these errors were encountered: