Quantcast
Channel: Adobe Community : Popular Discussions - ColdFusion
Viewing all 14291 articles
Browse latest View live

peer not authenticated error CFHTTP

$
0
0

Hi

 

I'm trying to call a web page using cfhttp. The url works fine and returns XML when called directly from the browser (any browser) but fails with the following error message when called from a .cfm file using cfhttp:

 

struct
Charset[empty string]
ErrorDetailI/O Exception: peer not authenticated
FilecontentConnection Failure
Header[empty string]
MimetypeUnable to determine MIME type of file.
Responseheader
struct [empty]
StatuscodeConnection Failure. Status code unavailable.
TextYES

 

Symptoms:

It's a secured url (https) so I've attempted using the port 443 (which I verified with the vendor) and a plethora of other combinations of parameters.

I was reviewing past errors like this via Google searches on different CF forums where they stated that the solution was either a bug fix from Adobe or that you needed to download the security certificate onto your own server, but all of those references were to CF9, and I'm running CF10. I've been able to use CFHTTP on other SSL protected sites and the response comes back just fine, just this particular URL. Why would this URL fail with this message and not others? And why would the url display without error from a call from a browser but not CF10?

I was also able to make the call to the page successfully using the command line tool curl.

 

What do I need to do with ColdFusion10 to get my CFHTTP requests to work?

 

Thanks in advance,

 

Rich


ColdFusion 8 Download

$
0
0

Figures, my edition of CF8 gets corrupted on my server two days after CF9 launches so when I went to download a fresh copy, I can't find it. Does anyknow know where I can find a download for CF8?

Please Help - Randomly HTTP 503 Internal server error

$
0
0

Hi all,

 

 

I have a Coldfusion 10 standard Edition installation with MSSQL 2005 on Windows Server 2008 R2 server about 2 week old.

It is one of my live server and it is dealing with medium to high volume of traffic.

 

 

Since deploying this server, it has been getting random HTTP 503 internal server errors,

which require the entire server restart (as coldfusion application server, IIS restart will not able

to resolve the problem). Within this two weeks, sometimes it can last for couple of days without problem,

and sometimes it require 4-5 times server restart within one day.

 

 

I can't replicate the error on demand, but I could paste one of the windows server event log here:

 

 

          Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7afa2

          Faulting module name: isapi_redirect.dll, version: 1.2.32.0, time stamp: 0x4f745a78

          Exception code: 0xc0000005

          Fault offset: 0x000000000000cd68

          Faulting process id: 0xfd4

          Faulting application start time: 0x01cd745ad58e3393

          Faulting application path: c:\windows\system32\inetsrv\w3wp.exe

          Faulting module path: C:\ColdFusion10\config\wsconfig\1\isapi_redirect.dll

          Report Id: 144b3231-e04e-11e1-8e6d-00505687001e

 

 

And I started suspecting the problem is because the connector comes with coldfusion 10, based on one of the bug reports from apache

https://issues.apache.org/bugzilla/show_bug.cgi?id=48826.

Based on the information in log file, they are pretty similar.

 

 

Any suggestions on how to fix this random server error would be greatly appreciated!

 

 

Many thanks

 

 

Ryan

Multiserver Monitor Permission Denied...

$
0
0

So I've been dealing with this for years now, since version 8 and now with version 9 of

Coldfusion.  I can't ever get my multi-server monitor to monitor more than the local server from which I run the multiserfver monit

or.  I've edited the multiservermonitor-access-policy.xml to use the following line:

 

<allow-access-from domain="*" />

 

However, that doesn't work even after restarting Coldfusion.

 

Does anyone have this working?  I think I'm about to buy fusion-reactor so I can actually monitor my servers but it's always frustrating when something that should be pretty simple just doesn't work right.  Thanks in advance for any input.

 

...Brad

Verity Spider - Bad Keys

$
0
0
This is my spider:
C:\CFusionMX7\verity\k2\_nti40\bin\vspider -style C:\CFusionMX7\verity\Data\stylesets\ColdFusionVspider\ -collection C:\CFusionMX7\verity\collections\RHSpider -starthttp://localhost -cgiok -abspath -reparse -indmimeinclude text/* -indmimeexclude text/css -prefixmap spidermap.txt -loglevel verbose
pause
It looks like it runs fine, as it scrolls I can see buch of inserts, 404's and so on.
When it comes to the end it says 2233 documents subited for insert, but then it says that it found 2233 bad keys.
So it doesn't adds anything to the collection. Does any1 knows why it's doing this?

Coldfusion 11 cfheader or cfcontent 'failed to load PDF document'

$
0
0

I have a website that worked fine with Coldfusion 10 and now I have updated to Coldfusion 11 and this code doesn't work:

 

<cfheader name="content-disposition" value="inline; filename=#vPublicFile#" />

<cfcontent type="application/pdf" file="#DownloadFolder##qryDownload.fileNameOnserver#" deleteFile="no" />

 

If I type in the URL directly to the PDF file it loads fine, but if I try to get it through this code then I get the message "failed to load PDF document".  Even if I change the code to allow me to save the file, I get a saved file but it won't open in acrobat.

 

I know the code is working code, I tried it with Coldfusion 10 again just to make sure.  Something about 11 is stopping it from working.  Any ideas?

Help me figure this hack out.

$
0
0

So as i was opening my presents with my family Christmas morning when my web server emailed me to let me know that a file had been created in my /CFIDE/ folder. This file was h.cfm and it was a nifty little tool used to scan files - copy files - dump SQL passwords - run commands - upload files ect....

 

My setup is CF9.0.1 on win server 2008 with mySQL5.5 . The servers only purpose is to host a few websites for my company. I poured over my IIS logs and could not find any trace of a connection to the webserver while this was happening. I then started looking at the http.log file in coldfusion server and found that it contained 2 entries at the time of the attack. Both looked like this... note i've removed the IP of the server. This file is the file that was uploaded to my server.

 

25-Dec-2012    6:54 AM    Information    jrpp-6969  Starting HTTP request {URL='http://IPAddress:80/CFIDE/h9.txt', method='get'} 

 

There was nothing before this connection and nothing after it.  It looks like some how my server was told to make a call to here.  Nothing in any logs regarding the use of the h.cfm, no loggs in IIS showing suspicious page hit before and nothign suspicious after.

 

Am i missing something??? this is driving me nuts! The other weird thing about this attack was that they didn't touch any websites they copied the ColdFusion9\updater_backup\ folder and a few other odd things off the server.

 

Any insight into anything that went on would be helpful... even if it's just a guess that points me in the right direction.

 

Thanks,

JB.

Coldfusion 10 + Apache + Flex2gateway + Debian/Linux

$
0
0

I had a battle with this, I've googled and seen more than 100 results and have not found the solution.

 

I installed many times "Coldfusion", in different ways, in different distributions of linux and can not find the solution to the much hated "flex2gateway", tryig so many fixes but none worked for me, I keep getting the 404.

 

System details: Debian Wheezy (7.0), Coldfusion 10, Apache 2.2.22

 

I hope someone can help me.


Updating a database value when you don't have the current value

$
0
0
I need to write a query that updates the amount of points a user has, even though i don't know how many they have currently. This is part of a referal program. When a user gets another user to join, the original user gets 15 more points. The problem is I do not want to write a query that finds how many points the original user has because that seems wasteful. It should look something like..
<cfquery datasource="users" name="givepoints">
Update users
set points = [whatever the current value is + 15]
where userlogin = form.referer
</cfquery>
That line that has the value in the brackets is where i am confused. I don't know the current value so how can i add 15 to it?

Report Builder, Am I missing a trick?

$
0
0

Forgive me if I have missed something but here is what I seem to think about Coldfusion report builder.

1 - The v11 is the same as v10.

2 - It hasn't changed really since it was first released.

3 - It still isn't available for anything other than windows.

4 - There seems to be a new option in CFreport to allow cystal report files to be served but the version of crystal is long since discontinued.. odd.

 

so with that I can't help wonder:

 

What exactly do adobe want you to use for building reports within coldfusion? Are they really wanting us to use something else? maybe Jasper?

If I have a mac then are they saying that even though they have a product (coldfusion) that is developed to run on a mac (because they want mac users to use it) then you can't develop reports.

Why would they add support for crystal v12 that is as old as me!

 

what have I missed?

What replaces connectstring

$
0
0

Hello,

 

Currently trying to work on a "project" in which I would be updating an application to use CF11, I believe its still using 7 at the moment. I've been searching online and haven't had any luck so far. As of CF11 connectstring was removed, what can I use in place of it? I've looked for old documentation and that's hard to get a hold of, but I believe it was deprecated in CF5. I don't necessarily NEED the answer (while that would be helpful), even some direction on where to look would be nice.

Problem with ColdFusion 10 Apache 2.2.3 install

$
0
0

Ok so I'm having a hard time getting CF10 64bit installed on Red Hat Enterprise Linux 5.10

Apache version: 2.2.3

 

I have installed CF10 but when I try to restart Apache I get this error:

 

Starting httpd: http: Syntax error on line 992 of /etc/httpd/conf/httpd.conf:

Syntax error on line 2 of /etc/httpd/conf/mod_jk.conf

Cannot load /opt/coldfusion10/cfudion/wsconfig/1/mod_jk.so into server: /opt/coldfusion10/config/wsconfig/1/mod_jk.so

unidentified symbol: a_get_server_description

 

Everything else seemed to work just fine but I can't get Apache to restart due to this error.

 

Does anyone have any suggestions to try?

 

TIA

CFID and CFTOKEN still set when using J2EE sessions

$
0
0

I'm using CF10 and "Use J2EE session variables" is selected in the CF admin.

 

When I visit an application, I get the JSESSIONID cookie, but I also get the CFID and CFTOKEN persistent cookies. The app I'm working with is older and uses Application.cfm instead of Application.cfc, but the clientmanagement and setclientcookies application attributes are set to false.

 

I'm not sure why CFID and CFTOKEN are still set. Are they set regardless of the client and session management settings?

ColdFusion 8 Download

$
0
0

Figures, my edition of CF8 gets corrupted on my server two days after CF9 launches so when I went to download a fresh copy, I can't find it. Does anyknow know where I can find a download for CF8?

Password not accepted on new CF 11 installation migration wizard (enter.cfm)

$
0
0

Hi having an issue on the initial migration wizard page (enter.cfm) - it won't take my administrator password (reinstalled CF 3 times) and double sure I am typing the correct password - anybody else have similar issues?


CF11 clean install

Windows 2008R2
IIS7.5


ColdFusion Builder 3 Settings Reset on Restart

$
0
0

I've downloaded the ColdFusion Builder 3 trial and am experiencing some odd and very annoying behavior.

 

I've customized some code editor text font and color settings. I've added an entry to the CF Servers panel for an instance of ColdFusion 10 running inside a VMWare virtual server on my laptop.

 

When I restart Eclipse, all the code customizations I've made are reverted back to the default install settings and the entry in my CF Servers panel is gone.

 

I've been an IntelliJ user for well over a year, but in doing much more cfscript-based development the CF Plugin for IntelliJ is proving to be a hindrance so I thought I'd give CFB 3 a try and see if there were any improvements over CFB 2. However, I can't take this kind of behavior. Hopefully someone can give me a setting or someone else has seen this before and can give me an idea of where to start looking.

 

I have CF Builder installed as a plugin into Eclipse Kepler 64-bit for Mac. I added the CF Builder update site and have updated to CF Builder 3.0.0.290000. I also previously installed as the standalone version with no additional plugins and experienced the same behavior.

 

Anyone have any ideas?

 

Thanks,

Dan

Yet another CFIDE vulnerability!

$
0
0

 

RE: http://www.adobe.com/support/security/advisories/apsa13-03.html

 

Open letter to Adobe…

 

 

Adobe,

 

Please assign someone to trend all the ColdFusion vulnerabilities for the last five years. I am certain you'll find that a vast majority of them revolve around the CFIDE directory. Idea: Instead of endlessly patching the CFIDE modules every time a vulnerability is found or exploited, if you were to eliminate the CFIDE directory ColdFusion would probably be one of the more secure web platforms on the market. Just a thought.

 

For users of ColdFusion, my advice is to remove the CFIDE virtual directory from all your public facing sites. If your site requires the CFIDE/scripts directory, point the CFIDE virtual directory to an empty directory and then create a "scripts" virtual directory under it and point it to the original /CFIDE/scripts location. Poof -- probably 80% or more of the CF vulnerabilities avoided.

 

ColdFusion is a great platform and can be very secure -- minus the CFIDE.

 

Multiple application pools for ColdFusion possible in the same IIS website?

$
0
0

I would like to set up a single website with CFM11 under IIS8.5

In this website there are several CFM applications, each under a different "Application" subfolder. For security purposes, monitoring and separate maintenance shutdowns per application, these would all need their own "application pool".

However, this means that these applications should run under a different application pool than their website root node. In IIS this causes a 403.18 exception:

 

HTTP Error 403.18 - Forbidden

The specified request cannot be processed in the application pool that is configured for this resource on the Web server.

Most likely causes:

•An ISAPI filter or custom module changed the URL to run in a different application pool than the original URL.

•An ISAPI extension (or custom module) used ExecuteURL (or ExecuteRequest) to run in a different application pool than the original URL.

•You have a custom error page that is located in one application pool but is referenced by a Web site in another application pool. When the URL is processed, it is determined by IIS that that it should have been processed in the first application pool, not the other pool.

•The Web site has multiple applications configured. The application this request is configured to run in is set to run in an application pool that does not exist.

 

All works fine if the "applications" in the subfolders run under the same application pool as the website root. However that is not my preferred setup... The behaviour is consistent over all CFM-applications that I deploy, no matter how simple they are...

 

Two questions:

- is coldfusion actually looking to "higher" folders than I expect it to? (and can that be avoided)

- any hints or experiences on how to avoid / solve this issue?

Server Error - Macromedia application server(s) are unreachable

$
0
0
For my test environment, I've got a ColdFusion 8 instance running on Windows 2003 Server. Everything was fine until I rebooted the server. Then I started getting an error message:

quote:

Either the Macromedia application server(s) are unreachable or none of them has a mapping to process this request.


My first thought was an application mapping error or something happened to the .cfm mappings. Everything checked out fine though. So I looked in the wsconfig log files and saw this.

quote:

2008-06-04 16:54:58 jrISAPI[ 760:1048] could not initialize proxy for 127.0.0.1:51800
2008-06-04 16:54:58 jrISAPI[ 760:1048] Couldn't initialize from remote server, JRun server(s) probably down.


Something was definitely running on port 51800 though since I could telnet to it. No clue why it couldn't initialize. Any ideas?

Thanks.

Steve

Upgraded to CF11: cflayout tabs shows scrollbars

$
0
0

After upgrading from ColdFusion 10 to ColdFusion 11, vertical scrollbars are now showing up in cflayoutarea.

 

We use ColdFusion.Navigate to submit data and refresh a cfdiv that is inside cflayoutarea.  Upon submission, the cfdiv shows the new data as expected, but the user must scroll down within the tab to view the data.

 

I have tried setting the style height:100% on both cflayout and cflayoutarea.  I have also tried overflow: visible.  I also tried the overflow attribute of cflayoutarea, but this is ignored.

 

Any help would be appreciated.

 

Thanks,

Ron

Viewing all 14291 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>