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

Cats freezes/stops working when creating candidate #30

Closed
scott1981 opened this issue Apr 10, 2015 · 10 comments
Closed

Cats freezes/stops working when creating candidate #30

scott1981 opened this issue Apr 10, 2015 · 10 comments

Comments

@scott1981
Copy link

I posted this in the forums but then I noticed that bugs were being reported here as well.

As of April 10th creating a candidate using Firefox or Chrome (have not tried the other browsers) causes the app to lock up, on both 0.9.1 and 0.9.2. I tested it on demosite and was able to reproduce it there too.

Steps to reproduce:

  1. Go to http://www.opencats.org/test/cats/
  2. Click Login to Demo Account
  3. Click on Candidates Tab
  4. Click on "Add Candidate"
  5. The app freezes and you can't even click on any other tab.
  6. Close the tab
  7. Try to access http://www.opencats.org/test/cats/ on a new tab. It will not load.
@RussH
Copy link
Member

RussH commented Apr 10, 2015

                                                                                  Thanks, will be able to check this is reproducible. I assume from the report that IE is unaffected?                                                                                                                                                                                                                                                                                                                                        Sent from my BlackBerry 10 smartphone on the O2 network.                                                                                                                                                                                                                From: scott1981Sent: Friday, 10 April 2015 22:07To: opencats/OpenCATSReply To: opencats/OpenCATSSubject: [OpenCATS] Cats freezes/stops working when creating candidate (#30)I posted this in the forums but then I noticed that bugs were being reported here as well.

As of April 10th creating a candidate using Firefox or Chrome (have not tried the other browsers) causes the app to lock up, on both 0.9.1 and 0.9.2. I tested it on demosite and was able to reproduce it there too.

Steps to reproduce:

  1. Go to http://www.opencats.org/test/cats/
  2. Click Login to Demo Account
  3. Click on Candidates Tab
  4. Click on "Add Candidate"
  5. The app freezes and you can't even click on any other tab.

—Reply to this email directly or view it on GitHub.

@scott1981
Copy link
Author

I use Linux so I am unable to test it on IE. However it is server related as I installed 0.9.2 on an old Centos 5 using the following server settings and I can confirm that the problem does not occur.

General Information
Operating System: Linux pbx.localdomain 2.6.32-431.el6.i686 #1 SMP Fri Nov 22 00:26:36 UTC 2013 i686
Operating System Type: CATS thinks your operating system is UNIX.
PHP Version: 5.3.28
Database Version: MySQL 5.1.73
Installation Directory: /var/www/html/cats

Please check this link for further information: http://www.opencats.org/forums/viewtopic.php?f=4&t=586

@scott1981
Copy link
Author

Please let me know what other steps you need me to do. I own a VPS with Centos and another one with Ubuntu server (old and newer systems respectively). I am willing to do some testing. Thanks.

@cats1000
Copy link

The quick fix is the edit your hosts file on the CATS server (usually /etc/hosts on Linux) and add the following:
127.0.1.1 soap.resfly.com

There are two calls to this hostname in the following files:
/wsdl/parse.wsdl
/wsdl/status.wsdl

The problematic url calls in the files above look like
http://soap.resfly.com/parse.php
and
http://soap.resfly.com/status.php

The URLs above appear to now be dead (or don't respond in a reasonable time). I don't think there are any side effects with these removed - I shall keep testing my systems to see if there are any issues that show up over time.

@RussH
Copy link
Member

RussH commented Apr 11, 2015

                                                                                  Thank you. There are a bunch of fixes from Dan Needles to remove all talk back to catsone.com (of which this is one)which are contributed but not yet committed to trunk yet. ‎I can share the entire document if you drop me an email. Russh@opencats.org                                                                                                                                                                                                                                                                                                                                         Sent from my BlackBerry 10 smartphone on the O2 network.                                                                                                                                                                                                                From: cats1000Sent: Saturday, 11 April 2015 02:09To: opencats/OpenCATSReply To: opencats/OpenCATSCc: RussHSubject: Re: [OpenCATS] Cats freezes/stops working when creating candidate (#30)The quick fix is the edit your hosts file (usually /etc/hosts) and add the following:

127.0.1.1 soap.resfly.com

There are two calls to this hostname in the following files:
/wsdl/parse.wsdl
/wsdl/status.wsdl

... that look like:

and

The URLs above appear to now be dead (or don't respond in a reasonable time). I don't think there are any side effects with these removed.

—Reply to this email directly or view it on GitHub.

@scott1981
Copy link
Author

Great I am willing to test. I would also like to report other bugs for
0.9.1 Is this possible or is 0.9.1 no longer maintained?

Thanks.
El abr 11, 2015 4:01 AM, "RussH" notifications@github.com escribió:

Thank you. There are a bunch of fixes from Dan Needles to remove all talk
back to catsone.com (of which this is one)which are contributed but not
yet committed to trunk yet. I can share the entire document if you drop me
an email. Russh@opencats.org
Sent from my BlackBerry 10 smartphone on the O2 network. From:
cats1000Sent: Saturday, 11 April 2015 02:09To: opencats/OpenCATSReply To:
opencats/OpenCATSCc: RussHSubject: Re: [OpenCATS] Cats freezes/stops
working when creating candidate (#30)The quick fix is the edit your hosts
file (usually /etc/hosts) and add the following:
127.0.1.1 soap.resfly.com

There are two calls to this hostname in the following files:
/wsdl/parse.wsdl
/wsdl/status.wsdl

... that look like:

and

The URLs above appear to now be dead (or don't respond in a reasonable
time). I don't think there are any side effects with these removed.

--Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub
#30 (comment).

@RussH
Copy link
Member

RussH commented Apr 12, 2015

Hi Joe,

0.9.1 is no longer maintained - please can you check if the errors are
reproducible on 0.9.2 and submit them as required!

Russ

On 11 April 2015 at 16:25, scott1981 notifications@github.com wrote:

Great I am willing to test. I would also like to report other bugs for
0.9.1 Is this possible or is 0.9.1 no longer maintained?

Thanks.
El abr 11, 2015 4:01 AM, "RussH" notifications@github.com escribió:

Thank you. There are a bunch of fixes from Dan Needles to remove all talk
back to catsone.com (of which this is one)which are contributed but not
yet committed to trunk yet. I can share the entire document if you drop
me
an email. Russh@opencats.org
Sent from my BlackBerry 10 smartphone on the O2 network. From:
cats1000Sent: Saturday, 11 April 2015 02:09To: opencats/OpenCATSReply To:
opencats/OpenCATSCc: RussHSubject: Re: [OpenCATS] Cats freezes/stops
working when creating candidate (#30)The quick fix is the edit your hosts
file (usually /etc/hosts) and add the following:
127.0.1.1 soap.resfly.com

There are two calls to this hostname in the following files:
/wsdl/parse.wsdl
/wsdl/status.wsdl

... that look like:

and

The URLs above appear to now be dead (or don't respond in a reasonable
time). I don't think there are any side effects with these removed.

--Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub
#30 (comment).


Reply to this email directly or view it on GitHub
#30 (comment).

@scott1981
Copy link
Author

Russ

These errors are present in 0.9.2

The fastest workaround for now is to edit hosts file. I think this also
needs to be taken out of the code as part of catsone cleaning.

Thanks.
El abr 12, 2015 8:15 AM, "RussH" notifications@github.com escribió:

Hi Joe,

0.9.1 is no longer maintained - please can you check if the errors are
reproducible on 0.9.2 and submit them as required!

Russ

On 11 April 2015 at 16:25, scott1981 notifications@github.com wrote:

Great I am willing to test. I would also like to report other bugs for
0.9.1 Is this possible or is 0.9.1 no longer maintained?

Thanks.
El abr 11, 2015 4:01 AM, "RussH" notifications@github.com escribió:

Thank you. There are a bunch of fixes from Dan Needles to remove all
talk
back to catsone.com (of which this is one)which are contributed but
not
yet committed to trunk yet. I can share the entire document if you drop
me
an email. Russh@opencats.org
Sent from my BlackBerry 10 smartphone on the O2 network. From:
cats1000Sent: Saturday, 11 April 2015 02:09To: opencats/OpenCATSReply
To:
opencats/OpenCATSCc: RussHSubject: Re: [OpenCATS] Cats freezes/stops
working when creating candidate (#30)The quick fix is the edit your
hosts
file (usually /etc/hosts) and add the following:
127.0.1.1 soap.resfly.com

There are two calls to this hostname in the following files:
/wsdl/parse.wsdl
/wsdl/status.wsdl

... that look like:

and

The URLs above appear to now be dead (or don't respond in a reasonable
time). I don't think there are any side effects with these removed.

--Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub
<#30 (comment)
.

Reply to this email directly or view it on GitHub
#30 (comment).

Reply to this email directly or view it on GitHub
#30 (comment).

@amaisonneuve
Copy link
Contributor

Interesting that issue showed up this weekend, thanks for the quick workaround was going to look into it further tonight.

@RussH RussH closed this as completed Sep 4, 2015
@RussH
Copy link
Member

RussH commented Sep 4, 2015

just t committed the fix - set refly parsing enabled to 'flase' in config.php.

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

4 participants