Title: Wrong 'href' for collection when not using standard ports on dataverse server · Issue #46 · IQSS/dataverse-client-python · GitHub
Open Graph Title: Wrong 'href' for collection when not using standard ports on dataverse server · Issue #46 · IQSS/dataverse-client-python
X Title: Wrong 'href' for collection when not using standard ports on dataverse server · Issue #46 · IQSS/dataverse-client-python
Description: I am using an own testing instance of dataverse with 8080 as HTTP port. Connecting and creation and listing of dataverses works fine. host = 'my.server.com:8080' connection = Connection(host, token, use_https=False) dataverse = connectio...
Open Graph Description: I am using an own testing instance of dataverse with 8080 as HTTP port. Connecting and creation and listing of dataverses works fine. host = 'my.server.com:8080' connection = Connection(host, token...
X Description: I am using an own testing instance of dataverse with 8080 as HTTP port. Connecting and creation and listing of dataverses works fine. host = 'my.server.com:8080' connection = Connection(hos...
Opengraph URL: https://github.com/IQSS/dataverse-client-python/issues/46
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wrong 'href' for collection when not using standard ports on dataverse server","articleBody":"I am using an own testing instance of dataverse with 8080 as HTTP port.\r\nConnecting and creation and listing of dataverses works fine. \r\n\r\n```py\r\nhost = 'my.server.com:8080'\r\nconnection = Connection(host, token, use_https=False)\r\ndataverse = connection.get_dataverse('myverse')\r\n```\r\n\r\nHowever, when creating a new dataset or listing existing datasets I receive the following error:\r\n```py\r\ndatasets = dataverse.get_datasets()\r\n\r\nInvalidURL: Failed to parse: 145.100.59.118:8080:8080\r\n```\r\n\r\nFor some reason the field:\r\n```py\r\ndataverse.collection.get('href')\r\n'https://my.server.com:8080:8080/dvn/api/data-deposit/v1.1/swordv2/collection/dataverse/userverse'\r\n```\r\nis not set correctly.\r\n\r\nIs it possible to make the port another argument in the class Connection?\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/chStaiger","@type":"Person","name":"chStaiger"},"datePublished":"2018-04-15T09:48:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/46/dataverse-client-python/issues/46"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:61ff074f-0ea6-7383-8716-3ec32f2b1cb7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C9E6:1A8A97:14FD65F:1B43A41:69924AAA |
| html-safe-nonce | e45b298edf12d0b84b3e7acdfcbc02b7f30fff6bb61932bdba689130994b9bbb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUU2OjFBOEE5NzoxNEZENjVGOjFCNDNBNDE6Njk5MjRBQUEiLCJ2aXNpdG9yX2lkIjoiMzUwNzE4NDc5NTc3MDgzMzU3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ec5114f8143f4afe7e33067eda7758c8f5ce9e278cb53be3472f92af37231fc3 |
| hovercard-subject-tag | issue:314401334 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IQSS/dataverse-client-python/46/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c77024806afa4f58928b947e82c758fee6291479dad10971cdf0e5ccddc6f25/IQSS/dataverse-client-python/issues/46 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c77024806afa4f58928b947e82c758fee6291479dad10971cdf0e5ccddc6f25/IQSS/dataverse-client-python/issues/46 |
| og:image:alt | I am using an own testing instance of dataverse with 8080 as HTTP port. Connecting and creation and listing of dataverses works fine. host = 'my.server.com:8080' connection = Connection(host, token... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chStaiger |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/IQSS/dataverse-client-python git https://github.com/IQSS/dataverse-client-python.git |
| octolytics-dimension-user_id | 675237 |
| octolytics-dimension-user_login | IQSS |
| octolytics-dimension-repository_id | 12977830 |
| octolytics-dimension-repository_nwo | IQSS/dataverse-client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12977830 |
| octolytics-dimension-repository_network_root_nwo | IQSS/dataverse-client-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width