primordic/IssueDupesLite huggingface dataset:
Repository: aleksey-hoffman/sigma-file-manager

Issue #1: [Problem report] Error: The device is not ready.
Created: 2021-05-25T12:35:46Z
First issue 😎

System info:

App version: 1.0.0 
Operating System: Win10 Pro N 20H2 19042.928 

Problem:
As a WinGet package maintainer i wanted to add Sigma as a package.
The validation process requires to test the package in a VM/Sandbox, the program installed fine, but it cannot find the drives and this error pops up.

Duplicate issue #36: Problem: No Drives show up; Windows
Created: 2021-05-26T01:38:52Z
Error: Error: EISDIR, The device is not ready.
'E:/'
at o.fetchStorageDevices (app://./index.bundle.js:1:48802)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async o.mounted (app://./index.bundle.js:1:22620)

Closing comment (2021-05-26T07:37:43Z): Duplicate of #1
Repository: aleksey-hoffman/sigma-file-manager

Issue #119: Setting: Save Changes to Default Sorting Options
Created: 2021-07-07T21:34:24Z
Feature request:
A setting discoverable under UI Appearance, could allow the user to save their changes to default sorting options in order to stylize the app and save time. Example: to always by default display the most recently modified files first through the use of the existing system of sorting by date and changing the order to descending, however instead of having to change this dropdown setting every time the app launches, the users' choices would be saved.

Duplicate issue #141: Sorting the data
Created: 2021-09-05T04:35:03Z
Is there an existing issue for this?

 I have searched the opened issues

Problem description
Hi, I was sorting my data according to date created descending order and as soon as I restarted the app, it again went back to the default sorting scheme. Is there any way that the sorting scheme stays in the memory permanently till we don't modify it? Thanks!
Steps to reproduce

Start Sigma File Manager.
Open any Directory.
Now modify the sorting options.
Close the app completely (from system tray as well).
Now start it again and check for the sorting options in any directory.

Environment

OS: Windows 21H1
App version: 1.4.0 (build 2)

Closing comment (2021-09-05T10:53:36Z): Duplicate of #119
Yeah, I forgot about this. I will fix this in v1.5 update.
Repository: aleksey-hoffman/sigma-file-manager

Issue #227: Not generating thumbnails
Created: 2023-03-26T04:04:47Z
Is there an existing issue for this?

 I have searched the opened issues

Problem description
I just downloaded the app and started testing it out. It will not generate thumbnails for image or video. I looked in the settings, checked other issues, and can't find any solutions
Steps to reproduce



No steps to note, just isn't generating thumbnails out of the box.
Environment

OS: Windows 10
App version: 1.6.0

Duplicate issue #241: Thumbnails doesn't show
Created: 2023-05-01T16:00:56Z
Is there an existing issue for this?

 I have searched the opened issues

Problem description
Can't see thumbnails for image files.
Steps to reproduce

Open any folder with image files.

Environment

OS: Windows 11
App version: latest

Closing comment (2023-05-02T06:06:26Z): Duplicate of #227
Repository: alexjustesen/speedtest-tracker

Issue #194: Scheduled Speedtests will always run one hour late
Created: 2022-12-05T18:06:53Z
Describe the bug
Hi,
hope you are doing well and thank you for this project! I started to set this up yesterday on my Synology NAS to replace Speedtest Tracker (the original) however I'm currently seeing an issue with the Speedtest scheduling. If I set this up via cron expression, basically the same as with the original Speedtest Tracker I'm seeing that it will always run 1 hour late. E.g. if I set this to 3 PM it will run at 4 PM and I can't seem to figure out why, so I'm thinking this is a Bug. To reproduce and show it on a Screenshot I had picked a simple time. Maybe something to do with the set Timezone?
To Reproduce
Steps to reproduce the behavior:

Go to General Settings
Set cron expression to something like '0 15 * * *'
Wait for the schedule expected time
See that the Test will not run until one our late

Expected behavior
Scheduled Tests should be run at the exact time I define them via cron expression
Screenshots

Logs
No logs showing the actual run of the test, Logiles have the correct timestamp. Executing into the container will show the time is correct:
root@1bddb13f78d3:/var/www/html# date -d "$(curl -sI google.com| grep -i '^date:'|cut -d' ' -f2-)"
Mon Dec  5 18:55:23 CET 2022
root@1bddb13f78d3:/var/www/html# uptime
 18:55:26 up 235 days, 11:52,  0 users,  load average: 0.24, 0.39, 0.29
root@1bddb13f78d3:/var/www/html

Additional context
How I'm running the container:
docker run --restart=always --name=speedtest-tracker -d \
    -v /volume1/docker/speedtest-tracker:/config \
    -e "TZ=Europe/Berlin" \
    -e "PUID=1026" \
    -e "PGID=100" \
    -p 5811:80 \
    ghcr.io/alexjustesen/speedtest-tracker:latest

Duplicate issue #242: Time Zone Issue
Created: 2022-12-18T14:57:09Z
I am seeing some weird issues with the scheduler that looks like maybe a time zone issue.   My scheduled cron entry is [ 0 8,20 * * * ] which should trigger at 8 AM and 8 PM.   My time zone is  America/New_York, so 5 hours off UTC.  The jobs are running at 3 am and 3 PM which correlates to the 5 hours off the scheduled time.   I can adjust around this but is it a config issue somewhere?

Closing comment (2022-12-18T15:28:15Z): I think this is related to #194 as well. I think I'm going to remove the timezone from the UI and make it a Docker env instead this way the container, cron and app can all read one env var. I'm going to close this out as I'll track all the notes and changes there.
Repository: alexjustesen/speedtest-tracker

Issue #258: Separate charts for download / upload (or mixed axis chart)
Created: 2022-12-21T21:29:49Z
Is your feature request related to a problem? Please describe.
Speedtest results on an asymetric connection can be visually frustrating. I have 1000/40 Mbps down/up speed the nearly representing two horisontal lines. Impossible to see drops.

Describe the solution you'd like
The chart could have a second axis. One for download and one for upload speed. Displaying would be more representating because of the smaller thresholds.
Additional context
If the implementation of the the axis chart is problematic, maybe an option for a separate chart would be welcome for down/up speed.

Duplicate issue #1135: [FR] Option to seperate diagrams for download and upload speeds
Created: 2024-02-16T17:13:37Z
There are some ISP offers, where disproportion between download and upload speeds is very big. So it is almost impossible to estimate the plot in detail in this case.
As for example, Download should be about 15 Mbs, and Upload speed - 1 Mbs. Upload diagram is really not clear.

It should be great to have a separate picture for Upload metric with different scale/reference point.

Closing comment (2024-02-16T23:42:18Z): Dup of #258
Repository: alexjustesen/speedtest-tracker

Issue #402: Results page column label incorrect
Created: 2023-02-12T00:54:35Z
In the Download column it says Mbps when in reality it is Gbps. Maybe just remove that part of the label and put it in the  data itself.

Duplicate issue #388: Thresholds trigger bug
Created: 2023-02-04T12:27:55Z
Thresholds triggered and notification mail send when speedtest is over it.

Closing comment (2023-02-14T08:15:33Z): Globally I think there's an issue with Gbps on other parts of the app. For example in this screenshot from the result page:

The result is marked as 2.532 mbps when it is in fact 2.532 gbps.
@alexjustesen do you want me to create a seperate issue for this, or are they linked?
Thanks!
[edit : ] sorry, that's a duplicate of #402
Repository: alexjustesen/speedtest-tracker

Issue #40: Notification channels
Created: 2022-10-03T12:20:22Z
When a notification is triggered it should be sent to a channel so that the user is notified of the thing.
Supported channels should will include:

 Database notification channel
 #141
 #1196
 #1522
 #265
 #1561
 #1579
 #1651
 #1567
 #1574
 #869
 #1578, cancelled because MS is dropping Teams webhook support

Duplicate issue #1526: Add ntfy as a Notification Option
Created: 2024-06-12T11:53:58Z
Would be a nice feature to include ntfy as an option when setting up notifications.
https://ntfy.sh/

Closing comment (2024-06-12T13:21:09Z): Dup #40
Repository: alexta69/metube

Issue #26: Please add link to download from downloads folder
Created: 2021-04-01T15:54:22Z
After downloading video to downloads folder. Please add a URL in the UI to download/delete same video from downloads folder. So we only need webbrowser to do this things and no need to share manually go to downloads folder each time. thanks

Duplicate issue #48: download file from gui
Created: 2021-09-10T16:30:20Z
i would like to be able to click the file to download the completed file from browser as sometime i dont always have access to the download folder

Closing comment (2021-09-10T16:32:03Z): Duplicate of #26
Repository: alexta69/metube

Issue #56: Feature request: Add an optional filename field to form
Created: 2021-09-19T15:36:49Z
Thanks for your amazing work in advance. I'm wondering if it's possible to add an optional filename field to the form, which can override the default OUTPUT_TEMPLATE. (Optional means that if the value is not present in form, fallback to use OUTPUT_TEMPLATE.)
It's useful for downloading content with random title or metadata (e.g. downloading m3u8 content), and allows user to manage the downloaded files more intuitively without remembering the mapping between file names.

Duplicate issue #543: Filename Too Long Error When Downloading Videos
Created: 2024-11-24T09:32:10Z
When attempting to download a video from TikTok, the application encounters an error due to the filename being too long. The error message is as follows:
ERROR: unable to open for writing: [Errno 36] Filename too long: '/downloads/#tags... .mp4.part'
This issue arises because the filename is generated using the full title, which can exceed the maximum allowed length for filenames on the operating system.
Solution:
The issue was resolved by modifying the filename template in app/main.py#L31. The OUTPUT_TEMPLATE was updated to limit the title length to 50 characters, ensuring that the generated filename does not exceed the system's maximum length:
'OUTPUT_TEMPLATE': '%(title).50s.%(ext)s'
This change prevents the error by ensuring that filenames remain within acceptable limits.

Closing comment (2024-11-24T14:01:55Z): duplicate of #56 , #271 , #427
Repository: alexta69/metube

Issue #358: Is there a way to enable or configure a number of simultaneous yt-dlp downloads?
Created: 2023-12-20T01:18:37Z
As it is, MeTube is the best thing I've found for downloading live streams from Twitch. However, if one stream is being downloaded, nothing else can be at the same time, and the extra streams gets completely missed. Allowing concurrent downloads that is configurable would be excellent for my use case.

Duplicate issue #387: how to download youtube videos as multi-threads mode?
Created: 2024-01-27T13:04:10Z
how to download youtube videos as multi-threads mode?

Closing comment (2024-01-28T04:36:11Z): Duplicate of #358 ？

yes, i think so. just want to download some videos simultaneously.
Repository: alexta69/metube

Issue #342: Downloads overwrite each-other
Created: 2023-11-16T09:47:35Z
Just noticed that when downloading yt channels with lots of video's there are instances where it does not change the file name to "video.webm", "video (2).webm" etc. if the video title is the same name but the yt video's are different and it just overwrites the previous file.
Just wondering if this could be added as a default as it would be very useful.

Duplicate issue #345: problems downloading m3u8 links with identical file names
Created: 2023-11-19T16:21:33Z
So I am downloading videos via m3u8 links from time to time that are distributed via Akamai.
Akamai seems to always use the same file name for all videos (at least from this source) and to differentiate between different videos only in terms of the path part of the link. The consequence is that metube names all videos the same.
The problem with this is that as long as a video of the same name still exists in the download folder, the new (different) video with the same name will not be downloaded (because it appears to have been downloaded already). Even if I clear the downloaded video from the downloaded files list in the GUI (which leaves the actual file untouched), the new download is skipped. I have to actually delete the previous file (or rename it).
Would it be possible to either download the new video with the same name (maybe ask "are you sure?") and add (2), (3), etc. to the file name or add a function to allow me to change the name of the file on disk from the GUI?
Or does anyone know a trick to work around this issue?

Closing comment (2023-11-19T22:17:26Z): looks same as #342
A better way is to add a variable in the file name. Such as date and time. Or specify a different folder when downloading manually.
Repository: alexta69/metube

Issue #26: Please add link to download from downloads folder
Created: 2021-04-01T15:54:22Z
After downloading video to downloads folder. Please add a URL in the UI to download/delete same video from downloads folder. So we only need webbrowser to do this things and no need to share manually go to downloads folder each time. thanks

Duplicate issue #66: please add video download link and filesize
Created: 2021-10-08T06:44:06Z
thanks

Closing comment (2021-10-08T07:53:39Z): duplicate of #26
Repository: alexta69/metube

Issue #258: Empty queue on restart
Created: 2023-04-28T22:26:14Z
Seeing the following in the logs
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-3' coro=<DownloadQueue.__import_queue() done, defined at /app/app/ytdl.py:203> exception=TypeError("add() missing 1 required positional argument: 'custom_name_prefix'")>
Traceback (most recent call last):
  File "/app/app/ytdl.py", line 205, in __import_queue
    await self.add(v.url, v.quality, v.format, folder=v.folder)
TypeError: add() missing 1 required positional argument: 'custom_name_prefix'

Duplicate issue #315: queue not loaded after docker container restart
Created: 2023-08-29T12:37:59Z
hello,
i am using metube an it is working well. But when i have to restart the container the queue is not loaded:
This is a Log from start of container.
metube  | Setting umask to 022
metube  | Creating download directory (/downloads), state directory (/downloads/.metube), and temp dir (/downloads)
metube  | Changing ownership of download and state directories to 1000:1000
metube  | Running MeTube as user 1000:1000
metube  | INFO:main:Listening on 0.0.0.0:8081
metube  | DEBUG:asyncio:Using selector: EpollSelector
metube  | INFO:ytdl:waiting for item to download
metube  | ERROR:asyncio:Task exception was never retrieved
metube  | future: <Task finished name='Task-3' coro=<DownloadQueue.__import_queue() done, defined at /app/app/ytdl.py:205> exception=AttributeError("'DownloadInfo' object has no attribute 'custom_name_prefix'")>
metube  | Traceback (most recent call last):
metube  |   File "/app/app/ytdl.py", line 207, in __import_queue
metube  |     await self.add(v.url, v.quality, v.format, v.folder, v.custom_name_prefix)
metube  | AttributeError: 'DownloadInfo' object has no attribute 'custom_name_prefix'
metube  | Invalid session mH6NLJ1soj5qOLeWAAAS (further occurrences of this error will be logged with level INFO)
metube  | ERROR:engineio.server:Invalid session mH6NLJ1soj5qOLeWAAAS (further occurrences of this error will be logged with level INFO)

This is my docker-compose.yml
version: "3"
services:
  gluetun:
    image: qmcgaw/gluetun
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
    environment:
      - VPN_SERVICE_PROVIDER=xxxx
      - xxxxxx
      - xxxxxx
    ports:
      - "8081:8081"
    devices:
      - /dev/net/tun:/dev/net/tun
    volumes:
      - ./appdata:/gluetun

metube:
    image: alexta69/metube
    container_name: metube
    restart: unless-stopped
    network_mode: "service:gluetun"
#    ports:
#      - "8081:8081"
    volumes:
      - /opt/downloads:/downloads

i have updated metube a view days ago. so no update available
When i use metube normaly then it is working fine, but if i have to restart the container no downloads are visible.
How can i load the queue so the other downloads that are to be downloaded can start?

Closing comment (2023-08-30T23:17:02Z): this issue looks same as #258 . Are you upgrading from an older version from 3 months ago?
Repository: alexta69/metube

Issue #239: Bug: using a temp dir results in incorrect download link shown in the UI
Created: 2023-03-25T19:50:20Z
metube/app/ytdl.py
    
    
        Lines 71 to 73
      in
      d922970
    
  
  
    

        
          
           def put_status_postprocessor(d): 
        

        
          
               if d['postprocessor'] == 'MoveFiles' and d['status'] == 'finished': 
        

        
          
                   self.status_queue.put({'status': 'finished', 'filename': d['info_dict']['filepath']}) 
        
    
  


My DOWNLOADS dir resides on my NAS, but metube runs on another system, so I separate temp & final dir as follows:
    - name: Build metube options
      ansible.builtin.set_fact:
        metube_ytdl_options:
          outtmpl: "%(title)s.%(ext)s"
          paths:
            home: "/downloads"
            temp: "/tmp" # <------------------- 
          postprocessors:
            - key: FFmpegEmbedSubtitle
          subtitleslangs:
            - en
            - "-live_chat"
          verbose: true
          writeautomaticsub: true
          writesubtitles: true
Now when trying to download done file from the UI the link produced is as follows:
https://metube.location.tld/download/..%2Ftmp%2FName of video.webm, which is clearly incorrect.
When we look at the hook and inspect d, we get the following (greatly reduced) passed in:
{
  "_default_template": "MoveFiles finished",
  "info_dict": {
    "__files_to_merge": [
      "/tmp/Name of video.f313.webm",
      "/tmp/Name of video.f251.webm"
    ],
    "__files_to_move": {
      "/tmp/Name of video.webm": "/downloads/Name of video.webm"
    },
    "__finaldir": "/downloads",
    "_filename": "/downloads/Name of video.webm",
    "filepath": "/tmp/Name of video.webm"
  },
  "postprocessor": "MoveFiles",
  "status": "finished"
}
Going back to the hook, if we subsitute
                    self.status_queue.put({'status': 'finished', 'filename': d['info_dict']['filepath']})

with
                    self.status_queue.put({'status': 'finished', 'filename': d['info_dict']['_filename']})

We no longer have this issue.

Duplicate issue #168: Completed Video Link does not know about -P YTLD_Option
Created: 2022-08-21T17:09:31Z
Not sure if anyone but me is using this, but I think it would be an easy fix.
I have the following in YTDL_OPTIONS: {"paths": {"temp" : "/downloads/temp/", "home": "/downloads/"}}
This way the video won't show up in the downloads location until its finished downloading (and stop confusing plex).  When I click on the link in the MeTube WebUI under Completed, it still has the /temp/ in the URL and does not update that the file has been moved.
My OUTPUT_TEMPLATE is - "%(extractor_key)s/%(uploader)s - %(upload_date)s - %(title)s - %(id)s.%(ext)s"  which allows the videos to be put into subfolders based on the extractor (youtube/twitch/etc).  This way I can point plex at the extract folder and it won't see anything in ./temp/
I don't use that functionality so its not a big deal, just thought I'd report it.

Closing comment (2023-04-12T06:37:27Z): Duplicate of #239
Repository: alexta69/metube

Issue #113: Subscriptions
Created: 2022-02-06T05:24:01Z
It would be nice to have support for a subscription. So as new videos came out for a content creator or whatever then it would check every 24 hours for a new video and automatically download it for you.
I'm thinking of things like Critical Role and other gaming videos and board game review channels  where they do a daily or weekly update of a new show.

Duplicate issue #190: How can I only download new files from a channel?
Created: 2022-10-23T12:28:07Z
Is there a way that metube can only download new uploads from a channel?

Closing comment (2022-10-29T16:00:10Z): Duplicate of #113 .
Repository: alexta69/metube

Issue #14: RSS support?
Created: 2021-01-19T04:07:04Z
Is RSS support on the roadmap? I'm looking for a better looking ytdl site, but I use RSS heavily for importing of videos while I'm browsing on youtube.

Duplicate issue #476: Add rss support
Created: 2024-07-18T18:08:05Z
Please, can u add rss support for ttrss use with?

Closing comment (2024-09-11T16:50:14Z): Duplicate of #14
Repository: alexta69/metube

Issue #537: ERROR: [youtube] : No video formats found!
Created: 2024-11-02T11:38:40Z
Hi, I get this error every time I try to download video from Youtube .
My docker-compose.yml
services:
  metube:
    image: ghcr.io/alexta69/metube
    container_name: metube
    restart: unless-stopped
    ports:
      - "8081:8081"
    volumes:
      - "/mnt/pve/sb/downloads:/downloads:rw"

Is my first install and setup,
What I missing ?
Thanks!

Duplicate issue #590: No video formats found!
Created: 2025-02-10T14:03:41Z
Used to work for me, now i get this error for multiple videos

Closing comment (2025-02-10T14:18:55Z): Duplicate of #537
Repository: alibaba/Sentinel

Issue #1531: ErrorEntryFreeException:current entry in context: </error>
Created: 2020-06-08T10:04:46Z
springboot在发生错误时，出现了问题。
com.alibaba.csp.sentinel.ErrorEntryFreeException: The order of entry exit can't be paired with the order of entry, current entry in context: </error>, but expected: </xxx>
当请求/xxx的时候，显式抛出了异常，然后进入/error，然后就发生了以上问题。
版本1.7.1，starter版本2.2.1。

Duplicate issue #1552: spring-cloud-alibaba-sentinel 2.2+ web adapter ErrorEntryFreeException when visiting view by forward:/xxx
Created: 2020-06-16T06:33:00Z
spring-cloud-alibaba-dependencies :  2.2.1
spring-boot-dependencies : 2.2.8.RELEASE
Issue Description
bug report
Describe what happened (or what feature you want)
采用demo里面的最小化功能。WebMvcConfigurer添加
@Configuration
public class WebMvcConfiguration implements WebMvcConfigurer {

    @Override
    public void addViewControllers(ViewControllerRegistry registry) {
        registry.addViewController("/").setViewName("forward:/static/index.html");
        registry.addViewController("/favicon.ico").setViewName("forward:/static/favicon.ico");
        registry.addViewController("/index.html").setViewName("forward:/static/index.html");

    }
或者加一个重定向controller
@Controller
 public class Test2Controller {

    @GetMapping("/bb/test2")
    public String hello() {
        return "forward:/template";
    }
}
访问  所有带重定向的连接如 /index.html 或 /bb/test2，均会报告ErrorEntryFreeException
com.alibaba.csp.sentinel.ErrorEntryFreeException: The order of entry exit can't be paired with the order of entry, current entry in context: </template>, but expected: </bb/test2>

Describe what you expected to happen
直接访问/static/index.html  或者  /template 正常
How to reproduce it (as minimally and precisely as possible)
此功能在
spring-cloud-alibaba-dependencies.version版本 2.1.0.RELEASE
sentinel 版本1.6.3
下正常
经测试，spring-cloud-alibaba 版本2.2以上均有问题
Tell us your environment
win7
java8

Closing comment (2020-06-17T05:55:40Z): Maybe related to #1531, #1482
Repository: alibaba/Sentinel

Issue #1119: Data loss when desynchronizing json data of Set<ApiDefinition>
Created: 2019-10-28T02:33:22Z
this is myparser :   Converter<String, Set> apiparser = source -> JSON.parseObject(source,new TypeReference<Set<ApiDefinition>>() {});
and json string is ：
[{"apiName":"usersearch_api","predicateItems":[{"pattern":"/uaa/admin/usermanage/searchUser/**","matchStrategy":1}]}]
But when I deserialize this json, the value is like this：
https://i.ibb.co/30qJTpc/TIM-20191028104058.png

Duplicate issue #1289: API gateway flow control ApiDefinition parse failed
Created: 2020-02-16T09:27:38Z
这是在代码中获取配置截图

这是nacos的配置信息

无法获取到predicateItems的信息？

Closing comment (2020-02-17T01:03:55Z): Maybe related to #1119. You may refer to the solution in #1119 (comment)
Repository: alibaba/Sentinel

Issue #777: repository of FlowControllerV2 has data problem
Created: 2019-05-20T06:46:29Z
Issue Description
Type: bug report or feature request
In FlowControllerV2 use repository add or delete rule,maybe happen data overide problem.I add a rule,it id is 1 when sentinel-dashboard reload and zookeeper or nacos or apollo have rule,but the rule id of data source is 1.Then the again add rule will overide the  rule of  data source.
Describe what happened (or what feature you want)
This data coverage problem stems from com.alibaba.csp.sentinel.dashboard.repository.rule.InMemoryRuleRepositoryAdapter#nextId
see
com/alibaba/csp/sentinel/dashboard/repository/rule/InMemParamFlowRuleStore.java:36 
each time it gets The id starts with 1 each time you restart the sentinel-dashboard, so the data loaded from the data source is overwritten.
Describe what you expected to happen
How to reproduce it (as minimally and precisely as possible)





Tell us your environment
Anything else we need to know?

Duplicate issue #1122: The ids of Class InMemApiDefinitionStore after the sentinel-dashboard restart are not updated to the maximum value in the persistence
Created: 2019-10-29T03:20:43Z
this is my apis in apollo
{
"apiName": "usersearch",
"app": "gateway",
"gmtCreate": 1572318746623,
"gmtModified": 1572318746623,
"id": 8,
"ip": "10.67.146.103",
"port": 8719,
"predicateItems": [
{
"matchStrategy": 2,
"pattern": "/uaa/admin/usermanage/searchUser/**"
}
]
},
{
"apiName": "erp",
"app": "gateway",
"gmtCreate": 1572318799749,
"gmtModified": 1572318799749,
"id": 9,
"ip": "10.67.146.103",
"port": 8719,
"predicateItems": [
{
"matchStrategy": 0,
"pattern": "/uaa/admin/orgRole/pageQueryRoleList"
}
]
}
I am trying to add an api grouping
But id is 1 is not 10
[
{
"apiName": "efwefwef",
"app": "gateway",
"gmtCreate": 1572318899501,
"gmtModified": 1572318899501,
"id": 1,
"ip": "10.67.146.103",
"port": 8719,
"predicateItems": [
{
"matchStrategy": 0,
"pattern": "/ewfwefwef"
}
]
},
{
"apiName": "usersearch",
"app": "gateway",
"gmtCreate": 1572318746623,
"gmtModified": 1572318746623,
"id": 8,
"ip": "10.67.146.103",
"port": 8719,
"predicateItems": [
{
"matchStrategy": 2,
"pattern": "/uaa/admin/usermanage/searchUser/**"
}
]
},
{
"apiName": "erp",
"app": "gateway",
"gmtCreate": 1572318799749,
"gmtModified": 1572318799749,
"id": 9,
"ip": "10.67.146.103",
"port": 8719,
"predicateItems": [
{
"matchStrategy": 0,
"pattern": "/uaa/admin/orgRole/pageQueryRoleList"
}
]
}
]

Closing comment (2019-10-29T11:46:45Z): Related to #777
Repository: alibaba/Sentinel

Issue #1842: Support recording error code as "error" for API gateway circuit breaking
Created: 2020-11-05T07:26:10Z
Issue Description
Type: feature request
Describe what happened (or what feature you want)
gateway flow limit by error code instead of Throwable exception
对于 API gateway 目前不支持针对 4xx、5xx 等状态码记为错误（仅针对抛出异常记录错误）。希望可以针对 5xx 等状态码也记录为错误，这样就可以进行异常熔断降级了。

Duplicate issue #2442: Error circuit breaker does not take effect for Web URLs | Sentinel 控制台配置了异常熔断无效，限流可以
Created: 2021-11-05T06:52:08Z
SpringBoot 版本 2.4.2
SpringCloud 版本 2020.0.3
SpringCloud Alibaba 版本 2021.1
Sentinel 版本 1.8.0

Closing comment (2022-02-17T11:55:08Z): Similar to #1842
目前 Web adapter 侧的“异常”指 controller 里面直接抛出的异常；对于状态码 5xx 等，需要通过一些方式手动标定为异常。

请问两个问题： 1，我在controller中种抛出了异常也没有起到作用 2，针对第三方接口怎么配置熔断

针对第三方接口的熔断降级，你需要使用配置了相关拦截器的httpclient(模块sentinel-apache-httpclient-adapter) 或者okhttp(模块sentinel-okhttp-adapter) 才可以被熔断。或者使用了@SentinelRestTemplate 注解的 RestTemplate  (模块spring-cloud-starter-alibaba-sentinel)
		@Bean
		@SentinelRestTemplate(blockHandlerClass = ExceptionUtil.class,
				blockHandler = "handleException")
		RestTemplate restTemplateWithBlockClass() {
			return new RestTemplate();
		}
参考文档：https://github.com/alibaba/spring-cloud-alibaba/wiki/Sentinel
Repository: alibaba/Sentinel

Issue #66: [Feature] Support setting the universal default rule for all resources
Created: 2018-08-17T02:45:02Z
据了解，目前的规则只能针对某个资源进行设置。希望提供支持全局规则设置，或资源名可通配符表达。
应用场景：所有资源默认错误率达到多少自动降级，有特殊需求的资源另外设置。

Duplicate issue #1391: 是否支持通用资源的熔断规则配置
Created: 2020-04-09T04:01:31Z
目的是用在网关上，目前我们使用了apollo的动态规则配置，配置格式上是每一个资源有他的规则。现在想要是否可以支持通用的熔断规则配置，即配置一个全局的规则，比如连续5笔时间超过20秒就熔断，对于任何一个通过的资源都生效，另外也可以针对某个特定的资源具体配置，像现在一样。因为通过网关的资源会动态增加，每一个资源单独配置人力维护成本太高，希望有一个兜底的通用规则，可以配置的大一些，某些特殊的单独配置。另外看下了一下ApolloDatasource的源码，似乎是规则有变化就会把原来的规则清理掉，再重新加载一遍，本来想自己实现一个逻辑在应用启动的时候初始化所有资源为一个通用规则，但是因为ApolloDatasource的刷新方式，这样实现也不可行了。

Closing comment (2020-04-09T05:37:22Z): Related to #66
Repository: alibaba/Sentinel

Issue #31: [RFC] Add support for asynchronous invocation
Created: 2018-08-03T08:08:43Z
Motivation
The invocation chain (Context) of Sentinel does not work well with asynchronous invocation, leading to incorrect context and response.
Target
Support asynchronous invocation.
Solution

AsyncEntry
Context switching

Duplicate issue #129: Support Spring WebFlux
Created: 2018-09-05T16:23:41Z
Issue Description
feature request
Describe what happened (or what feature you want)
目前似乎是无法做到在WebFLux的情况下做控制的, 以下代码
@Override
public Mono<Void> filter(ServerWebExchange exchange, GatewayFilterChain chain) {
    final Entry entry;

    // 务必保证finally会被执行
    try {
        // 资源名可使用任意有业务语义的字符串
        entry = SphU.entry(config.getBuzName());
        return chain.filter(exchange)
                .doOnSuccessOrError((aVoid, throwable) -> {
                    entry.exit();
                });
    } catch (BlockException blockException) {
        log.error("请求: " + config.getBuzName() + "被流控", blockException);
        return buildErrorResponse(config.getObjectMapper(), exchange, "请求被流控!");
    }
}
会触发The order of entry free is can't be paired with the order of entry 异常
为了绕过这个机制, 用了如下的代码实现
@Override
public Mono<Void> filter(ServerWebExchange exchange, GatewayFilterChain chain) {
    final Entry entry;
    final Context context;
    final ThreadLocal<Context> localContext;
    final Thread thread = Thread.currentThread();


    // 务必保证finally会被执行
    try {
        // 资源名可使用任意有业务语义的字符串
        entry = SphU.entry(config.getBuzName());
        Field field = ContextUtil.class.getDeclaredField("contextHolder");
        field.setAccessible(true);
        //noinspection unchecked
        localContext = (ThreadLocal<Context>) field.get(null);
        context = localContext.get();
        localContext.remove();
        return chain.filter(exchange)
                .doOnSuccessOrError((aVoid, throwable) -> {
                    assert Thread.currentThread() == thread;
                    Context backupContext = localContext.get();
                    localContext.set(context);
                    entry.exit();
                    if (backupContext != null) {
                        localContext.set(backupContext);
                    } else {
                        localContext.remove();
                    }
                });
    } catch (BlockException blockException) {
        log.error("请求: " + config.getBuzName() + "被流控", blockException);
        return buildErrorResponse(config.getObjectMapper(), exchange, "请求被流控!");
    } catch (NoSuchFieldException | IllegalAccessException e) {
        log.error("Read filed contextHolder Error", e);
        return buildErrorResponse(config.getObjectMapper(), exchange, "请求被流控!");
    }
}
Describe what you expected to happen
希望在SphU.entry的时候可以手动传入一个Context
How to reproduce it (as minimally and precisely as possible)
Tell us your environment
jdk: 1.8.0_121
system: osx 10.13.6
sentinel: 0.1.1
Anything else we need to know?

Closing comment (2018-09-06T01:11:56Z): Related to #31.
Repository: alibaba/Sentinel

Issue #622: Pom.xml <parent> The version under the element can be in the form of a placeholder
Created: 2019-03-27T11:44:30Z
Issue Description
Type: bug report or feature request
Describe what happened (or what feature you want)
每次要修改版本号的时候，基本上是每个pom.xml都要修改
Describe what you expected to happen
要修改版本号的时候，希望只需要修改一个地方就好
How to reproduce it (as minimally and precisely as possible)





Tell us your environment
Anything else we need to know?

Duplicate issue #1580: Could you please replace static version with {revision} variable?
Created: 2020-07-02T09:28:44Z
when the version of sentinel modules needs to be updated, we need to modify every pom.xml and then commit these files.
Could you please replace version with {revision} variable so that only one file is required to modify? Thanks very much.

Closing comment (2020-07-02T15:40:46Z): Thanks for suggestion and link of maven official document.
May related to #622
There was a PR(#632) before which is to enhance this, but it has some conflicts and has been closed by author.
Would you like to make a contribution on it?
Repository: amqp-node/amqplib

Issue #265: Allow overriding Promise library
Created: 2016-08-13T20:26:32Z
Currently the when Promise library is hardcoded. A useful feature might be to allow overriding this when requiring, in case the implementer has a preference for another promise library.
For example, the pg-promise library achieves this with the pattern: require('pg-promise')({promiseLib: require('bluebird')})

Duplicate issue #505: Switch to native promises?
Created: 2019-04-14T15:29:10Z
Why does this lib still use bluebird? Current promise implementation is well optimized and fast, there are no reasons to use alternative promise implementations now.

Closing comment (2019-04-14T18:29:06Z): Because it supports very early versions of Node. (Duplicate of #265). Also see #463
Repository: amqp-node/amqplib

Issue #163: Connection recovery
Created: 2015-06-23T17:52:20Z
It would be nice to have a reconnect options.
Looks like there is a Java implementation for that feature https://www.rabbitmq.com/api-guide.html#recovery

Duplicate issue #632: write ECONNRESET
Created: 2021-06-11T14:35:21Z
write ECONNRESET，This problem is often encountered when the network environment is unstable，Use amqp-connection-manager to automatically reconnect

Closing comment (2021-06-12T14:13:31Z): Hi @einsqing,
Thanks for your suggestion. Similar requests have already been made so I'm closing as a duplicate.

#163
#25
Repository: amqp-node/amqplib

Issue #402: #connect callback invoked twice on authentication failure
Created: 2018-01-24T00:47:59Z
I'm testing some error cases, specifically authentication failures. I've noticed that my #connect callback will be invoked twice: once for the authentication failure, then, roughly a second later, another invocation for the socket being forcibly closed. Is this the expected behavior?
For reference, the first error is:
Error: Handshake terminated by server: 403 (ACCESS-REFUSED) with message "ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile."

The second error is:
Error: Socket closed abruptly during opening handshake

And my test code is:
var fired = 1;

amqp.connect(url, function(error, connection) {
    if (fired === 1) {
        fired += 1;
        console.log(error);
        callback(error, connection);
    }
    else {
        console.log(error);
        console.log(`callback invoked ${fired} times`)
    }
});
I'm using node 8.2.1 and amqplib 0.5.2.
Thanks for any clarification on this.

Duplicate issue #354: connect() calls its own callback multiple times upon error
Created: 2017-05-24T17:18:07Z
Hello.
If I try to connect to a queue using invalid credentials, such as this:
amqp.connect(config.endpoints.textQueue + '?heartbeat=30', (err, conn) => {
    if (err) {
        return callback(`Unable to connect to rabbitMQ (${url.parse(config.endpoints.textQueue).host}), is there a connection? Aborting: ${err}`);
    }
(...)
}

The callback is called two times with an err parameter. First one that gives me access denied, and then one with a socket close.
This obviously causes my code to throw an exception due to the callback already having been called.
Is this working as intended?
First callback:
Handshake terminated by server: 403 (ACCESS-REFUSED) with message \"ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.\"
Second:
Socket closed abruptly during opening handshake
Thank you in advance.

Closing comment (2022-05-08T21:48:53Z): Duplicate of #402
Repository: amqp-node/amqplib

Issue #149: How to get error code in channel.on('error') ?
Created: 2015-04-16T19:37:21Z
I need to react to specific errors. I could parse error text, but I wonder if it is possible to read code (i.e. 404, 405, etc)

Duplicate issue #110: Error event is emitted due to normal connection close from RabbitMQ side
Created: 2014-10-31T22:22:18Z
Hi there,
I was verifying how service behaves when RabbitMQ gets restarted, etc. and I've got the following:
Error: Connection closed: 320 (CONNECTION-FORCED) with message "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
    at Object.accept (../node_modules/amqplib/lib/connection.js:89:32)
    at Connection.mainAccept [as accept] (../node_modules/amqplib/lib/connection.js:62:33)
    at Socket.go (../node_modules/amqplib/lib/connection.js:459:48)
    at Socket.emit (events.js:92:17)
    at emitReadable_ (_stream_readable.js:426:10)
    at emitReadable (_stream_readable.js:422:5)
    at readableAddChunk (_stream_readable.js:165:9)
    at Socket.Readable.push (_stream_readable.js:127:10)
    at TCP.onread (net.js:528:21)

It was absolutely usual RabbitMQ restart procedure and service crashed because it was expecting to get close event, but not error.
In my opinion there should be no error event when library gets 320 code from RabbitMQ. Even though it's called CONNECTION-FORCED, there is nothing wrong happened.

Closing comment (2015-08-04T06:18:17Z): I think it is related to: #149
Repository: amqp-node/amqplib

Issue #25: Support Auto-reconnection
Created: 2013-10-02T21:29:27Z
At the moment, when a socket closes it's basically permanent. All kinds of methods are replaced in favor of functions which only throw and there's no reconnect support.
Even in a data center, connections can fail or time out, and reconnection would allow the connection to fail and recover from the failure, instead of simply giving up.
This might need to happen at the connect.js level given the current setup, but that would put messages that have been sent but not acked into an uncertain place where it's unclear if the message has reached the server or just fallen. I know from experience that trying to get reconnection to work well can be tricky. For a counterexample, see node-amqp's reconnection, which appears to leak everywhere.

Duplicate issue #163: Connection recovery
Created: 2015-06-23T17:52:20Z
It would be nice to have a reconnect options.
Looks like there is a Java implementation for that feature https://www.rabbitmq.com/api-guide.html#recovery

Closing comment (2022-05-05T18:30:24Z): Duplicate of #25
Repository: amqp-node/amqplib

Issue #677: Security vulnerability in url-parse, please update module to version >=1.5.8
Created: 2022-03-28T15:54:19Z
GHSA-hgjh-723h-mx2j

Duplicate issue #670: Security vulnerability in url-parse, please update module to version >=1.5.6 
Created: 2022-02-18T08:15:18Z
link to github advisory for url-parse vulnerability : GHSA-rqff-837h-mm52

Closing comment (2022-05-05T10:01:32Z): Duplicate of #677
Repository: amqp-node/amqplib

Issue #354: connect() calls its own callback multiple times upon error
Created: 2017-05-24T17:18:07Z
Hello.
If I try to connect to a queue using invalid credentials, such as this:
amqp.connect(config.endpoints.textQueue + '?heartbeat=30', (err, conn) => {
    if (err) {
        return callback(`Unable to connect to rabbitMQ (${url.parse(config.endpoints.textQueue).host}), is there a connection? Aborting: ${err}`);
    }
(...)
}

The callback is called two times with an err parameter. First one that gives me access denied, and then one with a socket close.
This obviously causes my code to throw an exception due to the callback already having been called.
Is this working as intended?
First callback:
Handshake terminated by server: 403 (ACCESS-REFUSED) with message \"ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.\"
Second:
Socket closed abruptly during opening handshake
Thank you in advance.

Duplicate issue #263: amqp.connect calls error callback twice when bad credentials are given
Created: 2016-07-29T21:29:05Z
I'm using version 0.4.2 of the library and I'm having some issues during connection. The callback seems to be called twice with errors, when given this (invalid) url.
var amqp = require('amqplib/callback_api');

var amqpUrl = "amqp://username:password@white-swan.rmq.cloudamqp.com";

var counter = 0;

function output(err) {
    console.log('Error: ' + JSON.stringify(err));
    console.log(++counter);
}

amqp.connect(amqpUrl, {}, function(err, conn) {
    if (err) {
        return output(err);
    }
    console.log("No error");
});

Closing comment (2022-05-05T16:42:34Z): Duplicate of #354
Repository: amqp-node/amqplib

Issue #266: Unhandled "error" event
Created: 2016-08-18T13:19:52Z
I sometimes run into the following error:
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: write ECONNRESET
    at exports._errnoException (util.js:1012:11)
    at Socket._writeGeneric (net.js:705:26)
    at Socket._write (net.js:724:8)
    at doWrite (_stream_writable.js:307:12)
    at writeOrBuffer (_stream_writable.js:293:5)
    at Socket.Writable.write (_stream_writable.js:220:11)
    at Socket.write (net.js:650:40)
    at roundrobin (C:\foo\node_modules\amqplib\lib\mux.js:65:27)
    at Mux._readIncoming (C:\foo\node_modules\amqplib\lib\mux.js:82:3)
    at Immediate.<anonymous> (C:\foo\node_modules\amqplib\lib\mux.js:112:12)
    at runCallback (timers.js:570:20)
    at tryOnImmediate (timers.js:550:5)
    at processImmediate [as _immediateCallback] (timers.js:529:5)

How can I handle this event? Where should I attach the event listener?

Duplicate issue #282: Trying to Channel#get on a non-existing queue takes down entire process
Created: 2016-09-22T10:38:09Z
The following minimal example will crash the process with unhandled 'error' event instead of rejecting the promise returned from Channel#get.
const amqp = require('amqplib')
const open = amqp.connect('amqp://localhost')

open.then(connection => {
  return connection.createChannel()
}).then(channel => {
  return channel.get('there-is-no-queue-with-this-name')
}).then(
  () => console.log('Did not get any error'),
  () => console.log('Got an error')
)

Closing comment (2016-10-19T15:41:27Z): I think this is a dupe of #266 .
EDIT: Creator of the other issue feels the behaviour itself is fine and was just wondering about how to catch the error. I retract my claim. For those interested I did post something on #266 that can help you deal with this issue.
Repository: amqp-node/amqplib

Issue #677: Security vulnerability in url-parse, please update module to version >=1.5.8
Created: 2022-03-28T15:54:19Z
GHSA-hgjh-723h-mx2j

Duplicate issue #625: npm audit is reporting a high severity issue for amqplib dependency
Created: 2021-05-07T00:22:27Z
amqplib is dependent on url-parse, which has a high vulnerability in it.
https://www.npmjs.com/advisories/1678

Closing comment (2022-05-05T10:01:13Z): Duplicate of #677
Repository: anandnet/Harmony-Music

Issue #292: YouTube Licensing Debauchal
Created: 2024-09-30T01:59:34Z
This is not a bug in the app, but in YouTube itself.
YouTube just removed thousands of songs on its US site from hundreds of artists including quite popular ones like Smells Like Teen Spirit by Nirvana. This happened because YouTube's deal with SESAC, a music licensing company, expired before they renewed it properly.
The repercussions for us are that anytime we search a song in Harmony Music that has been removed from YouTube, a blank search screen is shown.
One workaround that I have successfully used is a VPN. If I connect to a VPN like Proton and connect to a non-US server, everything works properly.
Hopefully YouTube will resolve this issue VERY soon because it's a MAJOR blow to their business.

Duplicate issue #291: Song is not playable due to server restriction!
Created: 2024-09-29T09:51:22Z
songs not playing when using vpn in previous version this issue didn't occur

Closing comment (2024-09-30T02:57:55Z): I suspect this could be related to #292.
Repository: anandnet/Harmony-Music

Issue #410: It's back: "Song is not playable due to server restriction!"
Created: 2025-01-22T03:11:27Z
Describe the bug
In the latest v1.10.4, any time a song is selected to play, the toast message "Song is not playable due to server restriction!" appears. Additionally, when attempting to download any song, "Requested song is not downloadable due to server restriction. You may try again." appears.
To Reproduce
Steps to reproduce the behavior:

Tap on a song, queue one up, or try to download one
See error

Expected behavior
Song plays or downloads.
Smartphone (please complete the following information):

Device: Samsung s10e
OS: Android 12
Battery optimization is IGNORED for the app.
Harmony Music v1.10.4

Duplicate issue #414: The server restriction thing
Created: 2025-01-23T01:34:43Z
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):

Device: [e.g. Samsung s20]
OS: [e.g. Android 10]

Additional context
Add any other context about the problem here.

Closing comment (2025-01-23T20:10:43Z): Fixed in v1.11.0, duplicate of #410.
Repository: anandnet/Harmony-Music

Issue #295: Song is not playable due to server restriction!
Created: 2024-10-07T01:56:58Z
Describe the bug
Songs are not playing due to server restrictions. This happens with all songs, both with age restrictions and without.
To Reproduce
Steps to reproduce the behavior:

Try to play the song.
See error

Expected behavior
The song is playing.
Screenshots

  Screenshot and recording


  
    
    

    screen-20241007-114435.2.mp4
    
  

  

  



Smartphone (please complete the following information):

Device: Google Pixel 7
OS: Android 14

Additional context
This happens with all forks of ViMusic. I tried changing the streaming quality, change/disable VPN, but nothing worked.

Duplicate issue #305: No se descargar las canciones
Created: 2024-10-12T00:05:32Z
Describe the bug
A clear and concise description of what th no se descarga la canciones me dice: no se descarga por problema de servidor
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem

.
Smartphone (please complete the following information):

Device: [e.g. Samsung s20]
OS: [e.g. Android 10]

Additional context
Add any other context about the problem here.

Closing comment (2024-10-12T02:39:15Z): Duplicate of #295
Repository: anandnet/Harmony-Music

Issue #410: It's back: "Song is not playable due to server restriction!"
Created: 2025-01-22T03:11:27Z
Describe the bug
In the latest v1.10.4, any time a song is selected to play, the toast message "Song is not playable due to server restriction!" appears. Additionally, when attempting to download any song, "Requested song is not downloadable due to server restriction. You may try again." appears.
To Reproduce
Steps to reproduce the behavior:

Tap on a song, queue one up, or try to download one
See error

Expected behavior
Song plays or downloads.
Smartphone (please complete the following information):

Device: Samsung s10e
OS: Android 12
Battery optimization is IGNORED for the app.
Harmony Music v1.10.4

Duplicate issue #418: Please fix Server's restrictions 
Created: 2025-01-23T13:35:04Z
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):

Device: [e.g. Samsung s20]
OS: [e.g. Android 10]

Additional context
Add any other context about the problem here.

Closing comment (2025-01-23T20:12:20Z): Fixed in v1.11.0, duplicate of #410.