irods-contrib / irods-cloud-browser

DFC Web Based cloud browser
BSD 2-Clause "Simplified" License
19 stars 13 forks source link

1.0.1.Release setup issue #170

Closed pkonka closed 8 years ago

pkonka commented 8 years ago

I am trying to setup 1.0.1.Release. Followed instructions to setup Tomcat7 and Apache2. I am getting blank screen when I tried to browse the application. I don't see any issues in apache2 or tomcat7 logs.

cloud-browser

rwmoore commented 8 years ago

I had a similar problem, solved by clearing the browser cache.

Reagan Moore

From: pkonka notifications@github.com<mailto:notifications@github.com> Reply-To: DICE-UNC/irods-cloud-browser reply@reply.github.com<mailto:reply@reply.github.com> Date: Thursday, July 7, 2016 at 1:18 PM To: DICE-UNC/irods-cloud-browser irods-cloud-browser@noreply.github.com<mailto:irods-cloud-browser@noreply.github.com> Subject: [DICE-UNC/irods-cloud-browser] 1.0.1.Release setup issue (#170)

I am trying to setup 1.0.1.Release. Followed instructions to setup Tomcat7 and Apache2. I am getting blank screen when I tried to browse the application. I don't see any issues in apache2 or tomcat7 logs.

[cloud-browser]https://cloud.githubusercontent.com/assets/3237035/16662335/1a46cc02-4445-11e6-8187-0a6d15f1f5c4.png

You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/DICE-UNC/irods-cloud-browser/issues/170, or mute the threadhttps://github.com/notifications/unsubscribe/AKDKOa9iXAVHuvdVnjQdLwgKV_9g8b_Zks5qTTTcgaJpZM4JHTki.

michael-conway commented 8 years ago

This is highly likely caused by the front end (the javascript) not being able to find the back end.

go into the front-end code (the stuff on apache web server) into irods-cloud-frontend/app/components/globals.js

var HOST = "http://"+location.hostname+":8080/irods-cloud-backend/";

Should be updated to the host/port where your back end exists. I think that's your issue.

Sorry to the world that the installs are overly convoluted, this is specifically being addressed in this next milestone.

On Thu, Jul 7, 2016 at 1:18 PM, pkonka notifications@github.com wrote:

I am trying to setup 1.0.1.Release. Followed instructions to setup Tomcat7 and Apache2. I am getting blank screen when I tried to browse the application. I don't see any issues in apache2 or tomcat7 logs.

[image: cloud-browser] https://cloud.githubusercontent.com/assets/3237035/16662335/1a46cc02-4445-11e6-8187-0a6d15f1f5c4.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DICE-UNC/irods-cloud-browser/issues/170, or mute the thread https://github.com/notifications/unsubscribe/ABC-LbS9INDKoxCXQHCdv63Y853mUNCTks5qTTTbgaJpZM4JHTki .

pkonka commented 8 years ago

I have it set as follows.
var HOST = "http://localhost:8080/irods-cloud-backend/";

image

michael-conway commented 8 years ago

Are you just testing locally? That is, is the irods-cloud-backend app running on the same box?

On Thu, Jul 7, 2016 at 1:31 PM, pkonka notifications@github.com wrote:

I have it set as follows.

var HOST = "http://localhost:8080/irods-cloud-backend/";

[image: image] https://cloud.githubusercontent.com/assets/3237035/16662739/df49875a-4446-11e6-97ae-51a804f34d40.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DICE-UNC/irods-cloud-browser/issues/170#issuecomment-231150131, or mute the thread https://github.com/notifications/unsubscribe/ABC-LTE2cgueo_1N6jbcBQ7ZWHrIhKAqks5qTTfugaJpZM4JHTki .

pkonka commented 8 years ago

Yes. Both frontend and backend are running on the same box.

michael-conway commented 8 years ago

A colleague notes that you have the tomcat url as httpS: is that the issue?

I'm on Linux, which, alas, doesn't like WebEx.

MC

On Thu, Jul 7, 2016 at 1:35 PM, pkonka notifications@github.com wrote:

Yes. Both frontend and backend are running on the same box.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DICE-UNC/irods-cloud-browser/issues/170#issuecomment-231151230, or mute the thread https://github.com/notifications/unsubscribe/ABC-LY9II3frUznhyKN_A6CxH0-V1w-Pks5qTTjUgaJpZM4JHTki .

pkonka commented 8 years ago

I tried both http and https. Same issue.

chexare commented 8 years ago

Hello pkonka,

To get a better sense of where this error is coming from, can you go to the page that shows you the error message again and with the web tools of your browser, bring up the console of the browser and get a screenshot of that please.

CG

On Thu, Jul 7, 2016 at 1:46 PM, pkonka notifications@github.com wrote:

I tried both http and https. Same issue.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DICE-UNC/irods-cloud-browser/issues/170#issuecomment-231154227, or mute the thread https://github.com/notifications/unsubscribe/ADxPeBg4uLiIFwd5CknGa9GH6zYd4PCzks5qTTtZgaJpZM4JHTki .

JustinKyleJames commented 8 years ago

Accidentally closed this. Reopening.

michael-conway commented 8 years ago

The issue here is that the front end cannot contact the back end

1) an issue with the aforementioned globals.js. 2) an issue with the cloud backend being unresponsive (did it successfully deploy? Did tomcat run? Is tomcat set to listen to 8080 versus , say ajp? 3) a browser cache issue of old javascripts.

That seems to be the universe of possibilities we can sift through!

On firefox or chrome, I would recommend using the developer tools/console to check to see what network calls are being made from the browser to the backend, and what errors or issues have arisen from those calls failing. I think it's just that the front end is not talking to the back end.

On Thu, Jul 7, 2016 at 2:13 PM, JustinKyleJames notifications@github.com wrote:

Reopened #170 https://github.com/DICE-UNC/irods-cloud-browser/issues/170 .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DICE-UNC/irods-cloud-browser/issues/170#event-716095970, or mute the thread https://github.com/notifications/unsubscribe/ABC-LaCF5doJrHoQquW19Fpx-AU6In3cks5qTUHJgaJpZM4JHTki .

pkonka commented 8 years ago

Yes. The issue seems to be frontend failing to connect to the backend. Here is the screenshot of the browser console.

image

michael-conway commented 8 years ago

ahh!

Are you downloading this content ( the front end) from an external https server and then having it go to your local tomcat? Thanks for that info, yes, it's usually just browsers unhappy about http protocols or settings...

On Thu, Jul 7, 2016 at 2:50 PM, pkonka notifications@github.com wrote:

Yes. The issue seems to be frontend failing to connect to the backend. Here is the screenshot of the browser console.

[image: image] https://cloud.githubusercontent.com/assets/3237035/16665436/a48d389a-4451-11e6-8e59-4ed738f0d7ce.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DICE-UNC/irods-cloud-browser/issues/170#issuecomment-231172176, or mute the thread https://github.com/notifications/unsubscribe/ABC-LQrI4NVf73owc3Sz1HedoJsNcVfoks5qTUp7gaJpZM4JHTki .

chexare commented 8 years ago

Ok so, first it seem like your globals.js keeps trying to call for a "HTTP" url rather than "HTTPS" check on that again, and it also seems like you are not running the latest version of the cloud browser, the new release has the version on top of the irods footer tag as you can see in the image below, make sure to download the 1.0.1-RELEASE packages from: https://github.com/DICE-UNC/irods-cloud-browser/releases

screen shot 2016-07-07 at 2 52 11 pm
michael-conway commented 8 years ago

Today is bad, but I'd be happy tomorow to do a google chat and screen share. As I said, webex doesn't really work from linux desktops

On Thu, Jul 7, 2016 at 3:00 PM, chexare notifications@github.com wrote:

Ok so, first it seem like your globals.js keeps trying to call for a "HTTP" url rather than "HTTPS" check on that again, and it also seems like you are not running the latest version of the cloud browser, the new release has the version on top of the irods footer tag as you can see in the image below, make sure to download the 1.0.1-RELEASE packages from: https://github.com/DICE-UNC/irods-cloud-browser/releases [image: screen shot 2016-07-07 at 2 52 11 pm] https://cloud.githubusercontent.com/assets/3952504/16665852/17937e5c-4453-11e6-92e4-549a1a93ddca.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DICE-UNC/irods-cloud-browser/issues/170#issuecomment-231174986, or mute the thread https://github.com/notifications/unsubscribe/ABC-LduXpnZJl02Yk-JctZCvyNl5p35_ks5qTUzGgaJpZM4JHTki .

chexare commented 8 years ago

Closing as a config issue, if your issue still persist, please reopen this ticket.