Connection Problem with JPlag server

Connection Problem with JPlag server

by Usman Riaz -
Number of replies: 12

With due respect,
I am integrating Jpag with Moodle (version 2.3).  During plugin configuration when I entered the JPlag account's credentials and MOSS user's ID and click "save changes", I received the error 

Cannot connect to JPlag server - Please check the connection.  
Jplag server is accessible with their "Jplag web start client", which means there are no issues from Jplag server's side.

Now I don't know how to fix this problem? I suffered a search of 4 days across the web to get it fixed but no remedies. 
Please help me to fix it.

Thanks !
Attachment Connection Problem.png
Average of ratings: -
In reply to Usman Riaz

Help needed

by Usman Riaz -

Will anybody would like to reply the above post? Please help so that I can continue...

In reply to Usman Riaz

Re: Help needed

by Justin Hunt -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Moodle is making a server to server connection with the JPlag server.  The webstart client, will be connecting from your PC to JPlag. So the problem is with how your server connects to the the JPlag server.

I am not familiar with JPlag, but I would check the apache error logs for any information contained there about errors. I would also login to your moodle server from the command line and try to access the JPlag server and see what happens.  Can you ping it? If so then use wget or curl and see if you can download a file(image from JPlag. 

If that works then perhaps Moodle has the problem. If you are behind a proxy server, you need to tell Moodle about that. Do that from the Moodle admin menu: site administration -> server -> http


Justin

In reply to Justin Hunt

Re: Help needed

by Usman Riaz -
Justin, thanks for your reply.

Form moodle server JPlag server is accessible, means upon ping Jplag server replies. I also get the status page from jplag server using wget.

We are not behind any proxy server. I also checked moodle logs but there are no logs for this error. Now, what it can be and how to solve it? 

Thanks !

In reply to Justin Hunt

Re: Help needed

by Justin Hunt -
Picture of Particularly helpful Moodlers Picture of Plugin developers

It would be nice if someone familiar with jplag would step in here. It might be something simple enough

All I can say is that I would probably find the location in the plugin source code where the connection is made and see what circumstances generate that error. Then I would "watch" the transaction probably by entering my own logging statements at relevant points in the code. Sorry, I know that is not an option for a lot of people. 

Hopefully a more experienced JPlag user will have some insights.

In reply to Usman Riaz

Re: Connection Problem with JPlag server

by Mathias Landhäußer -

The wsdl file of the plugin is outdated. It should be replaced with the one available for download on [1]. I've filed a bug report (see https://tracker.moodle.org/browse/MDL-47407). 


Regards

Mathias


[1] https://jplag.ipd.kit.edu/JPlagService/service

In reply to Mathias Landhäußer

Re: Connection Problem with JPlag server

by Usman Riaz -

Thanks to Justin and Mathias for help.

Previous problem (Connection issue) get resolved by replacing old wsdl. Now when i try to made the connection, error "Client outdated! Please update your client to compatibility level 4." appears. 
What is it and how to solve it ? 

Regards : Usman Riaz

Attachment Error.png
In reply to Usman Riaz

MOSS Report not showing

by Usman Riaz -

Hi Justin, 
I have MOSS plagiarism detection tool in moodle (2.3) as well. To check the plagiarism when i clicked the "Scan now" button MOSS started working and after finalizing, a link to MOSS report appears, but when i clicked that link moodle shows nothing instead of image # 2. Please have a look on attached images.

Either there is some problem with MOSS (report not generated) or something else, please help.

Thanks !

Attachment image # 1.png
Attachment image # 2.png
In reply to Usman Riaz

Re: MOSS Report not showing

by Justin Hunt -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Since I have never used it myself, I am not sure how to respond except very generally. 

I would check that my Moodle Cron job was running properly. 

https://docs.moodle.org/27/en/Cron

(You can trigger it manually in testing by going to http://[myserver.com]/admin/cron.php )

If that was not the problem, I think you will need the help of someone familiar with MOSS.

In reply to Usman Riaz

Re: MOSS Report not showing

by Tri Le -

Hi Usman,

Are you still trying it?

The blank page should be because noone has the similarity greater than 20%.

If you lower the threshold, say 0%, you should still see some.


Have you download the plugin in Moodle repository or on GitHub?

In reply to Usman Riaz

Re: MOSS Report not showing

by George Rabeshi -
Hello Sir, Can you provide me a Jplay account, I noticed i would love to test it with this plugin.
In reply to Usman Riaz

Re: Connection Problem with JPlag server

by Tri Le -

Hi,

If you haven't, please download the version at https://github.com/thanhtri/plagiarism_programming, replace the code and try again.

That code is updated with the recent JPlag change.

Average of ratings: Useful (1)