Project

General

Profile

Actions

Incident #11878

closed

Import profile from LinkedIn error

Added by Massimiliano Assante almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Urgent
Category:
-
Target version:
Start date:
Jun 06, 2018
Due date:
Jun 06, 2018
% Done:

100%

Estimated time:
Infrastructure:
Production

Description

When tried to import my profile i got:

Import Error: Something went wrong while parsing your professional summary from LinkedIn, please report the issue. Close


Files

Screen Shot 2018-06-06 at 15.29.59.png (157 KB) Screen Shot 2018-06-06 at 15.29.59.png Massimiliano Assante, Jun 06, 2018 03:31 PM

Related issues

Related to D4Science Infrastructure - Upgrade #11882: Infra Gateways Patch for fixing Incident #11878CompletedMassimiliano AssanteJun 06, 2018Jun 07, 2018

Actions
Actions #2

Updated by Massimiliano Assante almost 7 years ago

  • % Done changed from 0 to 30

The issue is due to the fact that the method retrieving the user avatar image returns the following:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <title>403 - Forbidden</title>
    </head>
    <body>
        <h1>403 - Forbidden</h1>
    </body>
</html>
Actions #3

Updated by Massimiliano Assante almost 7 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 30 to 100

After digging the issue I found out that the picture URL returned from LinkedIn People API is now encoded, (e.g. it had &amp ; instead of &). Making an HTTP request with this new URL was giving the error reported above.

org.gcube.portlets-user.socialprofile.2-1-1 has bee created and it is running against gCube 4.11.1 as I write.

Actions #5

Updated by Massimiliano Assante almost 7 years ago

  • Related to Upgrade #11882: Infra Gateways Patch for fixing Incident #11878 added
Actions #6

Updated by Massimiliano Assante almost 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)