repository
stringclasses
156 values
issue title
stringlengths
1
1.01k
labels
stringclasses
8 values
body
stringlengths
1
270k
nostra13androiduniversalimageloader
concurrentmodificationexception on 1 8 4
Bug
04 29 11 02 04 554 e androidruntime 18506 fatal exception pool 2 thread 3 04 29 11 02 04 554 e androidruntime 18506 java util concurrentmodificationexception 04 29 11 02 04 554 e androidruntime 18506 at java util linkedhashmap linkedhashiterator nextentry linkedhashmap java 350 04 29 11 02 04 554 e androidruntime 18506 at java util linkedhashmap keyiterator next linkedhashmap java 370 04 29 11 02 04 554 e androidruntime 18506 at java util hashset hashset java 76 04 29 11 02 04 554 e androidruntime 18506 at com nostra13 universalimageloader cache memory impl lrumemorycache key lrumemorycache java 124 04 29 11 02 04 554 e androidruntime 18506 at com nostra13 universalimageloader cache memory impl fuzzykeymemorycache key fuzzykeymemorycache java 77 04 29 11 02 04 554 e androidruntime 18506 at com nostra13 universalimageloader cache memory impl fuzzykeymemorycache put fuzzykeymemorycache java 47 04 29 11 02 04 554 e androidruntime 18506 at com nostra13 universalimageloader core loadanddisplayimagetask run loadanddisplayimagetask java 146 04 29 11 02 04 554 e androidruntime 18506 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1080 04 29 11 02 04 554 e androidruntime 18506 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 573 04 29 11 02 04 554 e androidruntime 18506 at java lang thread run thread java 856
nostra13androiduniversalimageloader
memory leak on configuration change
Bug
after 25 rotation sample get out of memory any workaround on sample start screenshot 2013 04 26 07 49 43 after 10 rotation screenshot 2013 04 26 07 50 24
nostra13androiduniversalimageloader
error negativearraysizeexception
Bug
hello I have a problem when load an image I m load an image from java servlet error 04 23 11 09 05 445 e imageloader 3925 java lang negativearraysizeexception 04 23 11 09 05 445 e imageloader 3925 at java lang abstractstringbuilder abstractstringbuilder java 80 04 23 11 09 05 445 e imageloader 3925 at java lang stringbuilder stringbuilder java 67 04 23 11 09 05 445 e imageloader 3925 at com nostra13 universalimageloader core assist imagesize tostre imagesize java 66 thank good job
nostra13androiduniversalimageloader
roundedbitmapdisplayer fail with displayimageoption resetviewbeforeloade
Bug
hi I m try to round an image in a view pager the image be select from a image list view like in the example project but when I try I obtain this message error fatal exception main java lang illegalargumentexception width and height must be 0 at android graphic bitmap nativecreate native method I do some test and I discover that I have to remove the displayimageoption resetviewbeforloade to make it work however the image have a very small size the same size of the list view I need to set that option to redraw in a big size java option new displayimageoption builder showstubimage r drawable ic stub showimageforemptyuri r drawable ic empty showimageonfail r drawable ic error resetviewbeforeloading this cause the error cacheondisc imagescaletype imagescaletype exactly bitmapconfig bitmap config rgb 565 displayer new roundedbitmapdisplayer 10 build be another way to accomplish this thank you
nostra13androiduniversalimageloader
bug with the postprocessor give recycled bitmap
Bug
I have a listview that display some custom view with image and these image can be repeat in the listview what happen be the I want to apply some effect in this image before display they since the bitmapdisplayer run in the ui thread and the effect I m apply can be slow I m put these effect in a bitmapprocessor that be register as postprocessor the problem be that my bitmapprocessor be receive recycled bitmap and it give I a exception when I try to write another bitmap with my effect apply I can t put it in the preprocessor because these same image be use with different effect in other activity this be my configuration java defaultdisplayimageoption new displayimageoption builder cacheinmemory cacheondisc showstubimage r drawable stub build imageloaderconfiguration config new imageloaderconfiguration builder getapplicationcontext taskexecutor asynctask thread pool executor taskexecutorforcachedimage asynctask thread pool executor threadpoolsize 3 threadpriority thread norm priority 2 memorycache new lrulimitedmemorycache 2 1024 1024 disccache new unlimiteddisccache cachedir disccachesize 50 1024 1024 disccachefilenamegenerator new hashcodefilenamegenerator defaultdisplayimageoption defaultdisplayimageoption build in each effect I m go to apply I create a new displayimageoption like this java capaoption new displayimageoption builder clonefrom soongzapp getdefaultdisplayimageoption postprocessor capabitmapprocessor build capabackgroundoption new displayimageoption builder clonefrom soongzapp getdefaultdisplayimageoption postprocessor capabitmapprocessor build capadesfocadaoption new displayimageoption builder clonefrom soongzapp getdefaultdisplayimageoption postprocessor capadesfocadabitmapprocessor build one of the effect I apply be blur the image it happen in an activity where there s only an image other be apply with the creation of layerdrawable and I transform it into a bitmap in the postprocessor I think I m reach the memory cache s limite and it s recycle the image and instead of recreate it s pass the recycle image to my postprocessor
nostra13androiduniversalimageloader
nullpointerexception in limiteddisccache
Bug
I m get the follow nullpointerexception when I call build on my imageloaderconfiguration builder this be on an old droid x run 2 3 4 java lang nullpointerexception at com nostra13 universalimageloader cache disc limiteddisccache 1 run limiteddisccache java 75 at java lang thread run thread java 1019 this appear to be cause by a call to defaultconfigurationfactory createreservedisccache context context which happen in the constructor for imageloaderconfiguration createreservedisccache make a call to context getcachedir which seem to return null on some device it then null pointer on its first attempt to access that null cachedir as see above
nostra13androiduniversalimageloader
number of bitmap in memory
Question
hello I want to change number of bitmap now its 2 bitmap for default start load cache and display they thank tom
nostra13androiduniversalimageloader
weirdly slow at first glance
Question
thank you first for the great work but when walk through the sample especially in the image pager example activity while swiping leave or right it take about 3 8 second to load the image at first time that s reasonable but while swipe back to some already load image they still consume the same amount of time to load that s not reasonable cache do not work or it s just a trick to show uil need time to load image kind regard nessus
nostra13androiduniversalimageloader
major performance issue if x imageview request the same image the same image be download simultaneously x time instead of once
Question
it s common for some application with numerous imageview in the same view hierarchy to reference the same image request to download the same image multiple time should not result in download the same image multiple time once the image be load further request be take from cache but until the image be fully in the cache then each request will create a parallel download the implementation should check if the same url have already be request and be be download if positive then an extra listener should be attach to that 1st downloader instead of create another one and cause unnecessary bandwidth usage
nostra13androiduniversalimageloader
how to close uil s error log
Question
how to close uil s error log eg java io filenotfoundexception
nostra13androiduniversalimageloader
nullpointerexception in limiteddisccache
Bug
we have some rare 1 per 3000 user error in log with uil 1 8 3 almost all user have android 4 x java lang nullpointerexception at com nostra13 universalimageloader cache disc limiteddisccache 1 run limiteddisccache java 76 at java lang thread run thread java 856
nostra13androiduniversalimageloader
nullpointerexception in lrumemorycache
Bug
hi we have some rare 1 per 2000 user error in log with uil 1 8 3 all user have android 2 x java lang nullpointerexception key null value null at com nostra13 universalimageloader cache memory impl lrumemorycache put lrumemorycache java 61 at com nostra13 universalimageloader cache memory impl lrumemorycache put lrumemorycache java 21 at com nostra13 universalimageloader core loadanddisplayimagetask run loadanddisplayimagetask java 116 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1088 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 581 at java lang thread run thread java 1019 our configuration displayimageoption builder builder new displayimageoption builder builder cacheinmemory builder cacheondisc builder resetviewbeforeloading builder showimageforemptyuri r drawable I m photo error
nostra13androiduniversalimageloader
how uil load image if they be duplicate in listview
Question
I be use imageloader to display image in a listview do same image in different cell fetch again and again from url or do it fetch once and then fetch from cachememory
nostra13androiduniversalimageloader
concurrentmodificationexception basememorycache fuzzykeymemorycache
Bug
hi it only occur once and I can t reproduce it do the same I do when it crash so I m worried it could happen again the stack trace be in the follow two image sorry it s not in text format error errorr precede by fatal exception asynctask 3 I m use the 1 8 3 version and my configuration be suppresslint newapi public static imageloaderconfiguration getimageloaderconfiguration context context activitymanager m activitymanager context getsystemservice activity activity service int heapsize m getmemoryclass int poolsize heapsize 64 3 heapsize 48 2 1 logg d use threadpoolsize poolsize debug displayimageoption imageoption new displayimageoption builder bitmapconfig bitmap config rgb 565 imagescaletype imagescaletype in sample int cacheondisc cacheinmemory build builder builder new imageloaderconfiguration builder context defaultdisplayimageoption imageoption denycacheimagemultiplesizesinmemory memorycache new weakmemorycache threadpoolsize poolsize if supportversion honeycomb builder taskexecutorforcachedimage asynctask thread pool executor imageloaderconfiguration config builder build return config
nostra13androiduniversalimageloader
universal image loader viewpager
Question
hello can I use this library with a fragmentstatepager if so what be the option that I have to include I want to load image from the resource file thank you
nostra13androiduniversalimageloader
load image one by one instead of by an array
Question
hi how could I load the image one by one instead than use an array I need to do this because I ask for every image to our server and then I get the url from amazon server so it make really slow the process
nostra13androiduniversalimageloader
how import this project to eclipse
Question
I import this project to eclipse but can not build this project it have some error
nostra13androiduniversalimageloader
issue with pauseonscrolllistener imageloader be not resume
Bug
detail when gridview have just 2 item and do not have scroll sometimes image loader be not resume until I touch item android 4 2 2 lg nexus 4
nostra13androiduniversalimageloader
display image only on release drag scroll gridview
Question
the image only appear after the scroll state become idle be there a build in way to adjust for this
nostra13androiduniversalimageloader
wrong image be be display on a listview
Bug
first of all thank for this great library its really great however I be face a strange issue when I quickly go down in a listview and quickly scroll top again the 1st item be display sometimes sometimes fail image that I set on option be display java public class sampleadapter extend arrayadapter public sampleadapter context context super context 0 public view getview final int position view convertview viewgroup parent subeviewholder viewholder if convertview null convertview layoutinflat from getcontext inflate r layout row sube2 null viewholder new subeviewholder viewholder dakika textview convertview findviewbyid r i d sube dakika viewholder gidildi checkbox convertview findviewbyid r i d gidildi viewholder mukellefadi textview convertview findviewbyid r i d mukellef adi viewholder subeadi textview convertview findviewbyid r i d sube adi viewholder detay imagebutton convertview findviewbyid r i d detaylar viewholder image imageview convertview findviewbyid r i d imageview1 convertview settag viewholder else viewholder subeviewholder convertview gettag sampleitem I getitem position viewholder mukellefadi settext I mukellefadi viewholder subeadi settext I subeadi viewholder dakika settext I dakika registerforcontextmenu viewholder mukellefadi workaround for checkbox state viewholder gidildi settag null viewholder gidildi setenable isenable position viewholder gidildi setchecke I gidildi viewholder gidildi settag I viewholder gidildi setoncheckedchangelistener this checkboxlistener viewholder detay setonclicklistener imagebuttonlistener load image imageloader displayimage I index 0 viewholder image option new imageloadinglistener override public void onloadingstarte string imageuri view view override public void onloadingfaile string imageuri view view failreason failreason view setonclicklisten new onclicklistener override public void onclick view v messagebox show todo add photo tamam getactivity override public void onloadingcomplete string imageuri view view bitmap loadedimage view setonclicklistener null override public void onloadingcancelled string imageuri view view return convertview only first item have a valid url as you can see other have invalid url and I display a camera pic on fail or blank image in option so user can add image so when I quickly scroll bottom and top quickly sometimes a camera pic appear on the 1st item here be my option in case you want to see java option new displayimageoption builder showstubimage r drawable camera showimageforemptyuri r drawable camera showimageonfail r drawable camera cacheinmemory cacheondisc displayer new fadeinbitmapdisplayer 500 build all other stuff be set up default as in your tutorial any other view display correct text company name for instance but imageview try to display wrong url when I scroll bottom it start try to load 9th item and if I can scroll top quickly enough then it load 9th picture on 1st place hope I could explain it use late version though again thank this be a great library 1
nostra13androiduniversalimageloader
delay load on first load of image
Question
just throw out a feature suggestion before I poke my head into this library to try and do this myself or if you know of a way already that would be great but if you could delay the image from load first time around then once its in the memory cache don t delay it from load again the way I m current do it be query the memory cache with the key to check if the image exist in cache if it do use a different displayoption to load the image without a delay not sure if this be the good way of do it but it work for now
nostra13androiduniversalimageloader
java lang nosuchmethoderror android widget abslistview setadapter
Bug
I be import this project while load listview and gridview application crash it show error no such method error
nostra13androiduniversalimageloader
make imageloader load a previusly save bitmap
Question
be there any way to use imageloader pass it an already create bitmap file something like bitmap getbitmap locandina my method to lead a bitmap imageloader displayimage mybitmap holder image option
nostra13androiduniversalimageloader
possible bug in getimagesizescaleto
Bug
in file class imageloader line we have int height param height layoutparam wrap content 0 imageview getheight get actual image height shouldn t it be int height param height layoutparam wrap content 0 imageview getheight get actual image height
nostra13androiduniversalimageloader
image doesn t load with default inputstream
Bug
this be an awesome library thank for all the work you ve do I ve run into a problem where some image fail to load the decoder decode return false problem if I switch out the inputstream logic to use java public bitmap decode imagesize targetsize imagescaletype scaletype viewscaletype viewscaletype throw ioexception other code inputstream imagestream inputstream new url this imageuri toasciistre getcontent bitmap subsampledbitmap instead of the imagedownloader s logic which would use a flushedinputstream the image load fine any idea why this happen what more datum I can get for you about the image it s this image and some other
nostra13androiduniversalimageloader
de encoding for file uri image load problem
Bug
for an image file storage sdcard0 groupurchase cache http 3a 2f 2fd2 lashouimg com 2fzt mobile 220 2f201211 2f29 2f135417696321262100 jpg imageloader try to load an decoded file path which be incorrect 02 25 13 20 51 085 e imageloader 27155 java io filenotfoundexception storage sdcard0 groupurchase cache http d2 lashouimg com zt mobile 220 201211 29 135417696321262100 jpg open fail enoent no such file or directory it should keep the encoded string as it be and read by stream the problem be cause by imageloader code below java final class imageloadinginfo public imageloadinginfo stre uri imageview imageview imagesize targetsize displayimageoption option imageloadinglistener listener reentrantlock loadfromurilock this uri uri encode uri
nostra13androiduniversalimageloader
handle not enough disc space for disc cache
Bug
maybe introduce failreason not enough disc space
nostra13androiduniversalimageloader
concurrent modification synchronization issue
Bug
the memorycacheutil findcachekeysforimageuri method iterate over a synchronize list without obtain the lock to synchronize on the synchronize list per synchronizedlist java util list you have to synchronize on the list when you iterate the item this also seem to apply to getkey which be use in these method I ve hit an exception a few dozen time in testing where this cause a crash an option for a fix would be to copy the key to an immutable collection before iteration I can not submit a patch at the moment but would be happy to in a week or so if no one can tackle it before then
nostra13androiduniversalimageloader
clonefrom do not clone pre postprocessor
Bug
I ve notice that clonefrom displayimageoption option be miss preprocessor and postprocessor copy that mean loadimage not work with image pre post processing
nostra13androiduniversalimageloader
npe after unmount sd card
Bug
hi thank for such usefull library I be use loader1 8 0 I find one problem in load an image if I enable cacheondisc and cacheinmemory then set cache folder on sdcard and unmount sdcard the image dosen t show it will be great if cacheondisc fail but cacheinmemory be enable cache image to memory and show start display image task my valid url load image from internet my valid url cache image on disc my valid url null java lang nullpointerexception at com nostra13 universalimageloader core loadanddisplayimagetask saveimageondisc loadanddisplayimagetask java 311 at com nostra13 universalimageloader core loadanddisplayimagetask tryloadbitmap loadanddisplayimagetask java 232 at com nostra13 universalimageloader core loadanddisplayimagetask run loadanddisplayimagetask java 148 at java util concurrent executors runnableadapter call executor java 390 at java util concurrent futuretask run futuretask java 234 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1080 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 573 at java lang thread run thread java 856
nostra13androiduniversalimageloader
image aren t load after clear cache in app info
Bug
when do a cache clear from the system menu and then open the app I think it be open in the background the app crash close the app from recent app solve the problem but it s not ideal this be the error I get 02 08 16 15 46 490 e imageloader 11201 java io filenotfoundexception storage sdcard0 android data app package cache 1563422183 open fail enoent no such file or directory 02 08 16 15 46 490 e imageloader 11201 at libcore io iobridge open iobridge java 416 02 08 16 15 46 490 e imageloader 11201 at java io fileoutputstream fileoutputstream java 88 02 08 16 15 46 490 e imageloader 11201 at java io fileoutputstream fileoutputstream java 73 02 08 16 15 46 490 e imageloader 11201 at com nostra13 universalimageloader core loadanddisplayimagetask saveimageondisc loadanddisplayimagetask java 303 02 08 16 15 46 490 e imageloader 11201 at com nostra13 universalimageloader core loadanddisplayimagetask tryloadbitmap loadanddisplayimagetask java 204 02 08 16 15 46 490 e imageloader 11201 at com nostra13 universalimageloader core loadanddisplayimagetask run loadanddisplayimagetask java 128 02 08 16 15 46 490 e imageloader 11201 at java util concurrent executors runnableadapter call executor java 390 02 08 16 15 46 490 e imageloader 11201 at java util concurrent futuretask run futuretask java 234 02 08 16 15 46 490 e imageloader 11201 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1080 02 08 16 15 46 490 e imageloader 11201 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 573 02 08 16 15 46 490 e imageloader 11201 at java lang thread run thread java 856 02 08 16 15 46 490 e imageloader 11201 cause by libcore io errnoexception open fail enoent no such file or directory 02 08 16 15 46 490 e imageloader 11201 at libcore io posix open native method 02 08 16 15 46 490 e imageloader 11201 at libcore io blockguardo open blockguardo java 110 02 08 16 15 46 490 e imageloader 11201 at libcore io iobridge open iobridge java 400 02 08 16 15 46 490 e imageloader 11201 10 more
nostra13androiduniversalimageloader
add factory for imageloader
Bug
say I want to have book cover and author avatar for cover one instance of imageloader and for avatar the other these loader must have different configuration base on disk size memore cache size directory etc ps workaround with protect imageloader constructor be not work because you often use imageloader getinstance inside your libriary
nostra13androiduniversalimageloader
can t create nomedia file log
Bug
hello I m implement a gallery feature for local only image how can I totally disable disk cache and don t even create cache directory I m see can t create nomedia file in application external cache directory message everytime
nostra13androiduniversalimageloader
bug check on null
Bug
please fix add condition for null object for example runtime crash return disc cache public disccacheaware getdisccache return configuration disccache when imageloader without init disccacheaware cache imageloader getinstance getdisccache
nostra13androiduniversalimageloader
remove image from caches
Question
hey I d like to first say this be a lifesaver for an app I be work on I be plague with outofmemory issue until I use your library I would like to request a feature for remove a single image from the cache the reason for this be in my application I use a listview to display some image now the user can change the image by click on it however in my implementation I name the image in a particular way ie the image in position one will be label home position1 jpg now when I want to change that image to another one I rename the image with that name convention and reload the image however since it be the same name the cache still display the old image I know there be the clearcache option but then that blow away the other image when they didn t change and they will be recache I would think a remove single item from the cache would solve this problem something like in basedisccache java public void removeitem string imageuri string filename filenamegenerator generate key file deleteme new file cachedir filename deleteme delete and in basememorycache java public void removeitem string imageuri imagesize targetsize getimagesizescaleto imageview string memorycachekey memorycacheutil generatekey uri targetsize softmap remove memorycachekey
nostra13androiduniversalimageloader
remove cache
Question
how remove cache file from sd card I see class memorycacheutil but it be for memorycache be there util for diskcache and use likely memorycacheutil removefromcache image 4 imageloader getinstance getmemorycache delete by key url
nostra13androiduniversalimageloader
filesystem access from main thread
Bug
in imageloader displayimage string imagevie displayimageoption imageloadinglistener java boolean isimagecachedondisc configuration disccache get uri exist I think exist be a blocking method it should not be call from the main thread
nostra13androiduniversalimageloader
do android universal image loader support asset folder
Question
hi nostra13 I be go to use this lib in my project but after some search I couldn t figure out how to use this lib to load image from asset folder even when I use file android asset it didn t work java mimageloader displayimage file android asset path iv const displayimageoption new simpleimageloadinglistener override public void onloadingcomplete bitmap loadedimage animation anim animationutil loadanimation mcontext r anim fade in iv setanimation anim anim start if it s possible could you provide I some code or even if I have to customize some code myself please let I know how to do it thank in advance and sorry for my bad english
nostra13androiduniversalimageloader
animate stub image
Question
hi first of all I want to say that this project be very awesome now my question be it possible to have an animate loader image like a gif as a stub image like in screenshot in the third picture greet frank roth
nostra13androiduniversalimageloader
possible concurrency issue
Bug
browse the code I find you use collection synchronizedx to create collection I assume you want to support multitaske in the library at the same time you use local variable that be not atomic and the method be not synchronize for example class limitedmemorycache method public void remove k key if hardcache remove value cachesize getsize value be there other mechanism to support multithreade or I m just mistaken
nostra13androiduniversalimageloader
strictmode sometimes detect leak on fileoutputstream
Bug
hi first of all big fan of the library work really well and be easy to integrate but sometimes when an image be read from diskcache strictmode throw a warning 12 04 14 17 55 677 error strictmode 25142 a resource be acquire at attached stack trace but never release see java io closeable for information on avoid resource leak java lang throwable explicit termination method close not call at dalvik system closeguard open closeguard java 184 at java io fileoutputstream fileoutputstream java 90 at java io fileoutputstream fileoutputstream java 73 at com nostra13 universalimageloader core loadanddisplayimagetask saveimageondisc loadanddisplayimagetask java 286 at com nostra13 universalimageloader core loadanddisplayimagetask tryloadbitmap loadanddisplayimagetask java 204 at com nostra13 universalimageloader core loadanddisplayimagetask run loadanddisplayimagetask java 128 at java util concurrent executors runnableadapter call executor java 442 at java util concurrent futuretask sync innerrun futuretask java 305 at java util concurrent futuretask run futuretask java 137 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1076 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 569 at java lang thread run thread java 856 these be my setting for uil java displayimageoption option new displayimageoption builder showstubimage r drawable img placeholder showimageforemptyuri r drawable img placeholder resetviewbeforeloading cacheinmemory cacheondisc imagescaletype imagescaletype in sample power of 2 bitmapconfig bitmap config rgb 565 displayer new fadeinbitmapdisplayer 200 build imageloaderconfiguration config new imageloaderconfiguration builder getapplicationcontext memorycacheextraoption maxdimension maxdimension max width max height disccacheextraoption maxdimension maxdimension bitmap compressformat jpeg 75 threadpoolsize 3 threadpriority thread norm priority 1 defaultdisplayimageoption option offoutofmemoryhandle memorycache new usingfreqlimitedmemorycache cachesize disccache new unlimiteddisccache cachedir disccachefilenamegenerator new hashcodefilenamegenerator imagedownloader new urlconnectionimagedownloader 5 1000 20 1000 connecttimeout 5 s readtimeout 20 s tasksprocessingorder queueprocessingtype fifo enablelogging build
nostra13androiduniversalimageloader
cachekeysforimageview consume a lot of memory
Bug
explain please what be the reason of use imageview as key here private map cachekeysforimageview collection synchronizedmap new weakhashmap it cause memory leak I suppose private map cachekeysforimageview collection synchronizedmap new hashmap and use imageview hashcode as key for this map this fix the issue for I but may be I miss something
nostra13androiduniversalimageloader
limitedagedisccache very slow to construct when there be a large number of image in cache
Bug
I notice my app be take up to 20 second to load after scroll through all the entry in my database each one have a thumbnail it download there be about 8000 of they it turn out this be due to limitedagedisccache s constructor iterate through every image in the cache directory and get the lastmodifiedat time I fix this by copy the class and remove that line from the constructor perhaps there should be an option in the constructor to stop this pre cache I can see it would speed up the cache for small number of file but it break when there be many of they regard
nostra13androiduniversalimageloader
problem with landscape image
Bug
if you have a landscape image with width long than height but the device be in portrait mode the library do some wrong operation in imageloader line 424 430 the getimagesizescaleto function exchange width with eight if the image be landscape and the devise be portrait and vice versa in this way if you have an image of wxh where w h the image be scale to hxw then when the view be show it s scale again to wxh but the width w have the resolution of h and the height h have the resolution w you can see in this image what the image should look like and hot the image be show if comment out line 424 430 and how the image be show at the moment
nostra13androiduniversalimageloader
callback be still fire after imageloader stop
Bug
I have these class photoactivity extend fragmentactivity imagefragment extend fragment I initialize the imageloader in the imagefragment use imageloader imageloader getinstance and in this fragment I also display a few image use imageloader displayimage when my photoactivity get stop onstop be call my imagefragment stop as well and this should stop any image loading because I call imageloader stop in the onstop method however this be not the case and it give I nullpointerexception because onloadingcomplete of imageloadinglistener be call afterwards and this method call getactivity which be null at this point imageloader stop should stop every loading process no
nostra13androiduniversalimageloader
wrong bitmap in imageview in listview
Bug
catch for list with same image at first 10 imageview cache in memory enable cache on disc enable
nostra13androiduniversalimageloader
scaletype seem to be ignore
Bug
hi if I change item list image xml in the example into the image be not round seem scaletype break something
nostra13androiduniversalimageloader
image doesn t show when use roundedbitmapdisplayer
Bug
thank for share auil it s one of the fine android component available issue I ve integrate auil into an app it s work fine to date I now add late jar 1 5 6 when I add roundedbitmapdisplay to option the image doesn t show this be the code in oncreate option new displayimageoption builder showstubimage r drawable image background cacheinmemory cacheondisc displayer new roundedbitmapdisplayer 5 5 build imageloader init imageloaderconfiguration createdefault getactivity in adapter s getview imageloader displayimage item getprofilepicture holder frompicture option if I remove displayer from option the image will show test on galaxy s2 run 4 03 ic min 8 target 15 eclipse indigo also in the readme there s a no argument constructor for roundedbitmapdisplayer use the jar two argument be require
nostra13androiduniversalimageloader
skimagedecoder factory return null error
Bug
hi I have implement your library and it s work pretty well but sometimes I ve some error when a picture be download skimagedecoder factory return null skimagedecoder factory return null and the picture be not display on the imageview be it a configuration issue or be there something else sometimes it appear on a gridview and sometimes just in a view with 3 or 4 picture
nostra13androiduniversalimageloader
npe on getimagesizescaleto imageloader java 295
Bug
hi I m use this in listview to return imageview as a view for list gallery adapter in code I find out that the imageview be currently miss layoutparam but what these param be if I need to fill whole screen eg width height be inherit from parent view in java public class myadapter extend baseadapter override public view getview int position view convertview viewgroup parent imageview iv new imageview mcontext imageloader displayimage getcurrenturlstring iv iv setscaletype imageview scaletype center inside iv setbackgroundcolor color parsecolor 837e70 return iv stacktrace be follow log 09 14 13 46 22 442 e androidruntime 5209 java lang nullpointerexception 09 14 13 46 22 442 e androidruntime 5209 at com nostra13 universalimageloader core imageloader getimagesizescaleto imageloader java 295 09 14 13 46 22 442 e androidruntime 5209 at com nostra13 universalimageloader core imageloader displayimage imageloader java 189 09 14 13 46 22 442 e androidruntime 5209 at com nostra13 universalimageloader core imageloader displayimage imageloader java 96 be it ok to use this java imageview iv new imageview mcontext iv setlayoutparams parent getlayoutparam imageloader displayimage getcurrenturlstring iv
nostra13androiduniversalimageloader
image be download and decode twice
Bug
hi I just notice a nasty bug in imagedecod class in the decode method you have java public bitmap decode imagesize targetsize imagescaletype scaletype scaletype viewscaletype throw ioexception option decodeoption getbitmapoptionsforimagedecoding targetsize scaletype viewscaletype inputstream imagestream imagedownloader getstream imageuri try return bitmapfactory decodestream imagestream null decodeoption finally imagestream close you first make a call to getbitmapoptionsforimagedecoding which call computeimagescale inside of which we have at line 94 java inputstream imagestream imagedownloader getstream imageuri try bitmapfactory decodestream imagestream null option finally imagestream close the call to getstream actually trigger the first download and the bitmapfactory decodestream trigger the first decode then right after in the decode method you make exactly the same call java imagedownloader getstream imageuri follow by java return bitmapfactory decodestream imagestream null decodeoption that trigger the download and the decoding twice which my server logs confirm can you fix that thanx
nostra13androiduniversalimageloader
image change their place when in a gridview
Bug
hi your work be great but I have a problem when use it in a gridview when I scroll the image start change position here be the code for my imageadapter public class imageadapter extend baseadapter context mcontext public imageadapter context c mcontext c public int getcount return main url size public object getitem int position return null public long getitemid int position return 0 override public view getview int position view convertview viewgroup parent todo auto generate method stub view grid if convertview null layoutinflater li layoutinflater mcontext getsystemservice context layout inflater service grid li inflate r layout grid item null else grid convertview imageview iv imageview grid findviewbyid r i d iv string imageurl main url get position get singletone instance of imageloader imageloader imageloader imageloader getinstance initialize imageloader with configuration do it once imageloader init imageloaderconfiguration createdefault mcontext load and display image asynchronously imageloader displayimage imageurl iv return grid
nostra13androiduniversalimageloader
load a single image result in two http request
Bug
hi we be see a surprising issue for every image load request the library actually send two http request look at the source at imagedecoder java in method decode it first call getbitmapoptionsforimagedecode which in turn call computeimagescale which make the first call from imagedownloader getstream after control return back to decode it call imagedownloader getstream again be there a way to avoid this behaviour
nostra13androiduniversalimageloader
cache expire and big problem image be not compress
Bug
if I try get 106dip image but server be not 106dip I set config java public static imageloaderconfiguration get106dipconfig imageloaderconfiguration config new imageloaderconfiguration builder kshareapplication getinstance memorycacheextraoption int 106 uiutil getinstance getdensity int 106 uiutil getinstance getdensity can slow imageloader use it carefully well don t use it threadpoolsize 5 threadpriority thread min priority 2 denycacheimagemultiplesizesinmemory offoutofmemoryhandle memorycache new fifolimitedmemorycache 2 1024 1024 you can pass your own memory cache implementation disccache new unlimiteddisccache new file commonutil getcachedir you can pass your own disc cache implementation disccachefilenamegenerator new hashcodefilenamegenerator defaultdisplayimageoption displayimageoption createsimple enablelogging build return config I find imageview setbitmap be not compress so if we layout hava many imageview this layout s mem hava many so I think maybe you fix it you can allow this method java utility function for decode an image resource the decode bitmap will be optimize for further scaling to the request destination dimension and scale logic param re the resource object contain the image datum param resid the resource i d of the image datum param dstwidth width of destination area param dstheight height of destination area param scalinglogic logic to use to avoid image stretch return decode bitmap public static bitmap decoderesource resource re int resid int dstwidth int dstheight scalinglogic scalinglogic option option new option option injustdecodebound true bitmapfactory decoderesource re resid option option injustdecodebound false option insamplesize calculatesamplesize option outwidth option outheight dstwidth dstheight scalinglogic bitmap unscaledbitmap bitmapfactory decoderesource re resid option return unscaledbitmap param pathname param dstwidth param dstheight param scalinglogic crop fit return decode bitmap public static bitmap decodefile string pathname int dstwidth int dstheight scalinglogic scalinglogic option option new option option injustdecodebound true bitmapfactory decodefile pathname option option injustdecodebound false option insamplesize calculatesamplesize option outwidth option outheight dstwidth dstheight scalinglogic bitmap unscaledbitmap bitmapfactory decodefile pathname option return unscaledbitmap public static bitmap decodefile byte bs int dstwidth int dstheight scalinglogic scalinglogic option option new option option injustdecodebound true bitmapfactory decodebytearray bs 0 bs length option option injustdecodebound false option insamplesize calculatesamplesize option outwidth option outheight dstwidth dstheight scalinglogic bitmap unscaledbitmap bitmapfactory decodebytearray bs 0 bs length option bs null return unscaledbitmap utility function for create a scale version of an exist bitmap param unscaledbitmap bitmap to scale param dstwidth want width of destination bitmap param dstheight want height of destination bitmap param scalinglogic logic to use to avoid image stretch return new scale bitmap object public static bitmap createscaledbitmap bitmap unscaledbitmap int dstwidth int dstheight scalinglogic scalinglogic rect srcrect calculatesrcrect unscaledbitmap getwidth unscaledbitmap getheight dstwidth dstheight scalinglogic rect dstrect calculatedstrect unscaledbitmap getwidth unscaledbitmap getheight dstwidth dstheight scalinglogic bitmap scaledbitmap bitmap createbitmap dstrect width dstrect height config argb 8888 canvas canvas new canvas scaledbitmap canva drawbitmap unscaledbitmap srcrect dstrect new paint paint filter bitmap flag return scaledbitmap scalinglogic define how scaling should be carry out if source and destination image have different aspect ratio crop scale the image the minimum amount while make sure that at least one of the two dimension fit inside the request destination area part of the source image will be crop to realize this fit scale the image the minimum amount while make sure both dimension fit inside the request destination area the result destination dimension might be adjust to a small size than request public static enum scalinglogic crop fit calculate optimal down sample factor give the dimension of a source image the dimension of a destination area and a scaling logic param srcwidth width of source image param srcheight height of source image param dstwidth width of destination area param dstheight height of destination area param scalinglogic logic to use to avoid image stretch return optimal down scale sample size for decode public static int calculatesamplesize int srcwidth int srcheight int dstwidth int dstheight scalinglogic scalinglogic if scalinglogic scalinglogic fit final float srcaspect float srcwidth float srcheight final float dstaspect float dstwidth float dstheight if srcaspect dstaspect return srcwidth dstwidth else return srcheight dstheight else final float srcaspect float srcwidth float srcheight final float dstaspect float dstwidth float dstheight if srcaspect dstaspect return srcheight dstheight else return srcwidth dstwidth calculate source rectangle for scale bitmap param srcwidth width of source image param srcheight height of source image param dstwidth width of destination area param dstheight height of destination area param scalinglogic logic to use to avoid image stretch return optimal source rectangle public static rect calculatesrcrect int srcwidth int srcheight int dstwidth int dstheight scalinglogic scalinglogic if scalinglogic scalinglogic crop final float srcaspect float srcwidth float srcheight final float dstaspect float dstwidth float dstheight if srcaspect dstaspect final int srcrectwidth int srcheight dstaspect final int srcrectleft srcwidth srcrectwidth 2 return new rect srcrectleft 0 srcrectleft srcrectwidth srcheight else final int srcrectheight int srcwidth dstaspect final int scrrecttop int srcheight srcrectheight 2 return new rect 0 scrrecttop srcwidth scrrecttop srcrectheight else return new rect 0 0 srcwidth srcheight calculate destination rectangle for scale bitmap param srcwidth width of source image param srcheight height of source image param dstwidth width of destination area param dstheight height of destination area param scalinglogic logic to use to avoid image stretch return optimal destination rectangle public static rect calculatedstrect int srcwidth int srcheight int dstwidth int dstheight scalinglogic scalinglogic if scalinglogic scalinglogic fit final float srcaspect float srcwidth float srcheight final float dstaspect float dstwidth float dstheight if srcaspect dstaspect return new rect 0 0 dstwidth int dstwidth srcaspect else return new rect 0 0 int dstheight srcaspect dstheight else return new rect 0 0 dstwidth dstheight if you can use I think be very power use it 1 decode 2 scale java bitmap unscaledbitmap decodefile bs commonutil diptopixel 250 commonutil diptopixel 300 scalinglogic fit bitmap scaledbitmap createscaledbitmap unscaledbitmap 250 300 scalinglogic fit unscaledbitmap recycle if scaledbitmap null imageview setimagebitmap scaledbitmap
nostra13androiduniversalimageloader
crash in displayimage in listview
Bug
I have everything wire up pretty much like the sample but when I call imageloader displayimage I get an immediate crash in listview layoutchildren I do not have the android source attach so I don t know specifically what it doesn t like I be debug on a phone android 2 3 4 without external storage so I try remove cacheondisc but that didn t make any difference this be inside a listfragment inside a fragmentactivity use the compat library I be initialize my adapter use getactivity any suggestion on what I be do wrong
nostra13androiduniversalimageloader
outofmemoryerror when I download image from internet
Bug
I have listview in which I display image this be a snippet from adapter getview method imageview imageview imageview v findviewbyid r i d ivsmallimage file cachedir storageutil getowncachedirectory mcontext alrawda cache imageloader imageloader imageloader getinstance imageloaderconfiguration config new imageloaderconfiguration builder mcontext threadpoolsize 3 threadpriority thread norm priority 2 memorycache new usingfreqlimitedmemorycache 2000000 memorycachesize 1500000 1 5 mb denycacheimagemultiplesizesinmemory disccache new unlimiteddisccache cachedir disccachefilenamegenerator new md5filenamegenerator enablelogge not necessary in common build imageloader init config option new displayimageoption builder showstubimage r drawable stub image cacheinmemory cacheondisc build final progressbar spinner new progressbar mcontext imageloader displayimage o getsmallimage imageview option new imageloadinglistener override public void onloadingstarte spinner setvisibility view visible override public void onloadingfaile failreason failreason spinner setvisibility view invisible override public void onloadingcomplete spinner setvisibility view invisible override public void onloadingcancelle after some image display the logcat show I an error 07 12 18 01 05 885 e dalvikvm heap 5680 out of memory on a 1120016 byte allocation 07 12 18 01 05 895 I dalvikvm 5680 thread 9724 prio 3 tid 14 runnable 07 12 18 01 05 950 I dalvikvm 5680 group main scount 0 dscount 0 obj 0x419b7e98 self 0xc2c698 07 12 18 01 05 950 I dalvikvm 5680 systid 5709 nice 13 sche 0 0 cgrp bg non interactive handle 12568832 07 12 18 01 05 950 I dalvikvm 5680 schedstat 4136736133 1474479795 2225 utm 383 stm 30 core 0 07 12 18 01 05 970 I dalvikvm 5680 at android graphic bitmapfactory nativedecodestream native method 07 12 18 01 05 970 I dalvikvm 5680 at android graphic bitmapfactory decodestream bitmapfactory java 587 07 12 18 01 05 975 I dalvikvm 5680 at com nostra13 universalimageloader core imagedecoder decode imagedecoder java 61 07 12 18 01 05 990 I dalvikvm 5680 at com nostra13 universalimageloader core loadanddisplayimagetask decodewithoomhandling loadanddisplayimagetask java 163 07 12 18 01 05 995 I dalvikvm 5680 at com nostra13 universalimageloader core loadanddisplayimagetask decodeimage loadanddisplayimagetask java 150 07 12 18 01 06 000 I dalvikvm 5680 at com nostra13 universalimageloader core loadanddisplayimagetask tryloadbitmap loadanddisplayimagetask java 104 07 12 18 01 06 005 I dalvikvm 5680 at com nostra13 universalimageloader core loadanddisplayimagetask run loadanddisplayimagetask java 58 07 12 18 01 06 010 I dalvikvm 5680 at java util concurrent executors runnableadapter call executor java 442 07 12 18 01 06 030 I dalvikvm 5680 at java util concurrent futuretask sync innerrun futuretask java 305 07 12 18 01 06 030 I dalvikvm 5680 at java util concurrent futuretask run futuretask java 137 07 12 18 01 06 035 I dalvikvm 5680 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1076 07 12 18 01 06 040 I dalvikvm 5680 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 569 07 12 18 01 06 045 I dalvikvm 5680 at java lang thread run thread java 856 07 12 18 01 06 055 d skia 5680 decoder decode return false 07 12 18 01 06 095 e imageloader 5680 null 07 12 18 01 06 095 e imageloader 5680 java lang outofmemoryerror 07 12 18 01 06 095 e imageloader 5680 at android graphic bitmapfactory nativedecodestream native method 07 12 18 01 06 095 e imageloader 5680 at android graphic bitmapfactory decodestream bitmapfactory java 587 07 12 18 01 06 095 e imageloader 5680 at com nostra13 universalimageloader core imagedecoder decode imagedecoder java 61 07 12 18 01 06 095 e imageloader 5680 at com nostra13 universalimageloader core loadanddisplayimagetask decodewithoomhandling loadanddisplayimagetask java 163 07 12 18 01 06 095 e imageloader 5680 at com nostra13 universalimageloader core loadanddisplayimagetask decodeimage loadanddisplayimagetask java 150 07 12 18 01 06 095 e imageloader 5680 at com nostra13 universalimageloader core loadanddisplayimagetask tryloadbitmap loadanddisplayimagetask java 104 07 12 18 01 06 095 e imageloader 5680 at com nostra13 universalimageloader core loadanddisplayimagetask run loadanddisplayimagetask java 58 07 12 18 01 06 095 e imageloader 5680 at java util concurrent executors runnableadapter call executor java 442 07 12 18 01 06 095 e imageloader 5680 at java util concurrent futuretask sync innerrun futuretask java 305 07 12 18 01 06 095 e imageloader 5680 at java util concurrent futuretask run futuretask java 137 07 12 18 01 06 095 e imageloader 5680 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1076 07 12 18 01 06 095 e imageloader 5680 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 569 07 12 18 01 06 095 e imageloader 5680 at java lang thread run thread java 856 07 12 18 01 06 180 d dalvikvm 5680 gc explicit free 54k 7 free 61470k 65479k pause 3ms 16ms how can I get out from this error
nostra13androiduniversalimageloader
when I reinstall the apk the disc cache directory will be change
Bug
in storageutil java public static file getowncachedirectory context context string cachedir file appcachedir null if environment getexternalstoragestate equal android os environment medium mount appcachedir new file environment getexternalstoragedirectory cachedir if appcachedir mkdir appcachedir context getcachedir return appcachedir when I reinstall the apk the disc cache already exist and the appcachedir mkdir return false so the disc cache directory change to context getcachedir I think there should be add the appcachedir exist to judge
nostra13androiduniversalimageloader
class fuzzykeymemorycache occur concurrentmodificationexception
Bug
hi thank you for your effort with this wonderful image loader but sometimes image loading fail for an unknown reason I find that the for loop in fuzzykeymemorycache put k v method occur concurrentmodificationexception in that case I guess that this error kill the run thread instantly without call callback method of imageloadinglistener please fix this bug thank you
openzipkinzipkin
lens migrate off netflix vizceral
Help Wanted
we use to generate the dependency graph since the project be archive we should migrate to something not this could be via another similar graph library or use the same underlying fundamental in a simplified way that only suit our ui cc openzipkin ui samtv12345
openzipkinzipkin
zipkin with scylladb
Enhancement
hi I ve try to run zipkin with scylladb with cassandra3 storage type as scylladb be a drop in replacement for cassandra most of the api call should work as be nevertheless zipkin fail to run properly I use this docker compose yml version 3 network zipkin driver bridge service zipkin restart always image openzipkin zipkin late depend on scylladb port 9411 9411 network zipkin environment storage type cassandra3 cassandra contact point scylladb cassandra keyspace zipkin2 cassandra local dc datacenter1 cassandra ensure schema true scylladb restart always image scylladb scylla late port 9042 9042 volume docker scylladb 1 var lib scylla network zipkin healthcheck test cmd cqlsh e describe keyspace interval 1s retry 120 timeout 1s which start scylladb node and zipkin after the start zipkin from time to time logs message that he be try to ensure schema zipkin zipkin 1 2023 09 10 22 03 21 140 info 1 cke task 1 1 z s c schema instal schema zipkin2 schema cql for keyspace zipkin2 zipkin zipkin 1 2023 09 10 22 03 28 372 info 1 cke task 1 1 z s c schema instal schema zipkin2 schema cql for keyspace zipkin2 zipkin zipkin 1 2023 09 10 22 03 30 462 info 1 cke task 1 2 z s c schema instal schema zipkin2 schema cql for keyspace zipkin2 I ve try to send some sample trace to zipkin via curl curl vvv x post h content type application json d traceid 1234567890abcdef i d 1234567890abcdef name example service timestamp 1629852000000000 duration 1000000 localendpoint servicename service a ipv4 127 0 0 1 kind server tag http method get http path api resource note unnecessary use of x or request post be already infer try 127 0 0 1 9411 connect to localhost 127 0 0 1 port 9411 0 post api v2 span http 1 1 host localhost 9411 user agent curl 8 1 2 accept content type application json content length 396 http 1 1 202 accept content length 0 server armeria 1 17 2 date sun 10 sep 2023 22 04 22 gmt connection 0 to host localhost leave intact there where no error in zipkin log then I ve try to open zipkin ui and check the log where be and error zipkin zipkin 1 2023 09 10 22 03 32 497 warn 1 worker nio 2 3 z s i bodyisexceptionmessage unexpected error handling request zipkin zipkin 1 zipkin zipkin 1 java lang runtimeexception node 29be6b37 e669 4125 82c9 3bc3436072cb be run cassandra 3 0 8 but minimum version be 3 11 3 zipkin zipkin 1 at zipkin2 storage cassandra schema ensureversion schema java 99 zipkin storage cassandra 2 24 3 jar zipkin zipkin 1 at zipkin2 storage cassandra schema applycqlfile schema java 140 zipkin storage cassandra 2 24 3 jar zipkin zipkin 1 at zipkin2 storage cassandra schema ensureexists schema java 112 zipkin storage cassandra 2 24 3 jar zipkin zipkin 1 at zipkin2 storage cassandra defaultsessionfactory create defaultsessionfactory java 45 zipkin storage cassandra 2 24 3 jar zipkin zipkin 1 at zipkin2 storage cassandra lazysession get lazysession java 39 zipkin storage cassandra 2 24 3 jar zipkin zipkin 1 at zipkin2 storage cassandra cassandrastorage session cassandrastorage java 152 zipkin storage cassandra 2 24 3 jar zipkin zipkin 1 at zipkin2 storage cassandra cassandraspanstore cassandraspanstore java 63 zipkin storage cassandra 2 24 3 jar zipkin zipkin 1 at zipkin2 storage cassandra cassandrastorage spanstore cassandrastorage java 164 zipkin storage cassandra 2 24 3 jar zipkin zipkin 1 at zipkin2 storage cassandra cassandrastorage serviceandspanname cassandrastorage java 176 zipkin storage cassandra 2 24 3 jar zipkin zipkin 1 at zipkin2 server internal zipkinqueryapiv2 getservicename zipkinqueryapiv2 java 97 class zipkin zipkin 1 at com linecorp armeria internal server annotation annotatedservice invoke annotatedservice java 413 armeria 1 17 2 jar zipkin zipkin 1 at com linecorp armeria internal server annotation annotatedservice lambda serve0 8 annotatedservice java 382 armeria 1 17 2 jar zipkin zipkin 1 at java util concurrent completablefuture uniapply tryfire completablefuture java 646 zipkin zipkin 1 at java util concurrent completablefuture completion run completablefuture java 482 zipkin zipkin 1 at com linecorp armeria common requestcontext lambda makecontextaware 3 requestcontext java 555 armeria 1 17 2 jar zipkin zipkin 1 at java util concurrent executors runnableadapter call executor java 539 zipkin zipkin 1 at java util concurrent futuretask run futuretask java 264 zipkin zipkin 1 at java util concurrent scheduledthreadpoolexecutor scheduledfuturetask run scheduledthreadpoolexecutor java 304 zipkin zipkin 1 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1136 zipkin zipkin 1 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 635 zipkin zipkin 1 at io netty util concurrent fastthreadlocalrunnable run fastthreadlocalrunnable java 30 netty common 4 1 95 final jar 4 1 95 final zipkin zipkin 1 at java lang thread run thread java 833 zipkin zipkin 1 I dig into zipkin source code decrease min support version to 3 0 8 as scylladb report for now and build from source to check if it will work but during opening ui get different error com datastax oss driver api core servererror invalidqueryexception unsupported custom index class org apache cassandra index sasi sasiindex note that currently scylla do not support sasi or any other custom index class what can be do here in order to support scylladb as a storage type and get the integration work I m ready to help with it
openzipkinzipkin
error message show text field be not optimise for operation that require opensearch
Bug
text field be not optimise for operation that require per document field datum like aggregation and sort so these operation be disable by default please use a keyword field instead alternatively set fielddata true on traceid in order to load field datum by uninverte the invert index note that this can use significant memory zipkin show this error message please help I resolve this thank you so much
openzipkinzipkin
support for mutual tls when use rabbitmq
Enhancement
feature there be limited ssl tls support currently when connect via rabbitmq see support amqps however there be two limitation to the current approach 1 it hard code to use a trustmanager that will accept any incoming server certificate and so isn t really appropriate for production environment 2 it hard code to an empty key store this mean that mutual tls can not be support however the com rabbitmq client connectionfactory provide an alternate approach that would allow the sslcontext to be create within zipkin server this sslcontext could be configure to real trust key store allow mutual tls if we have optional property that can point to the location of trust key store file and corresponding password then when present a sslcontext could be build if these property be not define or an error occur on loading then the collector can default to the exist behaviour rationale when integrate with rabbitmq this feature have the advantage of remove the potential securiity risk of use a trustmanager that accept any certificate for rabbitmq while provide support for mutual tls it would be a non break change example scenario in environment where rabbitmq be the primary message communication system and mutual tls be mandate it allow zipkin to be use prior art link to prior art more link
openzipkinzipkin
constant major gc old gen heap keep increase linearly
Bug
describe the bug zipkin spend a lot of time in major gc this be trigger due to the old gen reach the max limit endlessly we have try g1gc and serialgc garbage collector currently this do not impact our usage of zipkin still we remain careful about the metric of all the app in our kubernete cluster graph time spend during major gc screenshot from 2023 06 09 15 30 27 old gen heap constantly reach the max limit screenshot from 2023 06 09 15 30 58 additional information we be use the zipkin image not the slim one we have 8 spring boot app in the cluster all reporting spam to zipkin server via the spring cloud sleuth zipkin client the more the traffic the more time major gc still the traffic for our most active environment be quite low 1req s onto the zipkin server over 24h some figure for most active environment zipkin jvm spend 25s day for major gc and 100s day for minor gc 1 4 seem to be a huge ratio between major minor gc the major gc run of be evenly distribute over 24h no particular spike base on actual traffic what we try 1 change jvm gc from serialgc to g1gc we first think the issue be solve thank to proactive cleaning of g1gc before the upper limit be reach the proactive g1gc cleaning of old gen also lead to frequent major gc 2 increase heap size from 64mi to 1gi to verify whether old gen would converge somewhere the old gen have never converge and keep increase linearly up to the limit we be not expert at jvm heap analysis but in comparison with our app for our home make app in the first minute the old gen grow super fast then slow down and almost converge toward a limit the zipkin server in the first monute the old gen grow super fast then grow slow but linearly no convergence we guess this be relate to the nature of the app step to reproduce setup and run zipkin server setup zipkin client on spring boot app have regular even low traffic send on the spring boot app expect behaviour few major gc occurrence trigger do some of you experience the same thank in advance any sort of feedback will be welcome same message post in the gitter chat last week still wait for feedback ncyoafcjaqomeusvif gitter i m csd84hvkxwh2cjegmqrznikxrck0d3 lic3y6biogjq via gitter I m
openzipkinzipkin
color optimization for color blindness
Enhancement
a friend of mine be daltonist and he be an extensive zipkin user he often struggle with distinguish certain color especially when it come to visualization or color code element in the zipkin ui it make it quite challenging for he to effectively analyze and make sense of the present datum feature my proposal to help he be alternative color indicator add extra indicator or alternative method to convey information rather than solely rely on color differentiation would be super helpful it could be thing like pattern symbol or text label alongside color contrast enhancement improve the contrast between background and foreground color throughout the application would greatly assist user with daltonism it would make it easy for we to read text and identify important element
openzipkinzipkin
enhance mysql datasource configuration
Enhancement
feature hikari pool for myslq storage use a partial configuration rationale when the environment have some network instability it be neat to be able to configure the pool accordingly eviction config typically note what I m not sure should the datasource be configure use spring boot datasource and zipkin mysql datasource configuration ignore in such a case or should the conditional bean producer for mysql datasource be enhancement to support more configuration with the relate env variable in zipkin server share yml
openzipkinzipkin
tag object be disable in es
Bug
json zipkin span 2023 03 22 mapping source exclude q dynamic template string match match mapping type string mapping ignore above 256 norm false type keyword property q type keyword annotation type object enable false duration type long i d type keyword ignore above 256 kind type keyword ignore above 256 localendpoint dynamic false property servicename type keyword name type keyword parentid type keyword ignore above 256 remoteendpoint dynamic false property servicename type keyword share type boolean the file be disable so it can t search in es tag type object enable false timestamp type long timestamp millis type date format epoch millis traceid type keyword
openzipkinzipkin
enhancement request non invasive way to collect poll scrap zipkin brave trace
Enhancement
hello zipkin team this be my first post in this repo if not anything else just want to say thank for this project zipkin have be tremendous for our springboot web application and we go from 0 trace to production level zipkin through the year thank to this project feature mon invasive way to collect poll scrap zipkin brave trace please background reason why I be ask be that we have a springboot 3 app that be already generate the brave trace it be a micro service architecture where servicea talk to serviceb talk to servicec etc have to just include a jar such as micrometer trace bridge brave it be spring cloud zipkin prior to springboot 3 be amazing however springboot need an intrusive way mean the application need to bring it a zipkin jar and configure the zipkin trace endpoint in order for the web application to send the trace default 1 minute to zipkin server the web app the client need to know where be the zipkin server I be look for a non invasive way to do this example scenario take log for instance the spingboot log be leave in a log file then a splunk forwarder come and collect scrap poll the log to send the log to splunk backend the springboot app do not have to know anything about it splunk the same example scenario can be say for metric where some kind of prometheus agent come and scrap the metric not have the springboot app to know anything about prometheus rationale such feature would help each and every app to decouple the zipkin server from the application itself we can maybe use some kind of sidecar pattern in order to achieve this for log and metric this have be prove very efficient already could you please consider this feature thank you
openzipkinzipkin
ui search stop work
Bug
describe the bug I m run zipkin in a kubernete deployment and store tracer in elastic search all fine but sometimes some miss behavior happen like today do some basic research to test query performance seem to make the application stop work I literally do nothing only research but it stop work if I redeploy my deployment it loose the link between zipkin and elastic search so I have to change the es index variable to make it work again but it will create a new index from scratch response error and ui error image image the query query curl x get h accept application json the log error it s the same for all the case and situation when it stop 2022 12 05 22 19 17 942 warn 1 orker epoll 2 3 z s i bodyisexceptionmessage unexpected error handling request com linecorp armeria server requesttimeoutexception null at com linecorp armeria server requesttimeoutexception get requesttimeoutexception java 36 armeria 1 17 2 jar at com linecorp armeria internal common cancellationscheduler invoketask cancellationscheduler java 467 armeria 1 17 2 jar at com linecorp armeria internal common cancellationscheduler lambda settimeoutnanosfromnow0 13 cancellationscheduler java 293 armeria 1 17 2 jar at com linecorp armeria common requestcontext lambda makecontextaware 3 requestcontext java 555 armeria 1 17 2 jar at io netty util concurrent promisetask runtask promisetask java 98 netty common 4 1 78 final jar 4 1 78 final at io netty util concurrent scheduledfuturetask run scheduledfuturetask java 153 netty common 4 1 78 final jar 4 1 78 final at io netty util concurrent abstracteventexecutor runtask abstracteventexecutor java 174 netty common 4 1 78 final jar 4 1 78 final at io netty util concurrent abstracteventexecutor safeexecute abstracteventexecutor java 167 netty common 4 1 78 final jar 4 1 78 final at io netty util concurrent singlethreadeventexecutor runalltask singlethreadeventexecutor java 470 netty common 4 1 78 final jar 4 1 78 final at io netty channel epoll epolleventloop run epolleventloop java 391 netty transport class epoll 4 1 78 final jar 4 1 78 final at io netty util concurrent singlethreadeventexecutor 4 run singlethreadeventexecutor java 997 netty common 4 1 78 final jar 4 1 78 final at io netty util internal threadexecutormap 2 run threadexecutormap java 74 netty common 4 1 78 final jar 4 1 78 final at io netty util concurrent fastthreadlocalrunnable run fastthreadlocalrunnable java 30 netty common 4 1 78 final jar 4 1 78 final at java lang thread run unknown source step to reproduce deploy zipkin through kubernete make it work and then just redeploy the zipkin part it win t be able to search the same index you ll have to set the es index variable with a completely different index name so it will get back to work expect behaviour sometimes we have to redeploy the zipkin part because we have to increase heap memory for example if I do it zipkin stop work I could be able to delete the deployment recreate and all should work properly unless I change the es index variable on purpose
openzipkinzipkin
specify color for application instead of it be generate from the name
Enhancement
feature specify color for application instead of it be generate from the name trace page rationale to case be an issue 1 two of our server generate basically the same color 2 we be start to tag local log with local service 1 which make it a different color its easy to follow if the same service be always the same color example scenario in a system of micro serve there be likely to be app name that generate similar color
openzipkinzipkin
zipkin can not report the span to kafka when project utilize swagge 3 0 0
Bug
springboot 2 6 3 2021 0 1 2021 0 1 0 springfox boot starter 3 0 0 phenomenon when I put the springfox dependency into project which the kafka server can not recept the span message after I try remove springfox dependency the kafka server which work I wish when swagger integrate springboot 2 6 3 I refer some blog add some bean because springboot 2 6 3 uncompatible sprignfox 3 0 0 trigger some exception such as component public class swaggerbeanpostprocessor implement beanpostprocessor override public object postprocessafterinitialization object bean string beanname throw beansexception if bean instanceof webmvcrequesthandlerprovider bean instanceof webfluxrequesthandlerprovider list handlermapping gethandlermapping bean customizespringfoxhandlermapping handlermapping return bean private void customizespringfoxhandlermapping list mapping list copy mapping stream filter mapping mapping getpatternparser null collect collector tolist mapping clear mapping addall copy suppresswarning unchecked private list gethandlermapping object bean try field field reflectionutil findfield bean getclass handlermapping field setaccessible true return list field get bean catch illegalargumentexception illegalaccessexception e throw new illegalstateexception e
openzipkinzipkin
start time java jar zipkin server 2 23 18 exec jar
Bug
java jar zipkin server 2 23 18 exec jar oo oooo oooooo oooooooo oooooooooo oooooooooooo ooooooo ooooooo oooooo ooooooo oooooo ooooooo oooooo o o oooooo oooooo oo oo oooooo ooooooo oooo oooo ooooooo oooooo ooooo ooooo ooooooo oooooo oooooo oooooo ooooooo oooooooo oo oo oooooooo ooooooooooooo oo oo ooooooooooooo oooooooooooo oooooooooooo oooooooo oooooooo oooo oooo version 2 23 18 commit 4b71677 2022 09 23 04 15 55 359 warn 5252 main s c a annotationconfigapplicationcontext exception encounter during context initialization cancel refresh attempt org springframework context applicationcontextexception fail to start bean armeriaservergracefulshutdownlifecycle nest exception be java util concurrent completionexception java lang illegalstateexception armeria server fail to start 2022 09 23 04 15 55 372 info 5252 main conditionevaluationreportlogginglistener error start applicationcontext to display the condition report re run your application with debug enable 2022 09 23 04 15 55 401 error 5252 main o s b springapplication application run fail org springframework context applicationcontextexception fail to start bean armeriaservergracefulshutdownlifecycle nest exception be java util concurrent completionexception java lang illegalstateexception armeria server fail to start at org springframework context support defaultlifecycleprocessor dostart defaultlifecycleprocessor java 181 spring context 5 3 20 jar 5 3 20 at org springframework context support defaultlifecycleprocessor access 200 defaultlifecycleprocessor java 54 spring context 5 3 20 jar 5 3 20 at org springframework context support defaultlifecycleprocessor lifecyclegroup start defaultlifecycleprocessor java 356 spring context 5 3 20 jar 5 3 20 at java lang iterable foreach unknown source 1 8 0 333 at org springframework context support defaultlifecycleprocessor startbean defaultlifecycleprocessor java 155 spring context 5 3 20 jar 5 3 20 at org springframework context support defaultlifecycleprocessor onrefresh defaultlifecycleprocessor java 123 spring context 5 3 20 jar 5 3 20 at org springframework context support abstractapplicationcontext finishrefresh abstractapplicationcontext java 935 spring context 5 3 20 jar 5 3 20 at org springframework context support abstractapplicationcontext refresh abstractapplicationcontext java 586 spring context 5 3 20 jar 5 3 20 at org springframework boot springapplication refresh springapplication java 780 spring boot 2 5 14 jar 2 5 14 at org springframework boot springapplication refreshcontext springapplication java 453 spring boot 2 5 14 jar 2 5 14 at org springframework boot springapplication run springapplication java 343 spring boot 2 5 14 jar 2 5 14 at org springframework boot builder springapplicationbuilder run springapplicationbuilder java 143 spring boot 2 5 14 jar 2 5 14 at zipkin server zipkinserver main zipkinserver java 56 class at sun reflect nativemethodaccessorimpl invoke0 native method 1 8 0 333 at sun reflect nativemethodaccessorimpl invoke unknown source 1 8 0 333 at sun reflect delegatingmethodaccessorimpl invoke unknown source 1 8 0 333 at java lang reflect method invoke unknown source 1 8 0 333 at org springframework boot loader mainmethodrunner run mainmethodrunner java 49 zipkin server 2 23 18 exec jar a
openzipkinzipkin
openzipkin docker image need upgrade java opensdk
Bug
look at the docker layer image layer scanner be detect vulnerablitie on docker image because of java 15 I d have to remove it or look for an alternative tracing solution plugin output the follow java jre installation be unsupported path var lib docker overlay2 e5359f7882becb7615e423493538755a692dc00ec542285914111a0a06e072a0 diff usr lib jvm java 15 openjdk instal version 1 15 0 5 late version 1 11 x 1 17 x 1 18 x support date 2021 03 01 end of premier support can this be update from java 15 to 17
openzipkinzipkin
allow zipkin to write to an elasticsearch alia without date make ilm possible
Enhancement
feature elasticsearch can manage the index itself now via ilm so it would make sense to let zipkin write to an alia instead and let elastisearch handle rotation and retention rationale more flexibility in manage your datum in elk and the possibility to utilize elastisearch ilm feature example scenario user that have a very large set of trace datum can then choose a short rollover period not just they but it s just more manageable overall
openzipkinzipkin
some plugin still have log4j vulnerability when build
Bug
when build winht maven log4 1 2 12 jar be be download by license maven plugin maven dependency plugin and store in maven m2 cache simple fix to upgrade plugin 4 2 rc3 3 3 0 for those computer like mine who be be scan for the log4j vulnerability by just the existance of the jar on my computer cause consure please make it stop
openzipkinzipkin
update alpine base image for cve 2022 37434
Bug
describe the bug cve 2022 37434 affect the alpine base image use by the openzipkin zipkin image on docker hub see alpine 3 13 12 3 14 8 and 3 15 6 release step to reproduce scan openzipkin zipkin with trivy or snyk expect behaviour base alpine image update to 3 13 12 3 14 8 or 3 15 6 note I look in the git repo for anything match with git grep e but didn t see where the actual build with alpine version for the non test image come from so I wasn t able to immediately make this into a pull request
openzipkinzipkin
docker healthcheck prolem when attach multiple network
Bug
when attach zipkin container to multiple network the hostname I have multiple record like this x x x x y y y y then cause error when exec the default docker healthcheck command container exit json state dead false error exitcode 143 finishedat 2022 07 05t09 22 57 184213617z health failingstreak 3 log end 2022 07 05t16 22 32 189200335 07 00 exitcode 1 output health check fail with code 1 response wget bad address 10 0 12 188 10 0 11 94 9411 n start 2022 07 05t16 22 32 053630546 07 00 end 2022 07 05t16 22 37 369756784 07 00 exitcode 1 output health check fail with code 1 response wget bad address 10 0 12 188 10 0 11 94 9411 n start 2022 07 05t16 22 37 223304564 07 00 end 2022 07 05t16 22 42 591913954 07 00 exitcode 1 output health check fail with code 1 response wget bad address 10 0 12 188 10 0 11 94 9411 n start 2022 07 05t16 22 42 452320527 07 00 end 2022 07 05t16 22 47 758688361 07 00 exitcode 1 output health check fail with code 1 response wget bad address 10 0 12 188 10 0 11 94 9411 n start 2022 07 05t16 22 47 619973785 07 00 end 2022 07 05t16 22 52 961102591 07 00 exitcode 1 output health check fail with code 1 response wget bad address 10 0 12 188 10 0 11 94 9411 n start 2022 07 05t16 22 52 826385741 07 00 status unhealthy oomkilled false paused false pid 0 restart false run false startedat 2022 07 05t09 22 11 549766995z status exit step to reproduce step to reproduce the behavior multiple network for container or swarm stack docker compose service yml service zipkin image openzipkin zipkin late pull policy always network backend traefik public environment healthcheck ip 127 0 0 1 expect behaviour please note in the doc fix the default command temporary solution set environment healthcheck ip 127 0 0 1
openzipkinzipkin
apache dubbo3
Enhancement
please support apache dubbo 3
openzipkinzipkin
zipkin server 2 12 3 springboot project add custom information to the span s json datum structure
Enhancement
the version use when customize the springboot project on the zipkin server be 2 12 3 springboot 2 1 17 release I want to add custom information to the json result of the span the kafka es method collect and store span datum thank you
openzipkinzipkin
customize trace response
Bug
zipkin trace api return the ip and port in payload we would like to suppress this info as it be recognize as security vulnerability image be there a way to suppress this info we be ok with not have remoteendpoint or localendpoint node as well
openzipkinzipkin
how to construct a zipkin server with springboot 2 3 12
Enhancement
how to build a zipkin server with springboot 2 3 12 I try to create a zipkin server dependency by reference I do not know the correspond zipkin server version of springboot2 3 12 when I try to get it from maven center it seem that there be no support for this version of zipkin dependency I have the follow problem when use the late version of zipkin server to rely on start a project description java lang illegalstateexception fail to introspect class zipkin2 autoconfigure ui zipkinuiautoconfiguration from classloader sun misc launcher appclassloader 18b4aac2 at org springframework util reflectionutil getdeclaredmethod reflectionutil java 481 spring core 5 2 15 release jar 5 2 15 release at org springframework util reflectionutil dowithmethod reflectionutil java 358 spring core 5 2 15 release jar 5 2 15 release at org springframework util reflectionutil getuniquedeclaredmethod reflectionutil java 414 spring core 5 2 15 release jar 5 2 15 release at org springframework bean factory support abstractautowirecapablebeanfactory lambda gettypeforfactorymethod 2 abstractautowirecapablebeanfactory java 742 spring bean 5 2 15 release jar 5 2 15 release at java util concurrent concurrenthashmap computeifabsent concurrenthashmap java 1688 1 8 0 201 at org springframework bean factory support abstractautowirecapablebeanfactory gettypeforfactorymethod abstractautowirecapablebeanfactory java 741 spring bean 5 2 15 release jar 5 2 15 release at org springframework bean factory support abstractautowirecapablebeanfactory determinetargettype abstractautowirecapablebeanfactory java 680 spring bean 5 2 15 release jar 5 2 15 release at org springframework bean factory support abstractautowirecapablebeanfactory predictbeantype abstractautowirecapablebeanfactory java 648 spring bean 5 2 15 release jar 5 2 15 release at org springframework bean factory support abstractbeanfactory isfactorybean abstractbeanfactory java 1614 spring bean 5 2 15 release jar 5 2 15 release at org springframework bean factory support defaultlistablebeanfactory dogetbeannamesfortype defaultlistablebeanfactory java 523 spring bean 5 2 15 release jar 5 2 15 release at org springframework bean factory support defaultlistablebeanfactory getbeannamesfortype defaultlistablebeanfactory java 495 spring bean 5 2 15 release jar 5 2 15 release at org springframework context support postprocessorregistrationdelegate invokebeanfactorypostprocessor postprocessorregistrationdelegate java 100 spring context 5 2 15 release jar 5 2 15 release at org springframework context support abstractapplicationcontext invokebeanfactorypostprocessor abstractapplicationcontext java 707 spring context 5 2 15 release jar 5 2 15 release at org springframework context support abstractapplicationcontext refresh abstractapplicationcontext java 533 spring context 5 2 15 release jar 5 2 15 release at org springframework boot springapplication refresh springapplication java 755 spring boot 2 3 12 release jar 2 3 12 release at org springframework boot springapplication refresh springapplication java 747 spring boot 2 3 12 release jar 2 3 12 release at org springframework boot springapplication refreshcontext springapplication java 402 spring boot 2 3 12 release jar 2 3 12 release at org springframework boot springapplication run springapplication java 312 spring boot 2 3 12 release jar 2 3 12 release at org springframework boot springapplication run springapplication java 1247 spring boot 2 3 12 release jar 2 3 12 release at org springframework boot springapplication run springapplication java 1236 spring boot 2 3 12 release jar 2 3 12 release at com zipkinapplication main zipkinapplication java 19 class cause by java lang noclassdeffounderror javax servlet http httpservletresponse at java lang class getdeclaredmethods0 native method 1 8 0 201 at java lang class privategetdeclaredmethod class java 2701 1 8 0 201 at java lang class getdeclaredmethod class java 1975 1 8 0 201 at org springframework util reflectionutil getdeclaredmethod reflectionutil java 463 spring core 5 2 15 release jar 5 2 15 release 20 more
openzipkinzipkin
support for in flight span
Enhancement
hi we would like to use opentelemetry zipkin to monitor our 60 000 monthly java batch job some of these job may take up to 72 hour to complete with some span take over an hour we could gain a great insight if we can see the span within the job as they execute rather than after completion and link to their parent s who be also in flight I would like to add this support in zipkin and I m fairly confident I can do it but I m ask for your opinion and support
openzipkinzipkin
the late version do not support mysql 8 0 as storage
Enhancement
I fount the late docker image only can work with low version mysql eg 5 7 but download the history version of 2 21 5 it can work with mysql 8 0 fine mean while I check the docker hub image version with github s release version be consistent too be there any problem occur when merge the pull request
openzipkinzipkin
can not find servce on zipkin server
Bug
I couldn t find service on zipkin here be my springboot project config file and pom denpendency spring application name springboot wy zipkin base url sleuth sampler probability 1 0 org springframework cloud spring cloud starter zipkin 2 0 0 release the zipkin server run well and the project log be like 2022 03 16 19 08 16 155 info springboot wy fa581971f82f11e4 fa581971f82f11e4 true 15876 io 8089 exec 10 c e d controller jerseyhellocontroller hello 2022 03 16 19 08 16 396 info springboot wy 33cca1964589dcf4 33cca1964589dcf4 true 15876 nio 8089 exec 8 c e d controller jerseyhellocontroller hello
openzipkinzipkin
java the zipkin2 proto3 package do not exist
Bug
describe the bug build zipkin version v 2 23 16 2022 2 24 late with idea environment copy step 1 load project 2 compile info java the zipkin2 proto3 package do not exist expect behaviour add zipkin2 proto3
openzipkinzipkin
can zipkin support aw opensearch
Enhancement
feature can zipkin support aw opensearch rationale elasticsearch have change license and it be not open source project anymore aws opensearch be open source project and it be almost the same as elasticsearch7 10 but it fail to use opensearch directly with zipkin because zipkin check the version and only accept es 5 7 x opensearch late version be 1 2
openzipkinzipkin
not all the span render in the ui
Bug
describe the bug hi I m not sure if this be a bug or a mis configuration I have the follow json come from some spring cloud service and the rendering seem to be miss some span the service name main integration unit be always not visible even though it s present in the json can you help I on understand why or if it s a bug should we re open this case the json traceid trace123idtrace123id parentid 240b231587dbf162 i d cbdb7f9d44dc83c6 kind server name get api internal path1 someid timestamp 1643375072199270 duration 137271 localendpoint servicename some service ipv4 192 168 1 1 remoteendpoint ipv4 192 168 183 86 port 12345 tag http method get http path api internal path1 someid123 mvc controller class internalcallscontroller mvc controller method blabyid share true traceid trace123idtrace123id parentid 6e8f6b3810ec68fd i d 17343a080f893a68 kind client name post timestamp 1643375072381891 duration 3080081 localendpoint servicename path2 api service ipv4 192 168 1 1 tag http method post http path path2 path4 traceid trace123idtrace123id parentid 17343a080f893a68 i d 700082a015d9cd98 kind server name post path2 path4 timestamp 1643375072384222 duration 3077527 localendpoint servicename main integration unit ipv4 192 168 1 1 remoteendpoint ipv4 127 0 0 1 port 12345 tag http method post http path path2 path4 mvc controller class firstcontroller mvc controller method dosomethe share true traceid trace123idtrace123id parentid 700082a015d9cd98 i d 514caa791673b818 kind client name post timestamp 1643375072405999 duration 3049268 localendpoint servicename main integration unit ipv4 192 168 1 1 tag http method post http path path5 rest api traceid trace123idtrace123id parentid 26640d33d4109f52 i d 01d29d9a99920587 kind consumer name poll timestamp 1643375075504926 duration 1 localendpoint servicename webhook service ipv4 192 168 1 1 remoteendpoint servicename kafka tag kafka topic com company label create traceid trace123idtrace123id parentid 6e8f6b3810ec68fd i d 26640d33d4109f52 kind producer name send timestamp 1643375075503019 duration 2597 localendpoint servicename path2 api service ipv4 192 168 1 1 remoteendpoint servicename kafka tag kafka topic com company label create traceid trace123idtrace123id parentid 240b231587dbf162 i d 6e8f6b3810ec68fd kind server name post v1 path3 path4 timestamp 1643375072339083 duration 3167260 localendpoint servicename path2 api service ipv4 192 168 1 1 remoteendpoint ipv4 111 111 1 1 tag http method post http path v1 path3 path4 mvc controller class somepath2controller mvc controller method dosomthing2 share true traceid trace123idtrace123id parentid e15b943cb34bea2a i d 18b4409a5719aead kind server name get api internal path1 someid timestamp 1643375075511111 duration 236651 localendpoint servicename some service ipv4 192 168 1 1 remoteendpoint ipv4 192 168 1 1 port 12345 tag http method get http path api internal path1 someid123 mvc controller class internalcallscontroller mvc controller method getsomethingbyid share true traceid trace123idtrace123id parentid d16d0ae633f4056f i d e15b943cb34bea2a name send webhook for first time timestamp 1643375075509166 duration 1403716 localendpoint servicename webhook service ipv4 192 168 1 1 tag class webhooksendingservice method sendwebhookforfirsttime traceid trace123idtrace123id parentid 240b231587dbf162 i d cbdb7f9d44dc83c6 kind client name get timestamp 1643375072198728 duration 138007 localendpoint servicename some gateway ipv4 192 168 1 1 tag http method get http path api internal path1 someid123 traceid trace123idtrace123id parentid 26640d33d4109f52 i d 861359577e48ea8f kind consumer name poll timestamp 1643375075504819 duration 1 localendpoint servicename other service ipv4 192 168 1 1 remoteendpoint servicename kafka tag kafka topic com company label create traceid trace123idtrace123id parentid 861359577e48ea8f i d aec32add6a009b17 name on message timestamp 1643375075504974 duration 4488 localendpoint servicename other service ipv4 192 168 1 1 traceid trace123idtrace123id parentid trace123idtrace123id i d 240b231587dbf162 kind server name post timestamp 1643375072045085 duration 3462324 localendpoint servicename some gateway ipv4 192 168 1 1 remoteendpoint ipv4 111 111 11 111 tag http method post http path path2 v1 path3 path4 share true traceid trace123idtrace123id parentid 01d29d9a99920587 i d d16d0ae633f4056f name on message timestamp 1643375075505071 duration 4661 localendpoint servicename webhook service ipv4 192 168 1 1 traceid trace123idtrace123id parentid 240b231587dbf162 i d 67a3750b7e128b9c kind server name get api internal path1 someid timestamp 1643375072047645 duration 149705 localendpoint servicename some service ipv4 192 168 109 180 remoteendpoint ipv4 192 168 1 1 port 12345 tag http method get http path api internal path1 someid123 mvc controller class internalcallscontroller mvc controller method getsomethingbyid share true traceid trace123idtrace123id parentid 240b231587dbf162 i d 67a3750b7e128b9c kind client name get timestamp 1643375072045843 duration 151749 localendpoint servicename some gateway ipv4 192 168 1 1 tag http method get http path api internal path1 someid123 traceid trace123idtrace123id parentid e15b943cb34bea2a i d 18b4409a5719aead kind client name get timestamp 1643375075509356 duration 238508 localendpoint servicename webhook service ipv4 192 168 1 1 tag http method get http path api internal path1 someid123 traceid trace123idtrace123id parentid 240b231587dbf162 i d 6e8f6b3810ec68fd kind client name post timestamp 1643375072337351 duration 3169287 localendpoint servicename some gateway ipv4 192 168 1 1 tag http method post http path v1 path pref suffix step to reproduce try to make a multiple nest call and query the trace you ll find that some span be miss accord to the json provide expect behaviour all span include in the json render in the ui issue screenshot
openzipkinzipkin
provide option in openzipkin cassandra storagetype to turn on off hostname verification
Enhancement
please first look at exist issue to see if the feature have be request before if you don t find anything tell we what problem you re try to solve often a solution already exist don t send pull request to implement new feature without first get our support sometimes we leave feature out on purpose to keep the project small feature currently there be no option in zipkin casandra storage type to enable disable hostname verification by default host name verification default to true rationale sometimes in test level the jks certifciate doesn t contain all the san entry and hence have default cassandra behavior of have host name verification true hence we can t integrate cassandra to zipkin example scenario have this feature we can work with different certificate with without san entry in test and production environment since cassandra provide the support to turn on off this behavior zipkin should not block any feature of underlie technology prior art datastax driver default to hostname verification true l83 l85 2 configuration for the java driver be here 3 hostname validation parameter that need to get expose zipkin would need to expose the parameter to configure it but it currently doesn t we need another parameter like we have to enable disable ssl for hostname verification too
openzipkinzipkin
tls issue with docker healthcheck
Bug
when run zipkin with tls enable as a docker compose service use the following env var java opt darmeria ssl key store keystore p12 darmeria ssl key store password password darmeria ssl enable true darmeria port 0 port 9411 darmeria port 0 protocol 0 https the server start up and the ui work with https but zipkin log the cause by javax net ssl sslhandshakeexception error 1000009c ssl routine openssl internal http request exception stacktrace every 5 second and the log size grow quickly it seem there s a docker healthcheck which only target the http endpoint l70 l46 expect behaviour the healthcheck endpoint should be dynamic base on which protocol be enable http https
openzipkinzipkin
click twice the query button of run query then get a blank page
Bug
I install zipkin by the way docker run d p 9411 9411 openzipkin zipkin then I visit when I click twice the query button of run query then get a blank page I try many time but the result be same
openzipkinzipkin
zipkin with es7 can not invoke string hashcode because be null
Bug
zipkin2 with es7 can not invoke string hashcode because be null hi we have this issue since we upgrade our zipkin backend storage from es6 to es7 can not invoke string hashcode because be null ss2 ss java 2021 12 06 14 46 10 488 warn 1 orker epoll 2 1 z s i bodyisexceptionmessage unexpected error handling request java lang nullpointerexception can not invoke string hashcode because be null at zipkin2 elasticsearch internal jsonserializers parsespan jsonserializers java 67 zipkin storage elasticsearch 2 23 9 jar at zipkin2 elasticsearch internal client searchresultconverter convert searchresultconverter java 46 zipkin storage elasticsearch 2 23 9 jar at zipkin2 elasticsearch internal client searchresultconverter convert searchresultconverter java 27 zipkin storage elasticsearch 2 23 9 jar at zipkin2 elasticsearch internal client httpcall parseresponse httpcall java 275 zipkin storage elasticsearch 2 23 9 jar at zipkin2 elasticsearch internal client httpcall doexecute httpcall java 166 zipkin storage elasticsearch 2 23 9 jar at zipkin2 call base execute call java 391 zipkin 2 23 9 jar at zipkin2 call flatmappe doexecute call java 276 zipkin 2 23 9 jar at zipkin2 call base execute call java 391 zipkin 2 23 9 jar at zipkin2 call mapping doexecute call java 237 zipkin 2 23 9 jar at zipkin2 call base execute call java 391 zipkin 2 23 9 jar at zipkin2 call mapping doexecute call java 237 zipkin 2 23 9 jar at zipkin2 call base execute call java 391 zipkin 2 23 9 jar at zipkin2 server internal zipkinqueryapiv2 gettrace zipkinqueryapiv2 java 147 class at com linecorp armeria internal server annotation annotatedservice invoke annotatedservice java 391 armeria 1 13 3 jar at com linecorp armeria internal server annotation annotatedservice lambda serve0 8 annotatedservice java 359 armeria 1 13 3 jar at java util concurrent completablefuture uniapply tryfire unknown source at java util concurrent completablefuture completion run unknown source at com linecorp armeria common requestcontext lambda makecontextaware 3 requestcontext java 547 armeria 1 13 3 jar at java util concurrent executors runnableadapter call unknown source at java util concurrent futuretask run unknown source at java util concurrent scheduledthreadpoolexecutor scheduledfuturetask run unknown source at java util concurrent threadpoolexecutor runworker unknown source at java util concurrent threadpoolexecutor worker run unknown source at io netty util concurrent fastthreadlocalrunnable run fastthreadlocalrunnable java 30 netty common 4 1 69 final jar 4 1 69 final at java lang thread run unknown source step to reproduce zipkin ghcr io openzipkin zipkin 2 es 7 13 4
openzipkinzipkin
win10 fail to start zikpin
Enhancement
after download zipkin server 2 23 5 exec jar on win10 start it directly on win10 use java jar zipkin server 2 23 5 exec jar after startup it can not be access in the browser the browser appear a white screen how can you solve it
openzipkinzipkin
hi do zipkin support link tarcke to rabbitmq if I m use netcore
Enhancement
hi do zipkin support link tarcke to rabbitmq if I m use netcore
openzipkinzipkin
com linecorp armeria common contenttoolargeexception
Bug
elasticsearch 7 10 0 zipkin 2 23 1 set for limit when we have number 5 it be ok when it be 10 there be problem fail to search internal server error for example query log message in zipkin which be the reason for the error what be the solution for this error 2021 09 28 10 35 02 552 yellow 2929 armeria common blocking task 1 1474735 z s internal bodyisexceptionmessage unexpected error handling request com linecorp armeria common contenttoolargeexception null at com linecorp armeria common contenttoolargeexception get contenttoolargeexception java 34 at com linecorp armeria client http1responsedecoder channelread http1responsedecoder java 211 at io netty channel abstractchannelhandlercontext invokechannelread abstractchannelhandlercontext java 379 at io netty channel abstractchannelhandlercontext invokechannelread abstractchannelhandlercontext java 365 at io netty channel abstractchannelhandlercontext firechannelread abstractchannelhandlercontext java 357 at io netty channel combinedchannelduplexhandler delegatingchannelhandlercontext firechannelread combinedchannelduplexhandler java 436 at io netty handler codec bytetomessagedecoder firechannelread bytetomessagedecoder java 324 at io netty handler codec bytetomessagedecoder firechannelread bytetomessagedecoder java 311 at io netty handler codec bytetomessagedecoder calldecode bytetomessagedecoder java 425 at io netty handler codec bytetomessagedecoder channelread bytetomessagedecoder java 276 at io netty channel combinedchannelduplexhandler channelread combinedchannelduplexhandler java 251 at io netty channel abstractchannelhandlercontext invokechannelread abstractchannelhandlercontext java 379 at io netty channel abstractchannelhandlercontext invokechannelread abstractchannelhandlercontext java 365 at io netty channel abstractchannelhandlercontext firechannelread abstractchannelhandlercontext java 357 at io netty handler log logginghandler channelread logginghandler java 271 at io netty channel abstractchannelhandlercontext invokechannelread abstractchannelhandlercontext java 379 at io netty channel abstractchannelhandlercontext invokechannelread abstractchannelhandlercontext java 365 at io netty channel abstractchannelhandlercontext firechannelread abstractchannelhandlercontext java 357 at io netty handler ssl sslhandler unwrap sslhandler java 1533 at io netty handler ssl sslhandler decodenonjdkcompatible sslhandler java 1294 at io netty handler ssl sslhandler decode sslhandler java 1331 at io netty handler codec bytetomessagedecoder decoderemovalreentryprotection bytetomessagedecoder java 501 at io netty handler codec bytetomessagedecoder calldecode bytetomessagedecoder java 440 at io netty handler codec bytetomessagedecoder channelread bytetomessagedecoder java 276 at io netty channel abstractchannelhandlercontext invokechannelread abstractchannelhandlercontext java 379 at io netty channel abstractchannelhandlercontext invokechannelread abstractchannelhandlercontext java 365 at io netty channel abstractchannelhandlercontext firechannelread abstractchannelhandlercontext java 357 at io netty handler flush flushconsolidationhandler channelread flushconsolidationhandler java 152 at io netty channel abstractchannelhandlercontext invokechannelread abstractchannelhandlercontext java 379 at io netty channel abstractchannelhandlercontext invokechannelread abstractchannelhandlercontext java 365 at io netty channel abstractchannelhandlercontext firechannelread abstractchannelhandlercontext java 357 at io netty channel defaultchannelpipeline headcontext channelread defaultchannelpipeline java 1410 at io netty channel abstractchannelhandlercontext invokechannelread abstractchannelhandlercontext java 379 at io netty channel abstractchannelhandlercontext invokechannelread abstractchannelhandlercontext java 365 at io netty channel defaultchannelpipeline firechannelread defaultchannelpipeline java 919 at io netty channel epoll abstractepollstreamchannel epollstreamunsafe epollinready abstractepollstreamchannel java 795 at io netty channel epoll abstractepollchannel abstractepollunsafe 1 run abstractepollchannel java 388 at io netty util concurrent abstracteventexecutor safeexecute abstracteventexecutor java 164 at io netty util concurrent singlethreadeventexecutor runalltask singlethreadeventexecutor java 472 at io netty channel epoll epolleventloop run epolleventloop java 384 at io netty util concurrent singlethreadeventexecutor 4 run singlethreadeventexecutor java 989 at io netty util internal threadexecutormap 2 run threadexecutormap java 74 at io netty util concurrent fastthreadlocalrunnable run fastthreadlocalrunnable java 30 at java base java lang thread run thread java 834
openzipkinzipkin
unexpected error handling request
Bug
describe the bug 2021 09 06 19 48 18 394 warn 816431 ing task 1 455 z s i bodyisexceptionmessage unexpected error handling request java lang runtimeexception at zipkin2 elasticsearch internal client httpcall lambda parseresponse 4 httpcall java 265 zipkin storage elasticsearch 2 23 2 jar at zipkin2 elasticsearch internal client httpcall parseresponse httpcall java 275 zipkin storage elasticsearch 2 23 2 jar at zipkin2 elasticsearch internal client httpcall doexecute httpcall java 166 zipkin storage elasticsearch 2 23 2 jar at zipkin2 call base execute call java 391 zipkin 2 23 2 jar at zipkin2 server internal zipkinqueryapiv2 getservicename zipkinqueryapiv2 java 97 class at jdk internal reflect nativemethodaccessorimpl invoke0 native method at jdk internal reflect nativemethodaccessorimpl invoke nativemethodaccessorimpl java 62 at jdk internal reflect delegatingmethodaccessorimpl invoke delegatingmethodaccessorimpl java 43 at java lang reflect method invoke method java 566 at com linecorp armeria internal server annotation annotatedservice invoke annotatedservice java 331 armeria 1 3 0 jar at com linecorp armeria internal server annotation annotatedservice lambda serve0 6 annotatedservice java 306 armeria 1 3 0 jar at java util concurrent completablefuture uniapply tryfire completablefuture java 642 at java util concurrent completablefuture completion run completablefuture java 478 at com linecorp armeria common requestcontext lambda makecontextaware 3 requestcontext java 502 armeria 1 3 0 jar at io micrometer core instrument internal timedrunnable run timedrunnable java 44 micrometer core 1 6 2 jar 1 6 2 at java util concurrent executors runnableadapter call executor java 515 at java util concurrent futuretask run futuretask java 264 at java util concurrent scheduledthreadpoolexecutor scheduledfuturetask run scheduledthreadpoolexecutor java 304 at java util concurrent threadpoolexecutor runworker threadpoolexecutor java 1128 at java util concurrent threadpoolexecutor worker run threadpoolexecutor java 628 at io netty util concurrent fastthreadlocalrunnable run fastthreadlocalrunnable java 30 netty common 4 1 54 final jar 4 1 54 final at java lang thread run thread java 834 image step to reproduce step to reproduce the behavior 1 elasticsearch 7 14 0 2 kibana 7 14 0 3 rabbitmq 3 8 8 4 springcloud 2020 0 3 when I open the home page the console report an error in the image expect behaviour help I
openzipkinzipkin
Bug
image import zipkin2 proto3 listofspans import zipkin2 proto3 reportresponse
openzipkinzipkin
zipkin tag object disabled in es
Bug
describe the bug zipkin version 2 23 2 es version aw es 7 9 I have setup zipkin to write span to our aw manage es instance I be unable to search tag object in es because they be not searchable they have be mark as unknown datatype and be not enable in the template how can I resolve this the zipkin template be zipkin span 2021 08 11 alias mapping source exclude q dynamic template string match match mapping type string mapping ignore above 256 norm false type keyword property q type keyword annotation type object enable false duration type long i d type keyword ignore above 256 kind type keyword ignore above 256 localendpoint dynamic false property servicename type keyword name type keyword parentid type keyword ignore above 256 remoteendpoint dynamic false property servicename type keyword share type boolean tag type object enable false timestamp type long timestamp millis type date format epoch millis traceid type keyword setting index number of shard 5 provide name zipkin span 2021 08 11 creation date 1628640006251 request cache enable true number of replicas 1 uuid byja4vdrb6pdkod5nfxrg version create 7090199
openzipkinzipkin
please support es apikey authentication
Enhancement
please support es apikey authentication some of host es enterprise service usually do not support basic authentication header authorization apikey xxxxx
openzipkinzipkin
span can t be search filter with tagquery and spanname when use cassandra as storage
Bug
describe the bug as title step to reproduce 1 invoke api of app to generate some trace datum to report 2 search with tagquery such as tagquery http method get span relate will appear in result 3 search with spanname such as spanname get zipkin api v2 trace span relate will appear in result 4 search with tagquery and spanname even if there exist datum after filter by step 2 3 but search result be empty expect behaviour there should be match result of span datum
openzipkinzipkin
zipkin server not work with kafka and elasticsearch over capacity
Bug
describe the bug we have zipkin server 2 23 2 reading form kafka with zipkin collector kafka and the storage be elasticsearch with high number of span we find that zipkin server not work old region of jvm be 100 cpu be very high too then server not work ui query not work too my run server script be java dzipkin collector kafka bootstrap server 192 168 30 72 9092 dzipkin collector kafka topic zipkin dzipkin collector kafka groupid zipkin dzipkin collector kafka override max poll interval ms 300000 dzipkin collector kafka override max poll record 500 dzipkin collector kafka override auto offset reset late dzipkin collector kafka stream 16 dzipkin storage type elasticsearch dzipkin storage elasticsearch host 192 168 30 72 19200 dzipkin storage elasticsearch username elastic dzipkin storage elasticsearch password 123456 jar zipkin server 2 23 2 jar if this be a ui issue image image in the log we get the exception 2021 05 26 08 13 46 548 armeria common worker epoll 2 13 warn zipkin2 server internal bodyisexceptionmessage bodyisexceptionmessage java 41 unexpected error handling request com linecorp armeria common closedsessionexception null at com linecorp armeria common closedsessionexception get closedsessionexception java 36 armeria 1 3 0 jar at com linecorp armeria server httpserverhandler cleanup httpserverhandler java 233 armeria 1 3 0 jar at io netty util concurrent promisetask runtask promisetask java 98 netty common 4 1 54 final jar 4 1 54 final at io netty util concurrent scheduledfuturetask run scheduledfuturetask java 170 netty common 4 1 54 final jar 4 1 54 final at io netty util concurrent abstracteventexecutor safeexecute abstracteventexecutor java 164 netty common 4 1 54 final jar 4 1 54 final at io netty util concurrent singlethreadeventexecutor runalltask singlethreadeventexecutor java 472 netty common 4 1 54 final jar 4 1 54 final at io netty channel epoll epolleventloop run epolleventloop java 384 netty transport native epoll 4 1 54 final linux x86 64 jar 4 1 54 final at io netty util concurrent singlethreadeventexecutor 4 run singlethreadeventexecutor java 989 netty common 4 1 54 final jar 4 1 54 final at io netty util internal threadexecutormap 2 run threadexecutormap java 74 netty common 4 1 54 final jar 4 1 54 final at io netty util concurrent fastthreadlocalrunnable run fastthreadlocalrunnable java 30 netty common 4 1 54 final jar 4 1 54 final at java lang thread run thread java 748 1 8 0 181 2021 05 26 08 21 45 809 kafka coordinator heartbeat thread zipkin info org apache kafka client consumer internal abstractcoordinator abstractcoordinator java 904 consumer clientid consumer zipkin 12 groupid zipkin group coordinator 192 168 30 72 9092 i d 2147483647 rack null be unavailable or invalid due to cause null isdisconnecte true rediscovery will be attempt 2021 05 26 08 25 20 004 kafka coordinator heartbeat thread zipkin info org apache kafka client consumer internal abstractcoordinator abstractcoordinator java 1029 consumer clientid consumer zipkin 5 groupid zipkin member consumer zipkin 5 d48b4de 2cd5 40d0 a36b 9f3dc5d3555b send leavegroup request to coordinator 192 168 30 72 9092 i d 2147483647 rack null due to consumer poll timeout have expire this mean the time between subsequent call to poll be long than the configure max poll interval ms which typically imply that the poll loop be spend too much time processing message you can address this either by increase max poll interval ms or by reduce the maximum size of batch return in poll with max poll record
openzipkinzipkin
miss cross frame scripting protection
Bug
while use the zipkin server dependency with version 2 23 2 one security issue be identify miss cross frame scripting protection cross frame script xfs vulnerability can allow an attacker to load the vulnerable application inside an html iframe tag on a malicious page could you please suggest how to fix it