You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2012-02-20 18:41:36

kellenl
Member
Registered: 2012-02-20
Posts: 1

Suppliers Imports Dell Issue

I am trying to import the information for some Dell computers. I keep getting an error when it tries to import.

I have activated all financial information and made sure that Dell was the Manufacturer. It has the serial number where it is needed as well.

When I click on the Manufacturer link when it tells me import failed it takes me straight to the Dell page and gives me the warranty information.

What am I doing wrong or missing?

Offline

#2 2012-02-20 19:08:31

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Suppliers Imports Dell Issue

Dell have chenged system so the plugin not compatible with it.

Offline

#3 2012-02-29 23:35:16

adumontet
Member
Registered: 2012-02-29
Posts: 2

Re: Suppliers Imports Dell Issue

Is there an update to that plug-in planned in the near future?

Offline

#4 2012-03-01 09:14:46

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Suppliers Imports Dell Issue

If you want to work on this plugin, you're welcome

Offline

#5 2012-03-12 10:20:25

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Suppliers Imports Dell Issue


Xavier Caillaud
Blog GLPI Infotel

Offline

#6 2012-03-13 12:07:53

pmeireles
Member
Registered: 2011-09-15
Posts: 6

Re: Suppliers Imports Dell Issue

I'm also having problems with this plugin. When I try to import a Dell PC I get this error:

SOAP Fault: SoapFault Object ( [message:protected] => Could not connect to host [string:Exception:private] => [code:protected] => 0 [file:protected] => /var/www/glpi/plugins/manufacturersimports/inc/dell.class.php [line:protected] => 85 [trace:Exception:private] => Array ( [0] => Array ( [function] => __doRequest [class] => SoapClient [type] => -> [args] => Array ( [0] => F5EE89B0-5332-11E1-B47D-8E584824019BGLPI6MKXP4J [1] => (...)

If I uninstall the plugin and reinstall it, sometimes I can import a PC, but if I try to import another one I get this error.

I'm also having problems importing HP computers. I get an import error every time I try to import a PC and if I go to the supplied URL on the HP site, I get a message saying "A connection to the Warranty Database could not be established for this unit".

Can anyone help please?


Best regards.

Offline

#7 2012-03-13 12:34:59

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Suppliers Imports Dell Issue

HP database is out in this time.

For Dell can you try to change in inc/dell.class.php ADDR to :

const ADDR = 'http://143.166.84.118/services/assetservice.asmx?WSDL';

for test it ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#8 2012-03-13 12:59:08

pmeireles
Member
Registered: 2011-09-15
Posts: 6

Re: Suppliers Imports Dell Issue

Thanks, it worked!

So, for HP I have to wait until the database in back online, right?


Best regards.

Offline

#9 2012-03-13 13:05:09

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Suppliers Imports Dell Issue

i hope tongue


Xavier Caillaud
Blog GLPI Infotel

Offline

#10 2012-03-15 13:15:06

dflasse
Member
From: Belgique
Registered: 2007-09-10
Posts: 33
Website

Re: Suppliers Imports Dell Issue

I know how tedious it can be to see a support request to be reopened but I still have some kind of trouble with Dell computers. Each time I try to import new computers I have this error in the log:

Warning(2): SoapClient::SoapClient(): I/O warning : failed to load external entity "http://xserv.dell.com/services/assetservice.asmx?WSDL"

And the manufacturer data (purchase date, warranty and so on) are not imported

Offline

#11 2012-03-16 10:12:51

dflasse
Member
From: Belgique
Registered: 2007-09-10
Posts: 33
Website

Re: Suppliers Imports Dell Issue

Update. I thought the last version of the plugin solved the issue as described here before. Reply number 7 actually solve thue issue. My mistake. The ugly part is that I read the thread all long but I didn't catch there was an patch for the patch.

Sorry about that

Offline

#12 2012-03-16 11:33:19

smpe
Member
Registered: 2012-03-16
Posts: 1

Re: Suppliers Imports Dell Issue

Hello everybody. I have a problem when I try to import the warranty of dell computers  with the plugin manufacturersimports.
Before, I have install the paquet on ubuntu with the command: apt-get  php-soap.
=> I downloaded the archive with the command:
glpi-manufacturersimports-1.4.2.tar.gz
I extracted the archive:
tar -zxvf glpi-manufacturersimports-1.4.2.tar.gz
and applied the rights of execute on the folders:
chmod -R 777 manufacturersimports/
chmod  x -R manufacturersimports/

Next I installed and activate the plugin.

I updated the const ADDR in  the file /var/www/glpi/plugins/manufacturersimports/inc/dell.class.php with:

When I try to import the warranty I see in the log file the next error:

Warning(2): SoapClient::SoapClient(): I/O warning : failed to load external entity "http://143.166.84.118/services/assetservice.asmx?WSDL"


thank you in advance for your help

Offline

#13 2012-03-19 11:05:11

tontonrico
Member
Registered: 2010-03-30
Posts: 50

Re: Suppliers Imports Dell Issue

[Solved]

The problem was caused by the HTTP proxy I have to use. If the connection is direct (without HTTP proxy) it works fine !

#################

dflasse wrote:

Update. I thought the last version of the plugin solved the issue as described here before. Reply number 7 actually solve thue issue. My mistake. The ugly part is that I read the thread all long but I didn't catch there was an patch for the patch.

Sorry about that

Hum,

I try the up-to-date plugin with the CONST ADDR modified but it does not work for me...

What is the patch for the patch you mention ? Hereafter the error I have when I try to import Dell computers :

PHP Warning: SoapClient::SoapClient(http://143.166.84.118/services/assetservice.asmx?WSDL) [soapclient.soapclient]: failed to open stream: Connection refused in /var/www/test_glpi/plugins/manufacturersimports/inc/dell.class.php at line 51
PHP Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed to load external entity "http://143.166.84.118/services/assetservice.asmx?WSDL" in /var/www/test_glpi/plugins/manufacturersimports/inc/dell.class.php at line 51

Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://143.166.84.118/services/assetservice.asmx?WSDL' : failed to load external entity "http://143.166.84.118/services/assetservice.asmx?WSDL" in /var/www/test_glpi/plugins/manufacturersimports/inc/dell.class.php on line 51

Last edited by tontonrico (2012-03-19 15:56:35)

Offline

#14 2012-03-21 18:33:47

helpdesk.wtn
Member
Registered: 2011-10-30
Posts: 21

Re: Suppliers Imports Dell Issue

In version 0.80.4 don't work.
When I install, the plugins section don't load

Any solution?

Offline

#15 2012-03-28 17:18:56

Gaetan K
Member
Registered: 2010-05-28
Posts: 6

Re: Suppliers Imports Dell Issue

Dear all,

I very liked this plugin which worked fine before the Dell page change.

Now, I face the same problem as above, and tried to modify the xdell.serv.com with the IP address.

But the issue still persists.

I think it's probably due to proxy usage.

Proxy is configured in Internet Explorer settings and in general configuration page under GLPI.

Did I miss something ? Or is it some code to add to have this plugin working with proxy ?

Thanks per advance.

Offline

#16 2012-03-29 11:15:33

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Suppliers Imports Dell Issue


Xavier Caillaud
Blog GLPI Infotel

Offline

#17 2012-05-10 21:25:32

sphipps
Member
Registered: 2012-05-10
Posts: 1

Re: Suppliers Imports Dell Issue

I am having the same issue. I am running centos 6 and we are not using a proxy. I can wget the wdsl file, but I get the failed to load external entity error when I try to use the plugin. I have tried both with the ip address and with the name. Any ideas on why I get the failures?

Thanks

Offline

#18 2012-06-13 14:55:42

dmcdonnell
Member
Registered: 2012-06-13
Posts: 1

Re: Suppliers Imports Dell Issue

Hi,
Not sure regarding the last post here, but I've found the cause of why proxy isnt working with Supplier Imports. A very subtle bug with Soapclient in php, as per here:
http://www.thedeveloperday.com/php-soapclient-proxy/

Changing the code for proxy_port in dellsoap.class.php like this solved my issue with proxy not working:
Change:
         $options['proxy_port'] = $CFG_GLPI["proxy_port"];
To:
         $options['proxy_port'] = (int) $CFG_GLPI["proxy_port"];

The variable $CFG_GLPI["proxy_port"]; is a string but needs to be an int.

Hope this helps someone, I've spent a couple of hours trying to work this one out!

Cheers,
Dave

Offline

#19 2012-06-14 12:16:17

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Suppliers Imports Dell Issue


Xavier Caillaud
Blog GLPI Infotel

Offline

Board footer

Powered by FluxBB