after vagrant reload and xnat restart, got "502 bad gateway"

256 views
Skip to first unread message

Rj He

unread,
Feb 28, 2018, 2:50:38 PM2/28/18
to xnat_discussion
Hi,

After vagrant reload and xnat restart, got "502 bad gateway", how to get rid of it? Thanks!

BTW, I installed on another PC, and also got "502 bad gateway" after vagrant reload and xnat restart.


Thanks for your advices!

Best regards,
Renjie

Herrick, Rick

unread,
Feb 28, 2018, 2:55:26 PM2/28/18
to xnat_di...@googlegroups.com

That usually indicates that Tomcat isn’t running, so something probably went wrong during start-up. You need to check the Tomcat and XNAT logs (if Tomcat failed to start, you probably don’t HAVE any XNAT logs, but if you do you should check those as well).

 

-- 

Rick Herrick

Sr. Programmer/Analyst

Neuroinformatics Research Group

Washington University School of Medicine

Phone: +1 (314) 273-1645

--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
xnat_discussi...@googlegroups.com.
To post to this group, send email to
xnat_di...@googlegroups.com.
Visit this group at
https://groups.google.com/group/xnat_discussion.
For more options, visit
https://groups.google.com/d/optout.

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Rj He

unread,
Feb 28, 2018, 3:24:09 PM2/28/18
to xnat_discussion
Hi, Rick,

Many thanks, I will follow your advice after I get back to office.

Thanks again!

Renjie



On Wednesday, February 28, 2018 at 1:55:26 PM UTC-6, Rick Herrick wrote:

That usually indicates that Tomcat isn’t running, so something probably went wrong during start-up. You need to check the Tomcat and XNAT logs (if Tomcat failed to start, you probably don’t HAVE any XNAT logs, but if you do you should check those as well).

 

-- 

Rick Herrick

Sr. Programmer/Analyst

Neuroinformatics Research Group

Washington University School of Medicine

Phone: +1 (314) 273-1645

From: "xnat_di...@googlegroups.com" <xnat_di...@googlegroups.com> on behalf of Rj He <wenq...@gmail.com>
Reply-To: "xnat_di...@googlegroups.com" <xnat_di...@googlegroups.com>
Date: Wednesday, February 28, 2018 at 1:51 PM
To: "xnat_di...@googlegroups.com" <xnat_di...@googlegroups.com>
Subject: [XNAT Discussion] after vagrant reload and xnat restart, got "502 bad gateway"

 

Hi,

 

After vagrant reload and xnat restart, got "502 bad gateway", how to get rid of it? Thanks!

 

BTW, I installed on another PC, and also got "502 bad gateway" after vagrant reload and xnat restart.

 

 

Thanks for your advices!

 

Best regards,

Renjie

--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.

To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussion+unsubscribe@googlegroups.com.
To post to this group, send email to
xnat_discussion@googlegroups.com.
Visit this group at
https://groups.google.com/group/xnat_discussion.
For more options, visit
https://groups.google.com/d/optout.

Rj He

unread,
Feb 28, 2018, 3:54:15 PM2/28/18
to xnat_discussion
Hi, Rick,


I checked the status of tomcat7 and it's dead, after restart tomcat7 XNAT is working, however after I stop/halt and reload/restart, still get "502 Bad Gateway", do I have to restart tomcat7 manually each time after I shut down the VM?

Best,
Renjie



On Wednesday, February 28, 2018 at 1:55:26 PM UTC-6, Rick Herrick wrote:

That usually indicates that Tomcat isn’t running, so something probably went wrong during start-up. You need to check the Tomcat and XNAT logs (if Tomcat failed to start, you probably don’t HAVE any XNAT logs, but if you do you should check those as well).

 

-- 

Rick Herrick

Sr. Programmer/Analyst

Neuroinformatics Research Group

Washington University School of Medicine

Phone: +1 (314) 273-1645

From: "xnat_di...@googlegroups.com" <xnat_di...@googlegroups.com> on behalf of Rj He <wenq...@gmail.com>
Reply-To: "xnat_di...@googlegroups.com" <xnat_di...@googlegroups.com>
Date: Wednesday, February 28, 2018 at 1:51 PM
To: "xnat_di...@googlegroups.com" <xnat_di...@googlegroups.com>
Subject: [XNAT Discussion] after vagrant reload and xnat restart, got "502 bad gateway"

 

Hi,

 

After vagrant reload and xnat restart, got "502 bad gateway", how to get rid of it? Thanks!

 

BTW, I installed on another PC, and also got "502 bad gateway" after vagrant reload and xnat restart.

 

 

Thanks for your advices!

 

Best regards,

Renjie

--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.

To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussion+unsubscribe@googlegroups.com.
To post to this group, send email to
xnat_discussion@googlegroups.com.
Visit this group at
https://groups.google.com/group/xnat_discussion.
For more options, visit
https://groups.google.com/d/optout.

Herrick, Rick

unread,
Feb 28, 2018, 3:59:32 PM2/28/18
to xnat_di...@googlegroups.com

The default state of the VM is to not restart Tomcat. For development purposes this is pretty typical, since when you’re restarting the VM you’re usually going to test changes to your code. It’s easy to enable Tomcat so that it restarts automatically:

 

$ sudo systemctl enable tomcat7.service

 

And you’ll be good to go.

To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to
xnat_di...@googlegroups.com.
Visit this group at
https://groups.google.com/group/xnat_discussion.
For more options, visit
https://groups.google.com/d/optout.

 

The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

--

You received this message because you are subscribed to the Google Groups "xnat_discussion" group.

To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to
xnat_di...@googlegroups.com.
Visit this group at
https://groups.google.com/group/xnat_discussion.
For more options, visit
https://groups.google.com/d/optout.

Rj He

unread,
Feb 28, 2018, 4:16:14 PM2/28/18
to xnat_discussion
Hi, Rick,

That's really helpful, many thanks for the tips!

Best regards,
Renjie

To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussion+unsubscribe@googlegroups.com.
To post to this group, send email to
xnat_discussion@googlegroups.com.
Visit this group at
https://groups.google.com/group/xnat_discussion.
For more options, visit
https://groups.google.com/d/optout.

 

The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.

To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussion+unsubscribe@googlegroups.com.
To post to this group, send email to
xnat_discussion@googlegroups.com.
Visit this group at
https://groups.google.com/group/xnat_discussion.
For more options, visit
https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages