[SOLVED] The requested URL returned error: 403 Forbidden
Hi guys
(sory for my english
I have a problem with packer -Syu
the output:
Proceed with installation? [Y/n] y
Edit openbox-menu PKGBUILD with $EDITOR? [Y/n] n
==> Making package: openbox-menu 0.3.6.8-1 (Tue Feb 12 15:52:19 UTC 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading openbox-menu-0.3.6.8.tar.bz2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 403 Forbidden
==> ERROR: Failure while downloading openbox-menu-0.3.6.8.tar.bz2
Aborting...
The build failed.
for full detials:
http://pastebin.com/Acq0uY78
iam try another mirrors... but i get same problen
i install tor (for use tsocks or torify) but its dont work in my country
HELP ME PLZ
thanks
Last edited by tareef (2013-02-14 19:39:07)
It's http://mimarchlinux.googlecode.com/file … .8.tar.bz2, just as the PKGBUILD says.
Edit:
If something is broken, you should ask on the AUR page for the maintainer to fix the PKGBUILD https://aur.archlinux.org/packages/openbox-menu/, but the PKGBUILD worked for me.
tareef wrote:
for full detials:
http://pastebin.com/Acq0uY78
iam try another mirrors... but i get same problen
i install tor (for use tsocks or torify) but its dont work in my country
openbox-menu is from the AUR and not from the repos, so changing mirrors won't do anything here. You might want to read on what AUR is and deal with the issues with the signatures first.
Last edited by karol (2013-02-13 00:10:04)
Similar Messages
-
[SOLVED]"The requested URL returned error: 407" while using pacman
pacman worked fine until now. When I try to upgrade with
pacman -Syu
it returns what is written below even though internet works fine without problems(I'm posting from the same system using firefox)
How can I get pacman working again?
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'core.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'core.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'extra.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'extra.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'community.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'community.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed to update community (download library error)
error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : The requested URL returned error: 407
error: failed to update archlinuxfr (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)
Last edited by ebshankar (2012-02-19 08:08:59)hokasch wrote:
What did you update? Are you using a proxy?
You can try pacman -Syy --debug which will show the actual url it tries to access. When posting console output, please use the code tags.
I tried to upgrade the system.
I don't use a proxy. My isp uses authentication from the browser, when the browser is authenticated with the username and password, the whole system will be connected to the internet as long as the authentication page is open.
Here is the output of "pacman -Syy --debug":
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: arch: x86_64
debug: config: SigLevel: Never
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'archlinuxfr'
debug: config: finish section 'archlinuxfr'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: adding new server URL to database 'core': ftp://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64
debug: adding new server URL to database 'core': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64
debug: adding new server URL to database 'core': ftp://mirror.yongbok.net/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.yongbok.net/archlinux/core/os/x86_64
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: adding new server URL to database 'extra': ftp://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://mirror.yongbok.net/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.yongbok.net/archlinux/extra/os/x86_64
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: adding new server URL to database 'community': ftp://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64
debug: adding new server URL to database 'community': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://mirror.yongbok.net/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.yongbok.net/archlinux/community/os/x86_64
debug: config: new section 'archlinuxfr'
debug: config: finish section 'archlinuxfr'
debug: registering sync database 'archlinuxfr'
debug: database path for tree archlinuxfr set to /var/lib/pacman/sync/archlinuxfr.db
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
debug: config: finished parsing /etc/pacman.conf
:: Synchronizing package databases...
debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: http://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: ftp://mirror.yongbok.net/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: url: http://mirror.yongbok.net/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: failed to sync db: download library error
error: failed to update core (download library error)
debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: http://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: ftp://mirror.yongbok.net/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: url: http://mirror.yongbok.net/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: failed to sync db: download library error
error: failed to update extra (download library error)
debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: http://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: ftp://mirror.yongbok.net/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: url: http://mirror.yongbok.net/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: failed to sync db: download library error
error: failed to update community (download library error)
debug: url: http://repo.archlinux.fr/x86_64/archlinuxfr.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/archlinuxfr.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : The requested URL returned error: 407
debug: failed to sync db: download library error
error: failed to update archlinuxfr (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'archlinuxfr'
Last edited by ebshankar (2012-02-18 14:18:30) -
Uln-yum-mirror [Errno 14] PYCURL ERROR 22 - The requested URL returned error: 416
Server is running Oracle Linux 6.5 and can receive updates from ULN without issue, I could easily upgrade the local servers version of Bash. The problem I am having is that the server is the local yum server however it is not downloading updates when I run /usr/bin/uln-yum-mirror I am receiving the errors below
[root@cr-svc-orayum1 yum]# cat /etc/oracle-release
Oracle Linux Server release 6.5
[root@cr-svc-orayum1 yum]# yum repolist
Loaded plugins: refresh-packagekit, rhnplugin, security
This system is receiving updates from ULN.
ol6_x86_64_UEKR3_latest/primary | 8.5 MB 00:21
ol6_x86_64_UEKR3_latest 234/234
ol6_x86_64_latest/primary | 41 MB 01:46
ol6_x86_64_latest 26159/26159
repo id repo name status
ol6_x86_64_UEKR3_latest Unbreakable Enterprise Kernel Release 3 for Oracle Linux 6 (x86_64) - Latest 234
ol6_x86_64_latest Oracle Linux 6 Latest (x86_64) 26,159
repolist: 26,393
[root@cr-svc-orayum1 yum]# yum clean all
Loaded plugins: refresh-packagekit, rhnplugin, security
Cleaning repos: ol5_x86_64_UEK_base ol5_x86_64_ksplice ol5_x86_64_latest ol6_x86_64_UEKR3_latest ol6_x86_64_latest
Cleaning up Everything
[root@cr-svc-orayum1 yum]#
[root@cr-svc-orayum1 yum]# /usr/bin/uln-yum-mirror
## BEGIN PROCESSING ol5_x86_64_ksplice ##
Channel Dir: /var/www/html/yum/OracleLinux/OL5/ksplice/x86_64
Loaded plugins: refresh-packagekit, rhnplugin
This system is receiving updates from ULN.
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
Wrote: /var/www/html/yum/OracleLinux/OL5/ksplice/x86_64/repodata/updateinfo.xml.gz
type = updateinfo
location = repodata/updateinfo.xml.gz
checksum = bd8daef04c28ee5907c0482c5a55e5fdb2c56fae
timestamp = 1412066205.18
open-checksum = cd80d41782f6770822485ade46f1a8bf75cfa20b
Wrote: /var/www/html/yum/OracleLinux/OL5/ksplice/x86_64/repodata/repomd.xml
## END PROCESSING ol5_x86_64_ksplice ##
## BEGIN PROCESSING ol5_x86_64_latest ##
Channel Dir: /var/www/html/yum/OracleLinux/OL5/latest/x86_64
Loaded plugins: refresh-packagekit, rhnplugin
This system is receiving updates from ULN.
Could not retrieve package alsa-lib-devel-1.0.17-1.el5.i386. Error was failed to retrieve getPackage/alsa-lib-devel-1.0.17-1.el5.i386.rpm from ol5_x86_64_latest
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Could not retrieve package alsa-lib-devel-1.0.17-1.el5.x86_64. Error was failed to retrieve getPackage/alsa-lib-devel-1.0.17-1.el5.x86_64.rpm from ol5_x86_64_latest
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Could not retrieve package alsa-utils-1.0.17-7.el5.x86_64. Error was failed to retrieve getPackage/alsa-utils-1.0.17-7.el5.x86_64.rpm from ol5_x86_64_latest
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Could not retrieve package 5:am-utils-6.1.5-9.el5_10.x86_64. Error was failed to retrieve getPackage/am-utils-6.1.5-9.el5_10.x86_64.rpm from ol5_x86_64_latest
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Could not retrieve package amanda-devel-2.5.0p2-9.el5.i386. Error was failed to retrieve getPackage/amanda-devel-2.5.0p2-9.el5.i386.rpm from ol5_x86_64_latest
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Could not retrieve package amanda-server-2.5.0p2-9.el5.x86_64. Error was failed to retrieve getPackage/amanda-server-2.5.0p2-9.el5.x86_64.rpm from ol5_x86_64_latestFirst, you need to upgrade to the latest version of uln-yum-mirror to avoid these errors in future. The latest version has mitigation tools to remove RPMs that fail GPG checking.
In this instance, you need to manually delete the RPMs that pyCURL can't download. Once you delete all the RPMs, the next run of uln-yum-mirror will download them fresh and recreate the yum metadata locally. -
Pacman -S usb_modeswitch URL returned error: 404
Hi, I have a raspberrypi board with archlinux
I'm trying to install usb_modeswitch with no success
[root@alarmpi ~]# pacman -Ss usb_modeswitch
community/usb_modeswitch 1.2.3-1
Activating switchable USB devices on Linux.
First search for package ok
Than resource not found...
[root@alarmpi ~]# pacman -S usb_modeswitch
resolving dependencies...
looking for inter-conflicts...
Targets (2): tcl-8.5.11-1 usb_modeswitch-1.2.3-1
Total Download Size: 0.04 MiB
Total Installed Size: 6.80 MiB
Proceed with installation? [Y/n] y
:: Retrieving packages from community...
error: failed retrieving file 'usb_modeswitch-1.2.3-1-arm.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files from community
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
Any thing wrong?
RegardsAlways use -Suy when installing packages, the current version is 1.2.3-2
Also we do not support archlinux-arm, it is an unofficial port and you should use their forum/irc channel.
Last edited by Mr.Elendig (2012-07-23 17:58:16) -
Hi Everyone,
I am connecting to an external web service from my biztalk application through a dynamic send port.
When my biztalk application is trying to send the request message to the web service through the send port, I am getting the following error :
The remote server returned an error: (403) Forbidden.
The external web service team have provided a certificate and a private key to install in my server.
I have installed the certificate by double click the .pfx file using the private key and have added the certificate in the host ProcessHostx64.
Still i am getting the same error.
Can someone help on this issue ?
Many Thanks,
Anand
S B AThe Private Key should be installed under the user running the BizTalk Server Host. Please confirm that you have done this?
If so, try to make this work in a small .NET test Application before porting it to BizTalk, so that you can confirm that you do have sufficient credentials to call the Service.
Morten la Cour -
hi
am using below code to get the byte array
byte[] myDataBuffer = client.DownloadData((new Uri(sourceUrl)));
for source of type .txt/.jpg no problem with accessing.but the file type with .master/.wsp/.cs
it is returning "The remote server returned an error: (403) Forbidden error for some file types" Error.how can i get rid of this.please help me
Thanks in AdvanceHi,
It seems there is something wrong with your code, from your code the account and key are the same, because their appsetting name are the same.
string account = ConfigurationManager.AppSettings["StorageAccountName"];
//string account = CloudConfigurationManager.GetSetting("StorageAccountName");
//string key = CloudConfigurationManager.GetSetting("StorageAccountAccessKey");
string key = ConfigurationManager.AppSettings["StorageAccountName"];
string connectionString = String.Format("DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1}", account, key);
return CloudStorageAccount.Parse(connectionString);
If you use CloudConfigurationManager.GetSetting, please consider set azure project as the startup project, if not, this value will be null, this resulted in solution being started as a web project that didn't run inside the Azure emulator. Since CloudConfigurationManager.GetSetting
tries to get setting by contacting Azure (or Azure emulator in this case), and it is not running, it returns null.
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
static class StorageUtils
public static CloudStorageAccount StorageAccount
get
string account = ConfigurationManager.AppSettings["StorageAccountName"];
//string account = CloudConfigurationManager.GetSetting("StorageAccountName");
//string key = CloudConfigurationManager.GetSetting("StorageAccountAccessKey");
string key = ConfigurationManager.AppSettings["StorageAccountName"];
string connectionString = String.Format("DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1}", account, key);
return CloudStorageAccount.Parse(connectionString);
I have a web project and I converted it to "MS Azure Cloud Service Project"
I make the Azure project default and run CreateAndConfigureAsync() to create the container. It works fine and creates the images container in Azure storage.
Then I make my web project default and change CloudConfigurationManager.GetSetting to ConfigurationManager.AppSettings in StorageUtils class and run the web app project. Then I get "The remote server returned an error: (403) Forbidden" error whencontainer.CreateIfNotExistsAsync()
line get executed.
What is the reason for this?
async public void CreateAndConfigureAsync()
try
CloudStorageAccount storageAccount = StorageUtils.StorageAccount;
// Create a blob client and retrieve reference to images container
CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
CloudBlobContainer container = blobClient.GetContainerReference("images");
// Create the "images" container if it doesn't already exist.
if (await container.CreateIfNotExistsAsync())
// Enable public access on the newly created "images" container
await container.SetPermissionsAsync(
new BlobContainerPermissions
PublicAccess =
BlobContainerPublicAccessType.Blob
catch (Exception ex)
}Hi,
It seems there is something wrong with your code, from your code the account and key are the same, because their appsetting name are the same.
string account = ConfigurationManager.AppSettings["StorageAccountName"];
//string account = CloudConfigurationManager.GetSetting("StorageAccountName");
//string key = CloudConfigurationManager.GetSetting("StorageAccountAccessKey");
string key = ConfigurationManager.AppSettings["StorageAccountName"];
string connectionString = String.Format("DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1}", account, key);
return CloudStorageAccount.Parse(connectionString);
If you use CloudConfigurationManager.GetSetting, please consider set azure project as the startup project, if not, this value will be null, this resulted in solution being started as a web project that didn't run inside the Azure emulator. Since CloudConfigurationManager.GetSetting
tries to get setting by contacting Azure (or Azure emulator in this case), and it is not running, it returns null.
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Getting "Error 403--Forbidden" while accessing ADF bookmarked URL
Hi,
Here am trying to work with an ADF application to suport bookmarking.
Following are the steps I did to create a sample application.
Created a bounded task-flow (user-details.xml), which has the "Method call" as default activity along with an another view activity(userData.jsff page).
This task-flow takes an input parameter "Id" to display user details. In the method call activity user data will be initialized using the given input parameter and then the data will be displayed using userData.jsff page.
Created a view activity (details.jspx page) in adfc-config.xml file.
Marked the "details.jspx" file as bookmark-able by changing "Bookmark property to true" and given a Bookmark URL Parameter "Name is Id and Value is #{pageFlowScope.user_id}".
Dropped the bounded task-flow user-details.xml as a region into the details.jspx file.
Now the user_id which is coming as URL Parameter will be passed to user-details.xml task-flows input parameter value.
Created users.jspx page which lists all the users as home page. In the users.jspx page we'll have a link to user details page with a parameter Id.
By running the application will get users page. When I click on the user details link in the users page, the app showing user details page as expected.
Now I bookmarked the user details page. If I open the bookmarked page in the same tab, it is working fine. But when I open this bookmark in a new tab getting the "Error 403--Forbidden" response.
Bookmarked URL: localhost:7101/BookmarkTestApp-ViewController-context-root/faces/user_details?id=123&_afrWindowMode=0&_afrLoop=4884151149818&_adf.ctrl-state=35yghmx4f_18
When I click the above bookmark in another tab the url is processing for few seconds ( 2 to 3 seconds) and converts to localhost:7101/BookmarkTestApp-ViewController-context-root/ and giving 403 response. At this time it is not touching my beans at all (verified this by running the server in debug mode).
Web.xml looks like:
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
<param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
<param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
<param-value>true</param-value>
</context-param>
<filter>
<filter-name>trinidad</filter-name>
<filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
</filter>
<filter>
<filter-name>adfBindings</filter-name>
<filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>trinidad</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<listener>
<listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
</listener>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>BIGRAPHSERVLET</servlet-name>
<servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>BIGAUGESERVLET</servlet-name>
<servlet-class>oracle.adfinternal.view.faces.bi.renderkit.gauge.GaugeServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>MapProxyServlet</servlet-name>
<servlet-class>oracle.adfinternal.view.faces.bi.renderkit.geoMap.servlet.MapProxyServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>GatewayServlet</servlet-name>
<servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/afr/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>BIGRAPHSERVLET</servlet-name>
<url-pattern>/servlet/GraphServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>BIGAUGESERVLET</servlet-name>
<url-pattern>/servlet/GaugeServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>MapProxyServlet</servlet-name>
<url-pattern>/mapproxy/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/bi/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>GatewayServlet</servlet-name>
<url-pattern>/flashbridge/*</url-pattern>
</servlet-mapping>
<mime-mapping>
<extension>swf</extension>
<mime-type>application/x-shockwave-flash</mime-type>
</mime-mapping>
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsff</url-pattern>
<is-xml>true</is-xml>
</jsp-property-group>
</jsp-config>
</web-app>
Am I missing any thing here.
Thanks in advance.
-Gopal.https://blogs.oracle.com/DavidGiammona/entry/why_do_i_get_this_error_403_--
-
Hi,
I`d like to get your advice on Server Error 403 - Forbidden: Access is denied. I use to visit a webpage with no issues so far but now i getting this error each time i`m trying to get into. Any ideas in how to solve it? A step to step process will be highly appreciated.
Thanks.
PS, I`m using the latest safari 8.0.3 and OS X 10.10.2.It's an error message from the web server, not from Safari. There's a slight chance that you might be able to clear it as follows.
From the Safari menu bar, select
Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data...
and confirm. Test. -
My website - Mousenstein.com - is under construction w/Dreamweaver + Flash.
I uploaded my files to my server.
I opened Firefox and entered the URL:
http://www.mousenstein.com
The error "403 Forbidden" appeared, and ...
You do not have the permissions to access.
I have tried to upload my site countless times, but never successfully - it is a huge headache. That said, I have never gotten the "403 Forbidden - no permissions" before.
All other failures threw the error "404, can not locate the URL "/" on this server.
Any help will be enormously appreciated.
P.S. : Are there permissions preferences on Firefox? I found one under Tools Menu, but it didn't seem to address my problem.
ThanksI get the same thing with Firefox, IE8, Opera, and Safari. It isn't a Firefox only problem.
Are you new to that webhosting service? <br /> Have you ever uploaded web pages to that same web hosting service previously, pages that worked after an upload? <br /> Are those pages listed as ''' "public" ''' pages in your web hosts control panel?
My suggestion is to "download" your homepage and associated files & images from your PC, up to the server, using your web hosts control panel and see how that works.
Beyond that, I suspect that you might have missed an important setting in Dreanweaver for uploading to the web host's server. You might try asking about this issue at a Dreamweaver support forum. -
The requested URL was not found error
Hi gurus,
I have a report that has a parameter file. When I call the report the parameter form is displayed but after I enter the parameter values and click SUBMIT QUERY, I receive this error:
Error: The requested URL was not found, or cannot be served at this time.
Oracle Reports Server CGI - Reports Server name is not specified.
The following is the URL that displays the parameter form
http://RZ-apps-svr/dev60cgi/rwcgi60.exe/getjobid113?server=RZ40Repser
Does anyone have an idea on how I can make this work.
Thanks"trying to run a report over the web"...
Can you type the exact string into the Address line of a browser and make it work?
I've had this error when
1. Typos
2. & where I should have a ?
3. I didn't have access to the DNS name
4. I was using .runtime from Java and forgot to throw in leading ^ before the \ to make things carry through correctly in NT
Pounding away at the Address line is the easiest way I've found to solve this problem, since 99% of the time it's a typo or malformed URL attempted to be sent via http: invisibly from my app.
Good Luck! -
Hi,
I'm trying to setup an App-V environment in my lab.
I've used the App-V 5.0 Trial guide to help me configure all necessary components.
I'm able to install everything without error.
when come time to publish an app, it simply doesn't show up on my client.
after looking at events on the client and server, I found that the Publishing server is returning under Admin the following message.
'The request URL doesn't contain the query string for the client OS'
My setup is pretty simple.
App-V Server managament and Publishing on the same box
App-V database on my SQL server.
I'm able to see the publishing "webpage" by using http:://localhost:889.
It only display this :
-<Publishing Protocol="1.0"
<Packages />
</Publishing>
I've published one app from the management console.
any idea what could mean this error?
thanksHi,
thanks for the link.
I've validated the suggested debug steps. It seems that the problem is with my Publish server again.
I've looked in the web.config file. It seems to be missing some parts compare to the example provided.
Again, I've published an application from the management console. Management and Publishing are running on the same box, while SQL is remote.
Here's the web.config
<?xml version="1.0" ?>
- <configuration>
- <system.web>
<compilation debug="false" targetFramework="4.0" />
<machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" />
- <authentication>
- <!-- We don't support form authentication, but this will supress x-ray security warning
-->
<forms requireSSL="true" />
</authentication>
</system.web>
- <system.webServer>
- <modules runAllManagedModulesForAllRequests="true">
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</modules>
- <security>
- <requestFiltering>
- <verbs>
<remove verb="GET" />
<add verb="GET" allowed="true" />
</verbs>
</requestFiltering>
</security>
</system.webServer>
- <system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
+ <behaviors>
- <serviceBehaviors>
- <behavior name="">
<serviceAuthorization impersonateCallerForAllOperations="true" />
<serviceMetadata httpGetEnabled="false" httpsGetEnabled="false" />
</behavior>
</serviceBehaviors>
</behaviors>
- <bindings>
- <webHttpBinding>
- <binding name="SecureBinding">
- <security mode="Transport">
<transport clientCredentialType="Windows" />
</security>
</binding>
<binding name="UnsecureBinding" />
</webHttpBinding>
</bindings>
- <protocolMapping>
<add scheme="http" binding="webHttpBinding" bindingConfiguration="UnsecureBinding" />
<add scheme="https" binding="webHttpBinding" bindingConfiguration="SecureBinding" />
</protocolMapping>
- <standardEndpoints>
- <webHttpEndpoint>
- <!--
Configure the WCF REST service base address via the global.asax.cs file and the default endpoint
via the attributes on the <standardEndpoint> element below
-->
<standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true" />
</webHttpEndpoint>
</standardEndpoints>
</system.serviceModel>
</configuration> -
Gives error The requested URL "/", is invalid but I gave a valid format
I gave firefox 3.6.6 what I think is a properly formatted URL, namely http://www.3dfx.com. Firefox changes this to http://www.3dfx.com/ I think the added / indicates it got a response from the URL I gave but then it says The requested URL "/", is invalid.
Reference #9.eb4a595.1295368725.9366789
so it seems like it did not understand the format. By comparison, I enter http://www.purdue.edu and it is changed to http://www.purdue.edu/ and the page is displayed.Here's a (maybe THE) solution, assuming you have the HTTPS Everywhere add-on installed. If not, then this will probably be of no help at all (sorry).
I was having this exact issue, only when attempting to reach the Washington Post website, which had always worked for me without problems before. I received this error message:
The requested URL "/", is invalid.
To make matters even more confusing, I could reach the desired web site (using the same URL--http://www.washingtonpost.com) on the same PC using Internet Explorer, and on another PC using Firefox.
After an annoying search, Googling this error message, and trying a variety of suggested remedies, I was finally able to resolve the problem by changing the settings for the Firefox add-on HTTPS Everywhere.
In Firefox, click on the Tools menu, then select Add-ons, then click on HTTPS Everywhere and click on the Options button. The HTTPS Everywhere Preferences screen will appear asking, "Which HTTPS redirection rules should apply?"
Uncheck the website you're having the problem with and click OK. That should solve the problem. At least, for me it ended the problem immediately, without restarting Firefox, my PC, my router, or any of the other "remedies" I had tried during my earlier troubleshooting efforts. -
I just installed an envy 411a, enabled eprint on the printer and received printer code. I registered iPhone just fine but can't register on eprintcenter.com. I tried signing in with my HP online account name: that didn't work. I tried setting up a new account and recieved the following message: Ajax submit failed: error = 403, Forbidden
Any advice?I just viewed the website on my computer, and it appears to be working okay on my end. It's possible that there's a setting in your web browser responsible for what you're seeing. I would recommend trying the following steps:
1. Try to view the site in a different web browser to see if that's the issue. Normally, Internet Explorer, Google Chrome, Firefox, and Safari all display the website properly. Try one or two of those (other than the one you've been using) and it should do the trick.
2. If that doesn't work, try resetting Internet Explorer's default settings by clicking "Tools" (on the top menu bar), "Internet Options" (usually at the bottom of that list), "Advanced" (far-right tab), and "Reset" (towards the bottom-right of that box). After resetting the defaults, try viewing the ePrint Settings area again.
If I have SOLVED your issue, please feel free to provide KUDOS and make sure you mark this thread as SOLUTION PROVIDED!
Although I work for HP, my posts and replies are my own opinion and not those of HP. -
HTTP connection to ABAP Runtime failed. Error: 403 Forbidden URL
HI experts,
I am tsting Test configuration in ID in Quality environment. I am getting below error for all interfaces.
but same interfaces are working fine in Develoment environment.
Internal Error
HTTP connection to ABAP Runtime failed. Error: 403 Forbidden URL: http://abcdxi06.abcdk.abcpower.com.sg:8000/sap/xi/simulation?sap-client=300 User: PIDIRUSER.
thanks
SrinivasSimilar problem discussed here:
HTTP connection to ABAP Runtime failed : 403 : forbidden
Error testing configuration: "HTTP connection failed"
Check if the port is defined, as suggested in second link.
Regards,
Abhishek.
Edited by: abhishek salvi on Oct 1, 2009 1:27 PM
Maybe you are looking for
-
ABZO Posting with T Type 100 By LSMW ( with Dep areas restriction)
Hi Gurus I have few hundreds of Assets that are created before the Activation of New dep Areas. Now i have to updated the Acquisition costs to those 10 and 11 Dep areas only. I am able to do the update the acquisition costs to Asset master by ABZO tc
-
What are the limits of using windows internal database in RMS?
hi, We dont have SQL server to use and opting to use windows internal database What are the limits of using windows internal database in RMS? tnx
-
Switch windows within program in text edit in yosemite
When I started using Mac (back with 10.4 or someting) you could switch windows within programs using cmd+< or cmd+shift+< (cmd+>). This worked for every program, and I see it as an essential core to how OSX handles it's programs windows. And it's a r
-
Error when updating PSE 9.x
I keep getting the error below when I attempt to install the update. Sony VAIO, I7 processor. NVIDIA Geforce, running Windows 7 64-bit.. Any and all help is much appreciated. Regards...Todd
-
How to re-download purchased books on Ditigal Editions
I use a PC. I have recently been affected by malware, and all of my digital edition books I purchased are encrypted. How can I re-download the copies of these books I purchased already?