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

[Bug]: Applications can't be installed/downloaded - cURL error 49: Couldn't parse CURLOPT_RESOLVE #36178

Closed
6 of 9 tasks
Rivega42 opened this issue Jan 16, 2023 · 8 comments
Closed
6 of 9 tasks
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 25-feedback bug needs info stale Ticket or PR with no recent activity

Comments

@Rivega42
Copy link

Rivega42 commented Jan 16, 2023

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

when installing from the interface, a message like this appears:
"An error occurred during the request. Unable to proceed.
cURL error 49: Couldn't parse CURLOPT_RESOLVE entry 'github.com:80:'! (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://github.com/SergeyMosin/Appointments/raw/v1.14.9/build/artifacts/appstore/appointments.tar.gz"

It seems to me that a colon is not needed AFTER the port ...

Steps to reproduce

1.your applications
2.download and enable
3.see error message

Expected behavior

must install and run the application

Installation method

Official All-in-One appliance

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.0

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

p

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@Rivega42 Rivega42 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jan 16, 2023
@szaimen
Copy link
Contributor

szaimen commented Jan 16, 2023

Hi, which NC version?

@szaimen
Copy link
Contributor

szaimen commented Jan 16, 2023

And does this also happen with other apps that you try to download?

@Rivega42
Copy link
Author

Rivega42 commented Jan 16, 2023

Hi, NC - 25.0.2

@Rivega42
Copy link
Author

Rivega42 commented Jan 16, 2023

And does this also happen with other apps that you try to download?

Tried 3 apps. the error is identical.
Announcement center, Deck, Maps.

@solracsf solracsf changed the title applications are not installed, error 49 [Bug]: [Bug]: Applications can't be installed/downloaded - cURL error 49: Couldn't parse CURLOPT_RESOLVE Jan 16, 2023
@solracsf
Copy link
Member

Is this fixed now? Many times, these errors come from Github.

@nextcloud-command
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

@nextcloud-command nextcloud-command added the stale Ticket or PR with no recent activity label Feb 20, 2023
@w9n
Copy link

w9n commented Apr 17, 2023

im still having this issue on v26.0.0 and v26.0.1rc1 for all apps tested (calendar, meet, appointents...).

when kubectl exec into the pod and manually executing e.g. "curl https://github.com/SergeyMosin/Appointments/raw/v1.14.9/build/artifacts/appstore/appointments.tar.gz" manually it returns some expected 302. Therefore I dont think its an issue with the environment.

not sure whats going on here:

$options['curl'][CURLOPT_RESOLVE][] = "$hostport:" . implode(',', $ips);

@w9n
Copy link

w9n commented Apr 17, 2023

After commenting out

$options['curl'][CURLOPT_RESOLVE][] = "$hostport:" . implode(',', $ips);

within the container I can download all the apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 25-feedback bug needs info stale Ticket or PR with no recent activity
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants