http://coldfusion.com logo
d

Daniel Mejia

07/15/2022, 4:36 PM
Long time observer, first time user! I can't find an explanation to the following type of transaction in my Application, as seen by FR 1. See screenshot. The profile says the request took 20ms and was a 500 error. Yet there is no error output.
b

bdw429s

07/15/2022, 4:43 PM
@Daniel Mejia Just because a request returns a 500 status code, doesn't mean there was an unhanded exception in the page. In fact, it doesn't mean there were any exceptions at all!
Is there any info on the "errors" tab across the top?
d

Daniel Mejia

07/15/2022, 4:43 PM
2. This error doesn't appear in any of the cf logs. Why would FR catch this error and not the cf logs? 3. The GET request is passing my tests. so why is FR seeing a a 500?
oh ok. No, there is no info in the Errors tab.
b

bdw429s

07/15/2022, 4:44 PM
I'm not super familiar with the cloud based UI it seems to are using, so I'm not sure exactly what they put in the "error output" tab at the botton
Not sure, but in my experience, what FR tells you is generally more trustworthy than what your logs tell you, lol
I've seen it catch errors before that I never knew were happening
If you hit that exact URL in your browser, what is the status code you get back?
d

Daniel Mejia

07/15/2022, 4:46 PM
200
b

bdw429s

07/15/2022, 4:46 PM
Also, can you hit the on-prem FR UI? It usually has more info
Do you have the ACF option enabled to return a 200 status code for errors?
d

Daniel Mejia

07/15/2022, 4:47 PM
hmmm
b

bdw429s

07/15/2022, 4:49 PM
Also, do you understand what I mean when I say the on prem UI?
d

Daniel Mejia

07/15/2022, 4:50 PM
Yes I think but when I tried it yesterday it wasn't found. Probably because I"m on CLOUD version.
Idk but so far this sucks.
b

bdw429s

07/15/2022, 4:59 PM
@Daniel Mejia Having a cloud license doesn't mean you can't access the on prem UI
It depends on how you've installed it as to how you'd access it
Normally there are two differnt ways ā€¢ a separate port configured in the JVM args ā€¢ a specific servlet route if the external server is active
Bullet 1 is the most common, but you have to hit it directly on the server-- it wont' work hitting a proxy to the server that only proxies port 80/443
d

Daniel Mejia

07/15/2022, 5:01 PM
I followed the installation guide on their docs. a few commands to download some files, updated the JVM settings and restart CF service. Seemed straight forward. Cloud UI started to gather information right away.
b

bdw429s

07/15/2022, 5:02 PM
@mflewittintergral It would be super useful if this little banner in the console output listed what URL/port FR would be available on šŸ™‚
Copy code
[INFO ] Fusionreactor: --------------------------------------------------------------------------------------
[INFO ] Fusionreactor: FusionReactor - Copyright (C) Intergral GmbH. All Rights Reserved
[INFO ] Fusionreactor: Revision:  8.8.0 fusionreactor.10647.964d5a1e.8.8.0
[INFO ] Fusionreactor: Date    :  Tue, 28 Jun 2022 17:20:00 GMT
[INFO ] Fusionreactor: Java    :  11.0.15 [11.0.15+10] Eclipse Adoptium (64 bit)
[INFO ] Fusionreactor: OS      :  Windows 7 [6.1] amd64
[INFO ] Fusionreactor: -------------------------------------------------------------------------------------
@Daniel Mejia So, are you going to show me the JVM args, or let me just sit here guessing? šŸ˜‰
d

Daniel Mejia

07/15/2022, 5:03 PM
oh yes
ah sorry but JVM settings tab is now loading. its just a blank page. I don't normally experience this. There are only a few tabs that load.
not useful at all, but here is what is happening with CF Admin :
This is not a commandbox server. Soon it will be though.
b

bdw429s

07/15/2022, 5:20 PM
Weird-- I think you have a couple compounding issues going on
Can you just look at the hard drive of the server to see the JVM args?
They are in the
jvm.config
file
Assuming this is a standard CF/bundled Tomcat install
You may want to delete that as it has your FR password
So it looks like it's on the default port of 8088
So just hit
Copy code
yourserver:8088
d

Daniel Mejia

07/15/2022, 5:32 PM
message has been deleted
b

bdw429s

07/15/2022, 5:32 PM
Just keep in mind, you have to hit it directly-- not through a proxy unless that proxy is specifically handling that port!
d

Daniel Mejia

07/15/2022, 5:32 PM
yeah I have tried hitting that and its not found
b

bdw429s

07/15/2022, 5:33 PM
Then you're probably hitting IIS or Apache, not Tomcat.
If this is Windows, just RDP into it and hit localhost:8088
d

Daniel Mejia

07/15/2022, 5:34 PM
thats exactly what I'm doing. i'm in RDP
b

bdw429s

07/15/2022, 5:34 PM
And you hit localhost?
d

Daniel Mejia

07/15/2022, 5:34 PM
yup
b

bdw429s

07/15/2022, 5:34 PM
Another trick is just to slap
/fusionreactor/
to the end of your URL
On your normal port
d

Daniel Mejia

07/15/2022, 5:35 PM
i've tried both customdomain.com:8088 and localhost:8088
ok
b

bdw429s

07/15/2022, 5:35 PM
Can you screenshot what you see?
d

Daniel Mejia

07/15/2022, 5:36 PM
message has been deleted
b

bdw429s

07/15/2022, 5:36 PM
That's not a "not found" error, that's an empty response
which is ...odd
It would appear there is a server there, but it sent back nothing
d

Daniel Mejia

07/15/2022, 5:37 PM
I actually restarted the VM 5 minutes ago. so now I'm getting am empty response.
b

bdw429s

07/15/2022, 5:37 PM
What if you hit
<http://customdomain.com/fusionreactor/|customdomain.com/fusionreactor/>
d

Daniel Mejia

07/15/2022, 5:39 PM
.com:8088/fusionreactor/ request doesn't finish.
without the port. API just says invalid event.
b

bdw429s

07/15/2022, 5:44 PM
You must have some URl rewrites that are getting in the way of the other version
I assume it's getting rewritten to
/index.cfm/fusionreactor
lol
I'd reach out to FR support
Unless they've changed something recently in how on prem is accessed, that should be working.
You can also dig into the console logs and FR logs if you want. They may have some clues
d

Daniel Mejia

07/15/2022, 5:45 PM
ok thank you
m

mflewittintergral

07/16/2022, 6:16 AM
Like Brad says, you can have an error without there being a stack trace attached. By default any 5xx status code will be flagged as an error https://docs.fusionreactor.io/Settings/Main-Menu/#error-exclusions
If you handed the exception and don't throw it, then we can't track it
With regards to the local FR you would want to run something like netstat to see if the port 8088 is established
šŸ‘ 1
And check the CF log to see if the port was ever bound by jetty
šŸ‘ 1
d

Daniel Mejia

07/20/2022, 10:32 AM
@mflewittintergral which specific CF log are you talking about?
m

mflewittintergral

07/20/2022, 10:34 AM
cf out or cf error normally
d

Daniel Mejia

07/20/2022, 10:36 AM
ok, neither of those have a log entry with anything "fusion reactor"
m

mflewittintergral

07/20/2022, 10:39 AM
if this is a windows service, the start up logs for CF are awful
d

Daniel Mejia

07/20/2022, 10:42 AM
i believe that. and yes, it is a windows service.
2 Views