These are chat archives for exceptionless/Discuss

5th
Apr 2016
Blake Niemyjski
@niemyjski
Apr 05 2016 00:03
WOOOT
Screen Shot 2016-04-04 at 7.01.36 PM.png
@ejsmith I won quantom break from the twitch broadcast
haha
sweet
get it on xbox one and pc
Eric J. Smith
@ejsmith
Apr 05 2016 01:25
Nice
Blake Niemyjski
@niemyjski
Apr 05 2016 02:38
@ejsmith exceptionless/Exceptionless.UI@a1968aa
:)
simplified them
and found two bugs too
were resolving project id’s and org ids by hitting the server on route change to verify they exist
bet that is slowing down page load time
but it’s a good way to ensure that the project or organization exists
thinking we should remove that
and just not show any data if it doesn’t exist
Blake Niemyjski
@niemyjski
Apr 05 2016 02:48
yeah
removed it
:)
much much snappier
one less request every time you change a project filter
Eric J. Smith
@ejsmith
Apr 05 2016 03:04
Nice job
dang
:)
look at app.js
Blake Niemyjski
@niemyjski
Apr 05 2016 14:06
@ejsmith @BillHenning
should we be caching the project count for 30 seconds reguardless of events coming in or not
i mean user count*
or some time frame
to me I’d expect it to be real time but it is a hit
haliphax
@haliphax
Apr 05 2016 14:23
I'm currently having an issue with self-hosted Exceptionless. I have a VirtualBox VM with port 50000 mapped through NAT, and the Exceptionless site is working fine -- I can create accounts, projects, organizations, etc. ... However, now that I'm testing a web app on my dev machine, I'm not seeing any events show up in Exceptionless. I'm currently testing with ExceptionlessClient.Default.SubmitLog.
I tried to see if I could watch it submit events in Fiddler, but nothing showed up pointing to the Exceptionless server
I have the <exceptionless /> item in my web.config, the API is correct, the serverUrl is correct, enableSSL is set to "false"
serverUrl does not include the /# on the end, though... should it?
I'm really excited to get this working, though, as I feel like this is the final step in bringing my organization into the modern world re: development practices :)
@niemyjski sorry, forgot to ping you :D
Eric J. Smith
@ejsmith
Apr 05 2016 14:26
@niemyjski I’d say that we should definitely cache it for a little while. Ideally we could invalidate it when new events are saved.
Blake Niemyjski
@niemyjski
Apr 05 2016 14:27
@haliphax enableSSL is no longer supported (please remove it). Have you set your elasticsearch.yml config
serverUrl should not include the /#
haliphax
@haliphax
Apr 05 2016 14:27
yes, I used the one it came with and just changed where the dirs point to
your docs still reference enableSSL ;)
Blake Niemyjski
@niemyjski
Apr 05 2016 14:28
@ejsmith but we could have events coming in every second
@haliphax do you know where it says to set it? Also you need to use our elastic search config or enable scripting
haliphax
@haliphax
Apr 05 2016 14:28
I am using your elastic search config
except for the directory mappings
Blake Niemyjski
@niemyjski
Apr 05 2016 14:29
Setup Elasticsearch (Linux, Windows) with our elasticsearch.yml config. We also have a guide located here.
haliphax
@haliphax
Apr 05 2016 14:29
yeah, I did already
Blake Niemyjski
@niemyjski
Apr 05 2016 14:29
hmm
ok
haliphax
@haliphax
Apr 05 2016 14:29
one sec
yeah pretty sure that's exactly the same as what i used
Blake Niemyjski
@niemyjski
Apr 05 2016 14:29
if you want to setup a team viewer meeting I’ll join it and take a look with you
haliphax
@haliphax
Apr 05 2016 14:29
just that I changed the work, logs, data dirs
Blake Niemyjski
@niemyjski
Apr 05 2016 14:29
I never set those on windows :)
haliphax
@haliphax
Apr 05 2016 14:29
I'm not sure if I can use TeamViewer, as I'm here at work
Blake Niemyjski
@niemyjski
Apr 05 2016 14:29
but shouldn’t matter
Eric J. Smith
@ejsmith
Apr 05 2016 14:29
yeah, but we could also be an hour before the next one comes in.
haliphax
@haliphax
Apr 05 2016 14:29
well I'll try with not setting those values
one sec
Blake Niemyjski
@niemyjski
Apr 05 2016 14:29
is there anything you can use?
Eric J. Smith
@ejsmith
Apr 05 2016 14:30
ideally we could cache it for a minumum of X but no max.
haliphax
@haliphax
Apr 05 2016 14:30
it's not a question of software compatibility
it's a question of my boss freaking out about security
Blake Niemyjski
@niemyjski
Apr 05 2016 14:30
Be more than happy to jump on and get everything working
haliphax
@haliphax
Apr 05 2016 14:30
one moment
Blake Niemyjski
@niemyjski
Apr 05 2016 14:30
hehe
@ejsmith if you have lots of errors it doesn’t really matter if you cache for 10 minutes
but if you have say 0 or 5 events
you don’t want anything cached
haliphax
@haliphax
Apr 05 2016 14:35
well, crap... now I can't log in any more :P
Blake Niemyjski
@niemyjski
Apr 05 2016 14:38
hehe
updating the config may have reset everything
just added a troubleshooting guide
haliphax
@haliphax
Apr 05 2016 14:39
says my email is still taken, but i'll get it figured out
Eric J. Smith
@ejsmith
Apr 05 2016 14:39
so this is used for the user counts?
haliphax
@haliphax
Apr 05 2016 14:40
is redis optional? i see it listed as such in one spot, but then in the v2 -> v3 upgrade, it says it is required
i do not have redis installed
Blake Niemyjski
@niemyjski
Apr 05 2016 14:41
@ejsmith yes
@haliphax yes it’s optional but recommended
if it’s a single node setup you do not need it
haliphax
@haliphax
Apr 05 2016 14:41
this will be single node, yeah
Blake Niemyjski
@niemyjski
Apr 05 2016 14:41
it’s required for the 2.0 to 3.0 upgrade as you have to run a job out of process and you need to queue the job work items from the web app
but not needed outside of that
haliphax
@haliphax
Apr 05 2016 14:42
so, where is user information stored besides elasticsearch? trying to remove my account, and i've already cleared the 'data' dir for elastic
Blake Niemyjski
@niemyjski
Apr 05 2016 14:42
so what I’d recommend doing is recycling the app
making a http post to elasticsearch (localhost:9200) with DELETE _all
and starting fresh
haliphax
@haliphax
Apr 05 2016 14:43
ergh; going to need curl or something
Blake Niemyjski
@niemyjski
Apr 05 2016 14:43
I’ve added all of the issues that I’ve seen recently
the biggest one is make sure your server has .NET 4.6.1 and all windows updates applied
haliphax
@haliphax
Apr 05 2016 14:43
'requirements' is a broken link, tries to take you to the edit page for Self Hosting
Blake Niemyjski
@niemyjski
Apr 05 2016 14:43
well I think you can do it witha git
here use this :)
install the sense plugin
haliphax
@haliphax
Apr 05 2016 14:43
i found it, just saying
Blake Niemyjski
@niemyjski
Apr 05 2016 14:44
localhost:9200/_plugin/marvel/sense/index.html
haliphax
@haliphax
Apr 05 2016 14:44
that is an elasticsearch plugin?
eh, has kibana as a dependency
i would rather reinstall :P
Blake Niemyjski
@niemyjski
Apr 05 2016 14:45
yeah
it’s just a plugin
you installed elasticsearch 1.7.5 right?
=2.0 is not supported yet
haliphax
@haliphax
Apr 05 2016 14:46
no, 1.7.3, because that's what the documentation said to install
Blake Niemyjski
@niemyjski
Apr 05 2016 14:46
we are waiting for version 5.1
ok
that works too :)
just updated the self hosted docs and .net config to remove enable ssl
should check that out and see if we can borrow anything. :-)
looks like its all D3.
Blake Niemyjski
@niemyjski
Apr 05 2016 14:49
yeah
:)
haliphax
@haliphax
Apr 05 2016 14:49
i have a curl.exe, copying it to the vm and trying the DELETE on /_all
Blake Niemyjski
@niemyjski
Apr 05 2016 14:50
just install sense
you can run it right from there with intellisense
got some really nice visualizations.
Blake Niemyjski
@niemyjski
Apr 05 2016 14:52
wow that’s really cool
that’s impressive
said using netdata can support 300 chart updates per second on a rasberry pi :)
Blake Niemyjski
@niemyjski
Apr 05 2016 14:56
so what do you think
Eric J. Smith
@ejsmith
Apr 05 2016 14:56
about?
Blake Niemyjski
@niemyjski
Apr 05 2016 14:58
caching
Eric J. Smith
@ejsmith
Apr 05 2016 14:58
I told you what I think.
Ideally we cache it for minimum of X time and max of forever.
that would be nice.
Blake Niemyjski
@niemyjski
Apr 05 2016 14:59
ok
yeah
I’ll figure something out
Eric J. Smith
@ejsmith
Apr 05 2016 14:59
I guess you are saying maybe add something like if it’s less than X then don’t cache it?
I am good with that.
Blake Niemyjski
@niemyjski
Apr 05 2016 14:59
would be cool if we had something like that in the cache client as an extension
Eric J. Smith
@ejsmith
Apr 05 2016 14:59
less then 50 then don’t cache it at all.
Blake Niemyjski
@niemyjski
Apr 05 2016 14:59
like looked up when it was set when you call expire
Eric J. Smith
@ejsmith
Apr 05 2016 14:59
not sure how we could do the minimum
Blake Niemyjski
@niemyjski
Apr 05 2016 15:00
and if its over the minimum it expires it
Eric J. Smith
@ejsmith
Apr 05 2016 15:00
lets just keep it simple...
under 50, don’t cache… over 50, cache for 30 secs.
Blake Niemyjski
@niemyjski
Apr 05 2016 15:00
yeah
Eric J. Smith
@ejsmith
Apr 05 2016 15:00
or maybe a minute
Blake Niemyjski
@niemyjski
Apr 05 2016 15:00
but we are doing this for terms
Eric J. Smith
@ejsmith
Apr 05 2016 15:00
thought it was just event count per project?
Blake Niemyjski
@niemyjski
Apr 05 2016 15:00
so guess I gotta build something out that checks the cache for every item
user count per project
Eric J. Smith
@ejsmith
Apr 05 2016 15:01
right
Blake Niemyjski
@niemyjski
Apr 05 2016 15:01
could probably use the same thing for event count
Eric J. Smith
@ejsmith
Apr 05 2016 15:01
yeah
should do them both at the same time
and cache them both
Blake Niemyjski
@niemyjski
Apr 05 2016 15:01
yeah
Eric J. Smith
@ejsmith
Apr 05 2016 15:01
it’s much more efficient to count both.
Blake Niemyjski
@niemyjski
Apr 05 2016 15:02
kinda nice to see project and org lists updating in real time
yeah
so did you see that elastic guys made a comment last night about reverting that behavior on .Index
to allow null
Eric J. Smith
@ejsmith
Apr 05 2016 15:05
nope, what did he say?
Blake Niemyjski
@niemyjski
Apr 05 2016 15:05
brb
haliphax
@haliphax
Apr 05 2016 15:07
did a DELETE against _all, got back { acknowledged: "true" }, still says my email address is taken
Blake Niemyjski
@niemyjski
Apr 05 2016 15:07
restart the app
and refresh the browser
both is cached
haliphax
@haliphax
Apr 05 2016 15:09
nope
iisreset and hard cache reset in browser, still taken
even rebooted
the /check-email call is returning a 404 it seems
that results in a 404
/api does too
ok replaced web.config, email check is doing 202 now
haliphax
@haliphax
Apr 05 2016 15:17
ok... at least got it back to where the admin UI is working :P
still not receiving events
I'll see about teamviewer
and windows updates
BBL
Blake Niemyjski
@niemyjski
Apr 05 2016 15:35
elastic/elasticsearch-net#1980
ok
@haliphax is there anything in the app_data/storage/q folder?
check event viewer and see if there are any errors
please keep me updated
I’m pretty flexible on what ever remote meeting tech you want to use as long as it’s not oracle :sparkles:
Blake Niemyjski
@niemyjski
Apr 05 2016 16:12
@frankebersoll is there anything that needs to be done for a js release?
kinda want to get one out there
I just pushed a release for tracekit which added support for parsing firefox 40+ stacktraces
and there was a pull request yesterday that fixed an issue with configuration passed into the constructor not working
Blake Niemyjski
@niemyjski
Apr 05 2016 17:20
@ejsmith those project stats are only ever loaded on the project page
doubt it’s worth caching them
all of our server side code is about to get complicated with ignoring doc total
and instead using sum:count
Blake Niemyjski
@niemyjski
Apr 05 2016 17:33
dang
it’s impossible to combine those two term results
cause ones on stack_id and the other on project_id
haliphax
@haliphax
Apr 05 2016 17:38
@niemyjski the app_data/storage/q folder is empty
just finished updates/reboot, going to try to send an event again
looks like there is an exception for elasticsearch's x86 service executable in the event viewer, but there aren't many details
Blake Niemyjski
@niemyjski
Apr 05 2016 17:43
hmm
what’s the /api/v2/status page say
is the service running?
haliphax
@haliphax
Apr 05 2016 17:43
yeah, service is running
{
"message": "All Systems Check",
"version": "3.3.2327 4cf70f24fd",
"website_mode": "Dev",
"machine_name": "WIN-MN7UGPF2BBD"
}
should I use a JDK instead of a JRE?
Faulting application name: elasticsearch-service-x86.exe, version: 1.0.15.0, time stamp: 0x51543b87
Faulting module name: jvm.dll, version: 25.71.0.1, time stamp: 0x56ef88c4
Exception code: 0xc0000005
Fault offset: 0x0015a66a
Faulting process id: 0x444
Faulting application start time: 0x01d18f618bf1d620
Faulting application path: C:\ElasticSearch\bin\elasticsearch-service-x86.exe
Faulting module path: C:\Program Files (x86)\Java\jre1.8.0_77\bin\client\jvm.dll
Report Id: c719d920-fb55-11e5-80ca-080027d3b939
Faulting package full name:
Faulting package-relative application ID:
Blake Niemyjski
@niemyjski
Apr 05 2016 17:44
I’m not sure
i think the jre should be fine
guess try the idk?
idk*
haliphax
@haliphax
Apr 05 2016 17:44
yeah i'll give it a shot
Blake Niemyjski
@niemyjski
Apr 05 2016 17:44
omg AUTO CORRECT
that’ should work
haliphax
@haliphax
Apr 05 2016 17:45
heh
back in 15m or so
Blake Niemyjski
@niemyjski
Apr 05 2016 17:45
guess I’d try running elasticsearch from the command line
and see if it throws an error
ok
there is a batch file to start it up in the elasticsearch\bin folder
Frank Ebersoll
@frankebersoll
Apr 05 2016 17:46
hey @niemyjski
no new stuff for JS yet
didn’t look into the build either, but I should
there is the new bundling and minification feature that could improve our bundle in regard to filesize
haliphax
@haliphax
Apr 05 2016 17:50
looks like there is also a "server" JRE and a "client" JRE, and I had the "client" one ... at any rate, installing the JDK now
fires up just fine
now using the "-server" option for java
still no events show up :(
Frank Ebersoll
@frankebersoll
Apr 05 2016 18:02
@niemyjski tsd is deprecated. should I migrate it to „typings“ (the new tsd thing)
haliphax
@haliphax
Apr 05 2016 18:06
trying a one-line console app to see if it's anything to do with my webapp config
just noticed that we are not checking values.Count before doing a bunch of async stuff
@frankebersoll yeah probably a good idea
lets do that
@haliphax what if you do /api/v2/events/submit?access_token=yourapikey&message=test
do you see anything at all put in the queue folder
cause you should
or anything in the archive folder
haliphax
@haliphax
Apr 05 2016 18:12
yes, manual http call did create an event
this is my entire app.config for the console app: https://oddnetwork.org/paste/view/raw/c1d8dbc3
but when I spy on the app with Fiddler, I never see any HTTP requests come out of it
getting somewhere :) seems like the server is good
I don't believe it's VirtualBox getting in the way... I compiled my console app, copied it onto the VM, and ran it locally; still no event
Blake Niemyjski
@niemyjski
Apr 05 2016 18:16
when you manually submit it it created it and you can view it in the dashboard?
haliphax
@haliphax
Apr 05 2016 18:16
yes, when I used my web browser to generate the event, it showed up
Blake Niemyjski
@niemyjski
Apr 05 2016 18:16
ok
that’s great :)
so must be the client
that looks good to me
haliphax
@haliphax
Apr 05 2016 18:17
what I did was
1.) create a new console app using .NET v4.5.1
2.) use NuGet package manager to install Exceptionless
3.) plug in my apiKey and serverUrl values
4.) profit?
Blake Niemyjski
@niemyjski
Apr 05 2016 18:17
the app is running on the server?
haliphax
@haliphax
Apr 05 2016 18:17
i tried running the app from outside of and inside of the VM
neither generates an event
Blake Niemyjski
@niemyjski
Apr 05 2016 18:17
@haliphax if it’s a console app and exiting right away
call Console.ReadKey() and give it 10 seconds
haliphax
@haliphax
Apr 05 2016 18:17
no, i put in System.Console.In.Readline() checks
Blake Niemyjski
@niemyjski
Apr 05 2016 18:17
you also need to Call Register() and submit something
haliphax
@haliphax
Apr 05 2016 18:17
but I can let it sit for 10 secs or so
Register() ?
Blake Niemyjski
@niemyjski
Apr 05 2016 18:17
ok
what package did you install
haliphax
@haliphax
Apr 05 2016 18:18
Exceptionless
Blake Niemyjski
@niemyjski
Apr 05 2016 18:18
"Exceptionless"
ok
haliphax
@haliphax
Apr 05 2016 18:18
and I'm trying this one line of code:
ExceptionlessClient.Default.SubmitLog("Testing!");
Blake Niemyjski
@niemyjski
Apr 05 2016 18:18
and in your app your calling Register
?
haliphax
@haliphax
Apr 05 2016 18:18
nope
wasn't aware I needed to for custom events
Blake Niemyjski
@niemyjski
Apr 05 2016 18:18
You need to do ExceptionlessClient.Default.Register();
haliphax
@haliphax
Apr 05 2016 18:18
eergh
Blake Niemyjski
@niemyjski
Apr 05 2016 18:18
right be fore that so the client can read the configuration
it’s in the readme ;)
client doesn’t know where to get the api key and server url from unless you do it
haliphax
@haliphax
Apr 05 2016 18:19
the quickstart for self hosting bounces you around a lot
Blake Niemyjski
@niemyjski
Apr 05 2016 18:19
register also wires up to error handlers
haliphax
@haliphax
Apr 05 2016 18:19
I figured it would pull it from web.config
so this is less automatic than I'd hoped
still, getting somewhere
Blake Niemyjski
@niemyjski
Apr 05 2016 18:19
it does if you are using the mvc or webforms packages
haliphax
@haliphax
Apr 05 2016 18:19
I couldn't get WebForms to work either though :P
Blake Niemyjski
@niemyjski
Apr 05 2016 18:19
yeah
you were missing the Register call
haliphax
@haliphax
Apr 05 2016 18:19
I'll see if I can get this console app working first
Blake Niemyjski
@niemyjski
Apr 05 2016 18:19
hehe
haliphax
@haliphax
Apr 05 2016 18:19
wait, so I do or do NOT need Register for webforms?
Blake Niemyjski
@niemyjski
Apr 05 2016 18:20
if you have feedback or could update our guides that would be greatful
haliphax
@haliphax
Apr 05 2016 18:20
hmm, ConfigurationErrorsException
Blake Niemyjski
@niemyjski
Apr 05 2016 18:20
for web forms it depends
haliphax
@haliphax
Apr 05 2016 18:20
Unrecognized configuration section exceptionless.
Blake Niemyjski
@niemyjski
Apr 05 2016 18:21
i say it depends because you do need to call a register or readconfig method if you are logging inside of the globalapplication object because the http module that reads the configuration is random and may start before or after the global application events..
so if you aren’t doing anything in there. then no you don’t need it
grr
haliphax
@haliphax
Apr 05 2016 18:22
we generally subdivide apps
Blake Niemyjski
@niemyjski
Apr 05 2016 18:22
your missing a config section
haliphax
@haliphax
Apr 05 2016 18:22
would NuGet not have created everything I need there?
it should have
are you running the latest version of nuget?
haliphax
@haliphax
Apr 05 2016 18:23
I thought I was
Blake Niemyjski
@niemyjski
Apr 05 2016 18:23
sigh
haliphax
@haliphax
Apr 05 2016 18:23
but yeah, looks like configSections is missing
Blake Niemyjski
@niemyjski
Apr 05 2016 18:23
this should be dead simple
and we fail if anything fails while setting up.. I’ve seen nuget just bail while running powershell scripts for no reason
usually it’s an out of date nuget client
if you create a new console project do you see the config section being added there?
haliphax
@haliphax
Apr 05 2016 18:24
no; this is a brand new console project
but let me make sure my nuget is up to date
Blake Niemyjski
@niemyjski
Apr 05 2016 18:25
when you get htis working can you create a new project and open up the nuget package manager console and type Install-Package Exceptionless
and let me know if you see any errors in there
haliphax
@haliphax
Apr 05 2016 18:25
yup
ack, I was on 2.8.2, now on 3.3.0
(nuget ver)
Blake Niemyjski
@niemyjski
Apr 05 2016 18:27
yeah
haliphax
@haliphax
Apr 05 2016 18:27
but yes, errors running Install-Package
Blake Niemyjski
@niemyjski
Apr 05 2016 18:27
can you try again and let me know
I’d restart vs :)
haliphax
@haliphax
Apr 05 2016 18:27
may need to restart package console to use new nuget
yeah
Blake Niemyjski
@niemyjski
Apr 05 2016 18:28
yeah, love nuget.. hurts our image and user experience
haliphax
@haliphax
Apr 05 2016 18:28
good in theory, but yeah... gets in the way sometimes :) just a new DLL hell
Blake Niemyjski
@niemyjski
Apr 05 2016 18:29
yeah
Frank Ebersoll
@frankebersoll
Apr 05 2016 18:29
we need to get that tracekit.d.ts out of our repository
Blake Niemyjski
@niemyjski
Apr 05 2016 18:30
yeah
feel free to delete it
Frank Ebersoll
@frankebersoll
Apr 05 2016 18:30
i think i know how… you have write permissions to the tracekit repo?
Blake Niemyjski
@niemyjski
Apr 05 2016 18:30
csnover/TraceKit#51
yeah
i manage it
we need to remove it from tracekit repo itself?
Frank Ebersoll
@frankebersoll
Apr 05 2016 18:31
no, it needs to be right there.
Blake Niemyjski
@niemyjski
Apr 05 2016 18:31
ok
let me know what I need todo
Frank Ebersoll
@frankebersoll
Apr 05 2016 18:31
we just need to add a line in package.json
Blake Niemyjski
@niemyjski
Apr 05 2016 18:31
ok
haliphax
@haliphax
Apr 05 2016 18:31
there is a problem with the powershell scripts:
https://oddnetwork.org/paste/view/raw/40f032db
Blake Niemyjski
@niemyjski
Apr 05 2016 18:31
want to send a pr
I contacted the owner asking to transfer it to our org this morning
he wanted to ensure I was serious about taking it over long term
@haliphax latest version of VS 13?
I’ll have to fire up a vm.. all I have is vs15
and we’ll start tracking it
haliphax
@haliphax
Apr 05 2016 18:34
Microsoft Visual Studio Professional 2013 12.0.40629.00 Update 5
hopefully we'll move to 2015 soon :(
console app is working now that I added that config section
I'll create an issue for you
Blake Niemyjski
@niemyjski
Apr 05 2016 18:35
thanks
@ejsmith did you make master a protected branch on all our projects
cause I can’t push to any of them
...
Frank Ebersoll
@frankebersoll
Apr 05 2016 18:38
@niemyjski filed pull request
Blake Niemyjski
@niemyjski
Apr 05 2016 18:39
do I need to create a new release?
Frank Ebersoll
@frankebersoll
Apr 05 2016 18:40
i think so.
Blake Niemyjski
@niemyjski
Apr 05 2016 18:40
ok
haliphax
@haliphax
Apr 05 2016 18:40
so, in a WebForms app, what steps do I need to take in order to have Exceptionless automatically capture exceptions? seems like it's not going to do anything unless I use Register here
the configSection is there, the packages are installed, the API key and server URL are in place...
module is inserted into web.config, etc.
Frank Ebersoll
@frankebersoll
Apr 05 2016 18:43
when we use protected branches, we can also use GitFlow :-)
Blake Niemyjski
@niemyjski
Apr 05 2016 18:45
yeah that is true
but sometimes you just want to commit to master with a one line fix
@haliphax just follow the readme
just gotta call register and thats it
wait webforms
you just need to install it and that’s it
trigger a 404 and you should see it show up :)
haliphax
@haliphax
Apr 05 2016 18:46
hrm
Blake Niemyjski
@niemyjski
Apr 05 2016 18:47
or submit a log message
are you seeing it?
I wish we could do a remote meeting so I could help first hand hehe
are you seeing a readme shown when you install our packages?
haliphax
@haliphax
Apr 05 2016 18:48
yes
well I see the readme
ExceptionlessClient.Default.SubmitLog("testing!") in page_load does nothing
:(
Blake Niemyjski
@niemyjski
Apr 05 2016 18:48
set a breakpoint
and look at Default.Configuration
haliphax
@haliphax
Apr 05 2016 18:48
k
Blake Niemyjski
@niemyjski
Apr 05 2016 18:49
if the api key or server url are not set
then there is some kind of configuration issue
Eric J. Smith
@ejsmith
Apr 05 2016 18:49
Yeah, I did. We can change it if it doesn't work for us, but we are pushing things to production automatically when we commit to master.
Blake Niemyjski
@niemyjski
Apr 05 2016 18:49
ok
Eric J. Smith
@ejsmith
Apr 05 2016 18:49
So seems like we probably want that.
Blake Niemyjski
@niemyjski
Apr 05 2016 18:49
I agree
Eric J. Smith
@ejsmith
Apr 05 2016 18:49
Let's try it for a while
haliphax
@haliphax
Apr 05 2016 18:51
yep, ApiKey is null, ServerUrl is "https://collector.exceptionless.io"
web.config for root of site has the configSections stuff and the exceptionless entry
Blake Niemyjski
@niemyjski
Apr 05 2016 18:51
what version of iis
are you using
casini?
could be that the version of iis you are using is not picking up the config
haliphax
@haliphax
Apr 05 2016 18:52
webforms app is hosted on IIS 7.5
for testing, anyway
are your modules running under system.webserver? which is the default but sometimes on older versions of iis
you may need to add the module to system.web
haliphax
@haliphax
Apr 05 2016 18:53
yep, that got the values pulled in correctly
:D
Blake Niemyjski
@niemyjski
Apr 05 2016 18:54
@haliphax I feel really bad… you normally don’t have any of this. and it seems like you hit a roadblock every step of the way
haliphax
@haliphax
Apr 05 2016 18:54
eh, I'm willing to spend the time working through it
still not sending an event though :P I'll dig a bit deeper into the breakpoint
Eric J. Smith
@ejsmith
Apr 05 2016 18:55
what did we learn?
Blake Niemyjski
@niemyjski
Apr 05 2016 18:55
but how many end users are also hitting this and not willing to spend the time
Eric J. Smith
@ejsmith
Apr 05 2016 18:55
Do we know why it didn't just work?
haliphax
@haliphax
Apr 05 2016 18:55
anything that involves developer tooling is bound to be a hassle
nuget versions, VS versions, IIS versions, windows versions, java versions
any one of those being "off" causes an issue
Blake Niemyjski
@niemyjski
Apr 05 2016 18:55
vs2013 and nuget isn’t adding the config section at least on the console package and he’s using older version of iis and needed legacy modules section
Eric J. Smith
@ejsmith
Apr 05 2016 18:56
That's why asp.net core will be really nice. No more web.config stuff.
Blake Niemyjski
@niemyjski
Apr 05 2016 18:56
yeah
haliphax
@haliphax
Apr 05 2016 18:56
well, if the networking guys gave me an actual server to test this on, then I wouldn't have hit that ;)
just trying this against my own win7 machine before I can get a real server
Blake Niemyjski
@niemyjski
Apr 05 2016 18:56
yeah
haliphax
@haliphax
Apr 05 2016 18:56
though exceptionless is being hosted in a VM with 2012r2
Eric J. Smith
@ejsmith
Apr 05 2016 18:56
So this is with VS2013 and which version of IIS?
Blake Niemyjski
@niemyjski
Apr 05 2016 18:56
we probably should install a fresh vm again and do client runthroughs to make sure it just works on a fresh install
haliphax
@haliphax
Apr 05 2016 18:56
just the webforms app I'm building is hosted outside of that
Blake Niemyjski
@niemyjski
Apr 05 2016 18:56
iis 7.5
Eric J. Smith
@ejsmith
Apr 05 2016 18:57
Isn't that still webServer?
haliphax
@haliphax
Apr 05 2016 18:57
I will absolutely be running this through from start to finish on 2012r2 with IIS 8.5+ soon
and I will document all of that for you
Blake Niemyjski
@niemyjski
Apr 05 2016 18:57
it should be.. but depends on compat mode? idk
Eric J. Smith
@ejsmith
Apr 05 2016 18:57
That would be awesome @haliphax !
Blake Niemyjski
@niemyjski
Apr 05 2016 18:57
and greatly appreciated
also if you have feedback on how to improve the self hosted install process
love to hear how we could make it smoother (less jumpy)
Eric J. Smith
@ejsmith
Apr 05 2016 18:58
So you are self hosting on 2012r2?
haliphax
@haliphax
Apr 05 2016 18:58
only issue I'm still running into now is the web forms app not submitting anything
we will be self hosting on 2012r2, yes
and that is how my VM is currently setup
Blake Niemyjski
@niemyjski
Apr 05 2016 18:58
@haliphax you could turn on client logging
haliphax
@haliphax
Apr 05 2016 18:58
the added weirdness is that I'm banging against it with a web forms app that's on the host machine, not the guest
different OS, different IIS version, etc.
client logging specifically for Exceptionless?
or broader?
yeah
haliphax
@haliphax
Apr 05 2016 18:59
gotcha
Eric J. Smith
@ejsmith
Apr 05 2016 18:59
I really want to make the process easier. There is a chocolatey package for it.
Blake Niemyjski
@niemyjski
Apr 05 2016 19:00
@ejsmith We’ve had 3 people run into issues in the past 2 days
Eric J. Smith
@ejsmith
Apr 05 2016 19:00
With self hosting?
Blake Niemyjski
@niemyjski
Apr 05 2016 19:00
all three were related to windows updates/didn’t have an up-to-date 4.6.1 install or missing the elastic configuration (yml)
yeah
I added a troubleshooting guide to it.
the to self hosting page
Eric J. Smith
@ejsmith
Apr 05 2016 19:01
Yeah do we have a requirements section?
Blake Niemyjski
@niemyjski
Apr 05 2016 19:01
yes
but in 2 of the three cases
they did a fresh server 2012 install
downloaded .net 4.6.1 offline installer
ran it
but never applied a single windows update
so there seems to be some 4.6.1 patches in the windows updates that are required
haliphax
@haliphax
Apr 05 2016 19:02
windows updates were at least part of my issue
Eric J. Smith
@ejsmith
Apr 05 2016 19:02
We are reliant on a Windows update?
Blake Niemyjski
@niemyjski
Apr 05 2016 19:02
because if you don’t run it and reboot teh server you get missing method exceptions
well could be that the server wasn’t rebooted after installing 4.6.1 too?
didn’t really narrow it down… but it’s a good idea to apply updates...
Eric J. Smith
@ejsmith
Apr 05 2016 19:02
Sure it's not just a reboot after 4.6.1?
Is this local or in Azure?
Blake Niemyjski
@niemyjski
Apr 05 2016 19:03
local
no issues reported from azure
Eric J. Smith
@ejsmith
Apr 05 2016 19:03
Ok
Blake Niemyjski
@niemyjski
Apr 05 2016 19:03
but our status page lies
we could really help people if we did something that checked scripting setting on elastic search
Eric J. Smith
@ejsmith
Apr 05 2016 19:03
Well it checks what it checks
Blake Niemyjski
@niemyjski
Apr 05 2016 19:04
cause events won’t be submitted without it
Eric J. Smith
@ejsmith
Apr 05 2016 19:04
Yeah, we could add it.
Blake Niemyjski
@niemyjski
Apr 05 2016 19:04
but project creation and things like that works
so your sitting there clueless
as to why events can’t be submitted
Eric J. Smith
@ejsmith
Apr 05 2016 19:04
Yeah
Should be easy to try and run something simple.
Blake Niemyjski
@niemyjski
Apr 05 2016 19:05
yeah
haliphax
@haliphax
Apr 05 2016 19:06
woohoo! IISRESET and it's sending log messages
now to force an exception :)
Blake Niemyjski
@niemyjski
Apr 05 2016 19:06
:)
haliphax
@haliphax
Apr 05 2016 19:10
now to get a presentation ready to show my boss so that I can get a decent server for this moving forward ;)
can't say enough how much better aware and prepared we will be once I have this rolled out into production
very happy to have found Exceptionless! :)
we're a not-for-profit university, so we can't really afford all of this SaaS stuff, and have to self host whenever we can
Blake Niemyjski
@niemyjski
Apr 05 2016 19:12
looks like we have a flakey metrics unit test for foundatio
yeah we understand :)
@haliphax we also offer free plans to everyone and free paid plans to anyone who contributes a significant change.
so feel free to use us for personal projects too :)
always be more than happy to help you self host too
just happy you are here
How did you find us?
haliphax
@haliphax
Apr 05 2016 19:32
urk, sorry, visual studio hung my entire machine
I think it might be the CodeMaid plugin :(
I will absolutely use this for personal projects; most of which are open source anyhow
I found you guys through an exhaustive search, actually
knew of services like RayGun and RollBar, and was trying to find if they allowed self hosting
which they do, but with a hefty enterprise license
so my search continued from there forward, until I found Exceptionless
I've already been spreading the gospel on www.reddit.com/r/selfhosted and other places :)
Eric J. Smith
@ejsmith
Apr 05 2016 19:36
Awesome!
haliphax
@haliphax
Apr 05 2016 19:40
up until last year, my organization's development "workflow" was making a backup copy of a file with a timestamp when you made changes, and tons of comments in files detailing ticket numbers and such
this year, I've managed to get most of our projects moved over to git on Bitbucket Server, built and tested through Jenkins, and deployed with Octopus Deploy
Exceptionless will be one more very nice feather in this cap :D
Eric J. Smith
@ejsmith
Apr 05 2016 19:41
Dragging them into the 2000's! :-)
haliphax
@haliphax
Apr 05 2016 19:41
haha yeah, basically
trying to bring a bit of what freedom I have in personal projects to the enterprise
I was working on an actor model implementation library in Python that uses unit tests, continuous integration with SemaphoreCI, and automated deployment to PyPI, and I kept thinking, "Why can't my day job be this awesome?!"
we are a web forms shop for 99% of our stuff, so unit testing is still a bit of an issue... but I've at least managed to implement the MVP pattern for a couple of our web forms apps so far
baby steps
ok that’s pretty cool
but it doesn’t seem like thie github for osx client supports committing with a gpg key cause it fails cause it doesn’t ask for your passphrase
@haliphax that’s pretty sweet :)
we’ve done a lot of work to our build process as well. seems like were learning something new every day
Eric J. Smith
@ejsmith
Apr 05 2016 20:18
Sounds like you have made a lot of progress
Don't know about that we forms stuff though. :-)
Webforms
Blake Niemyjski
@niemyjski
Apr 05 2016 20:28
@ejsmith "One idea came up this morning when I was reviewing exception reports with a colleague: When I have two developers working on the same project, it would be helpful if we had a way to indicate who is assigned responsibility for fixing a given exception. Then we would know it's "assigned" (and to whom it's assigned)."
exceptionless/Exceptionless#70
Eric J. Smith
@ejsmith
Apr 05 2016 21:04
Yeah, we should put that in the survey.
Frank Ebersoll
@frankebersoll
Apr 05 2016 21:49
i don’t understand our gulpfile :-(
Eric J. Smith
@ejsmith
Apr 05 2016 22:17
Just created a script to automate the entire Elasticsearch setup @niemyjski
Aren't we using grunt @frankebersoll ?
Frank Ebersoll
@frankebersoll
Apr 05 2016 22:18
no
i think we have a timing problem in gulp. that would explain why sometimes you have to build multiple times
we need to drastically simplify this
i think i have to work this through with Blake
just pushed a feature/build branch to get this right finally
or, at least, make a step in the right direction
Frank Ebersoll
@frankebersoll
Apr 05 2016 22:24
main problem is, there doesn’t seem to be a generally accepted typescript project structure
even more for multi-target projects as ours
@niemyjski maybe you can clone feature/build and try to gulp build when you find some time
in temp/exceptionless.ts everything is okay
we have the actual contents of exceptionless.ts in there, bundled together with all dependencies.
that seems to be the typescript input file that tsproject generates
Frank Ebersoll
@frankebersoll
Apr 05 2016 22:30
now, if we do just gulp typescript, it only does the tsproject build step and afterwards the temp/exceptionless.js also contains the correct content
i guess that in the exceptionless.umd or exceptionless build steps, things go wrong and somehow the exceptionless.js gets overwritten
but only sometimes, maybe due to the parallel nature of gulp
but i don’t fully understand what’s happening there.
in lines 57 and 64 we start two different builds, one minified and one normal. but only the last one is returned, so that gulp won’t „join“ both tasks. could this be a problem?
Frank Ebersoll
@frankebersoll
Apr 05 2016 22:35
another thing, in tsconfig.json, if I set bundles.exceptionless.config.minify to true, compilation will fail
"TypeError: Cannot read property 'flags' of undefined"
maybe this is a problem in tsproject, can you reproduce this?
Eric J. Smith
@ejsmith
Apr 05 2016 22:42
Me?
Not sure where @niemyjski went.